Package Details: mediastreamer-git 4.5.0.alpha.r20.g14b66674-1

Git Clone URL: https://aur.archlinux.org/mediastreamer-git.git (read-only, click to copy)
Package Base: mediastreamer-git
Description: A modular sound and video processing and streaming library
Upstream URL: https://github.com/BelledonneCommunications/mediastreamer2
Licenses: GPL
Conflicts: mediastreamer
Provides: mediastreamer
Submitter: vnoel
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 11
Popularity: 0.033121
First Submitted: 2010-10-17 12:05 (UTC)
Last Updated: 2020-09-08 01:18 (UTC)

Latest Comments

aquilarubra commented on 2021-09-02 19:29 (UTC)

Build fails: mediastreamer2/include/mediastreamer2/msrtp.h:28:70: error: unknown type name ‘rtp_audio_level_t’

smeuser commented on 2021-07-16 10:41 (UTC) (edited on 2021-07-16 10:43 (UTC) by smeuser)

i have pretty much the same problem like the user in the previous comment


[ 94%] Linking CXX executable msaudiocmp
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [tools/CMakeFiles/ring.dir/build.make:119: tools/ring] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:404: tools/CMakeFiles/ring.dir/all] Fehler 2
make[1]: *** Es wird auf noch nicht beendete Prozesse gewartet....
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [tools/CMakeFiles/bench.dir/build.make:119: tools/bench] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:378: tools/CMakeFiles/bench.dir/all] Fehler 2
collect2: Fehler: ld gab 1 als Ende-Status zurück
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
make[2]: *** [tools/CMakeFiles/mkvstream.dir/build.make:119: tools/mkvstream] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:560: tools/CMakeFiles/mkvstream.dir/all] Fehler 2
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [tools/CMakeFiles/tones.dir/build.make:119: tools/tones] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:456: tools/CMakeFiles/tones.dir/all] Fehler 2
collect2: Fehler: ld gab 1 als Ende-Status zurück
collect2: Fehler: ld gab 1 als Ende-Status zurück
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
make[2]: *** [tools/CMakeFiles/mtudiscover.dir/build.make:119: tools/mtudiscover] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:430: tools/CMakeFiles/mtudiscover.dir/all] Fehler 2
make[2]: *** [tools/CMakeFiles/msaudiocmp.dir/build.make:119: tools/msaudiocmp] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:612: tools/CMakeFiles/msaudiocmp.dir/all] Fehler 2
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [tools/CMakeFiles/mediastream.dir/build.make:135: tools/mediastream] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:534: tools/CMakeFiles/mediastream.dir/all] Fehler 2
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [tools/CMakeFiles/ms-echo.dir/build.make:119: tools/ms-echo] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:508: tools/CMakeFiles/ms-echo.dir/all] Fehler 2
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[2]: *** [tools/CMakeFiles/videodisplay.dir/build.make:119: tools/videodisplay] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:482: tools/CMakeFiles/videodisplay.dir/all] Fehler 2
make: *** [Makefile:136: all] Fehler 2
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...

reclusivesage commented on 2021-07-13 05:30 (UTC) (edited on 2021-07-13 05:32 (UTC) by reclusivesage)

After I realized this package is required for liblinphone-git, I installed: bcmatroska2-git, bcg729-git, ortp-git, and bzrtp-git. (I should also have libsrtp installed.)

However, I received several "undefined reference to 'srtp_add_or_update_stream'" errors when almost finishing the installation, which also involve msaudiocmp:

[ 98%] Building C object tools/CMakeFiles/msaudiocmp.dir/msaudiocmp.c.o
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
[ 99%] Linking CXX executable msaudiocmp
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/ring.dir/build.make:119: tools/ring] Error 1
make[1]: *** [CMakeFiles/Makefile2:404: tools/CMakeFiles/ring.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/videodisplay.dir/build.make:119: tools/videodisplay] Error 1
make[1]: *** [CMakeFiles/Makefile2:482: tools/CMakeFiles/videodisplay.dir/all] Error 2
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/mtudiscover.dir/build.make:119: tools/mtudiscover] Error 1
make[1]: *** [CMakeFiles/Makefile2:430: tools/CMakeFiles/mtudiscover.dir/all] Error 2
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/tones.dir/build.make:119: tools/tones] Error 1
make[1]: *** [CMakeFiles/Makefile2:456: tools/CMakeFiles/tones.dir/all] Error 2
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/mkvstream.dir/build.make:119: tools/mkvstream] Error 1
make[1]: *** [CMakeFiles/Makefile2:560: tools/CMakeFiles/mkvstream.dir/all] Error 2
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/ms-echo.dir/build.make:119: tools/ms-echo] Error 1
make[1]: *** [CMakeFiles/Makefile2:508: tools/CMakeFiles/ms-echo.dir/all] Error 2
[100%] Linking CXX executable mediastream
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/bench.dir/build.make:119: tools/bench] Error 1
make[1]: *** [CMakeFiles/Makefile2:378: tools/CMakeFiles/bench.dir/all] Error 2
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/msaudiocmp.dir/build.make:119: tools/msaudiocmp] Error 1
make[1]: *** [CMakeFiles/Makefile2:612: tools/CMakeFiles/msaudiocmp.dir/all] Error 2
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `srtp_add_or_update_stream'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/mediastream.dir/build.make:135: tools/mediastream] Error 1
make[1]: *** [CMakeFiles/Makefile2:534: tools/CMakeFiles/mediastream.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Manifest0 commented on 2020-11-22 21:48 (UTC)

The error is fixed after we update the ortp-git package

Manifest0 commented on 2020-09-19 15:17 (UTC)

I have the same error as jose1711

jose1711 commented on 2020-09-12 07:48 (UTC)

not compiling here:

/home/jose/.cache/yay/mediastreamer-git/src/mediastreamer2/src/voip/turn_tcp.cpp: In member function ‘int ms2::turn::TurnSocket::connect()’:
/home/jose/.cache/yay/mediastreamer-git/src/mediastreamer2/src/voip/turn_tcp.cpp:424:2: error: ‘set_blocking_socket’ was not declared in this scope; did you mean ‘set_non_blocking_socket’?
  424 |  set_blocking_socket(mSocket);
      |  ^~~~~~~~~~~~~~~~~~~
      |  set_non_blocking_socket
make[2]: *** [src/CMakeFiles/mediastreamer.dir/build.make:1486: src/CMakeFiles/mediastreamer.dir/voip/turn_tcp.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:277: src/CMakeFiles/mediastreamer.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

thrasibule commented on 2020-03-30 13:15 (UTC)

You need to install ortp-git.

jaro3 commented on 2020-03-28 14:15 (UTC)

doesn't compile:

/usr/src/tmp/mediastreamer-git/src/mediastreamer2/src/voip/mediastream.c: In function ‘media_stream_set_ice_check_list’: /usr/src/tmp/mediastreamer-git/src/mediastreamer2/src/voip/mediastream.c:283:34: error: ‘RtpSession’ {aka ‘struct _RtpSession’} has no member named ‘bundle’ 283 | if (stream->sessions.rtp_session->bundle && !stream->sessions.rtp_session->is_primary){ | ^~ /usr/src/tmp/mediastreamer-git/src/mediastreamer2/src/voip/mediastream.c:283:75: error: ‘RtpSession’ {aka ‘struct _RtpSession’} has no member named ‘is_primary’ 283 | if (stream->sessions.rtp_session->bundle && !stream->sessions.rtp_session->is_primary){ | ^~ make[2]: [src/CMakeFiles/mediastreamer.dir/build.make:769: src/CMakeFiles/mediastreamer.dir/voip/mediastream.c.o] Error 1 make[2]: Waiting for unfinished jobs.... [ 8%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/gsm.c.o /usr/src/tmp/mediastreamer-git/src/mediastreamer2/src/audiofilters/pulseaudio.c: In function ‘pulse_card_merge_lists’: /usr/src/tmp/mediastreamer-git/src/mediastreamer2/src/audiofilters/pulseaudio.c:240:3: warning: ‘strncpy’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 240 | strncpy(pa_device->source_name,sourceCard_data->name, PA_STRING_SIZE -1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/tmp/mediastreamer-git/src/mediastreamer2' make[1]: [CMakeFiles/Makefile2:329: src/CMakeFiles/mediastreamer.dir/all] Error 2 make[1]: Leaving directory '/usr/src/tmp/mediastreamer-git/src/mediastreamer2' make: [Makefile:147: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build mediastreamer-git.

frealgagu commented on 2018-04-24 13:53 (UTC) (edited on 2018-04-24 13:54 (UTC) by frealgagu)

A new tag has been added to mediastreamer-git which contains the prefix "linphone-iphone-"

However previously the tags did not have that prefix and they were released as follow:

2.7.0

2.7.3

2.8.0

...

...

2.15.1

2.16.0

2.16.1

linphone-iphone-3.16.5

Could you please remove this part of the tag changing the pkgver function?

you can achieve that easily by replacing your pkgver function with:

pkgver() {
    cd "${srcdir}/${_pkgname}"
    git describe --long --tags | sed 's/^[a-Z\.\-]*//;s/\([^-]*-\)g/r\1/;s/-/./g'
}

Thanks in advance.

frealgagu commented on 2018-04-11 14:59 (UTC) (edited on 2018-04-11 15:01 (UTC) by frealgagu)

I'm getting the following:

[ 70%] Building C object src/CMakeFiles/mediastreamer_voip.dir/voip/videostream.c.o /home/frealgagu/.cache/aurman/mediastreamer-git/src/mediastreamer2/src/voip/videostream.c: In function ‘video_preview_start’: /home/frealgagu/.cache/aurman/mediastreamer-git/src/mediastreamer2/src/voip/videostream.c:1634:2: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] MSPixFmt format = MS_YUV420P; / Display format / ^~~~~~~~ cc1: all warnings being treated as errors make[2]: [src/CMakeFiles/mediastreamer_voip.dir/build.make:1743: src/CMakeFiles/mediastreamer_voip.dir/voip/videostream.c.o] Error 1 make[1]: [CMakeFiles/Makefile2:202: src/CMakeFiles/mediastreamer_voip.dir/all] Error 2 make: *** [Makefile:152: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

What could have changed?

thrasibule commented on 2018-01-23 14:53 (UTC)

@CircleCode, thanks, just fixed it.

CircleCode commented on 2018-01-23 09:10 (UTC)

@thrasibule either your package should should require bcmatroska2-git(1) or bcmatroska2-git(1) should implement bcmatroska-git

IncredibleLaser commented on 2017-10-14 08:57 (UTC)

@thrasibule Sure! Added you. Sorry, I think I'll orphan those the next days. I'm not using linphone anymore.

thrasibule commented on 2017-10-05 13:29 (UTC)

Can you orphan or add me as a co-maintainer? The dependencies are wrong (you're not using cmake) and the PKGBUILD is out of date.

thrasibule commented on 2017-07-08 19:29 (UTC) (edited on 2017-07-08 19:30 (UTC) by thrasibule)

I've updated the PKBUILD to use cmake, which is now the build method preferred by upstream: https://gist.github.com/thrasibule/0683a150eced1ec74c3745eeebe3966e

lenzenmi commented on 2016-02-26 08:30 (UTC)

Needs the new library bctoolbox to compile. Here's a sample PKGBUILD, It probably makes more sense for you to maintain it than I, as you already maintain all of the other dependencies for linphone-git https://gist.github.com/lenzenmi/07ad74d20cdcd8c38205

oliver_aur commented on 2016-02-08 00:20 (UTC)

I think you need to add glew as a dependency checking for GLEW... no configure: error: Package requirements (glew >= 1.5) were not met: No package 'glew' found

vnoel commented on 2013-01-08 11:38 (UTC)

Yes, I guess you are right, I will fix that, thanks :)

student975 commented on 2013-01-08 11:00 (UTC)

I guess, the package must also conflict with 'mediastreamer' rather provide only. ATM I have got file system confict: Targets (1): mediastreamer-git-20130108-1 Total Installed Size: 0.79 MiB Proceed with installation? [Y/n] (1/1) checking package integrity [############################################################################] 100% (1/1) loading package files [############################################################################] 100% (1/1) checking for file conflicts [############################################################################] 100% error: failed to commit transaction (conflicting files) mediastreamer-git: /usr/bin/mediastream exists in filesystem mediastreamer-git: /usr/include/mediastreamer2/allfilters.h exists in filesystem

vnoel commented on 2011-12-07 14:26 (UTC)

Hi, Thank you for the suggestion, I will add it to the makedepends :)

commented on 2011-12-06 23:23 (UTC)

I was having this problem compiling this package for the longest time in order to get linphone-git working: https://bbs.archlinux.org/viewtopic.php?id=131455 perhaps intltool should be listed as a dependency for noobs like me? just a suggestion...

CPUnltd commented on 2011-01-22 02:07 (UTC)

/tmp/packerbuild-0/mediastreamer-git/mediastreamer-git/PKGBUILD: line 35: ./autogen.sh: Permission denied built this as root and still got this message... built fine on my desktop though... not sure what's up...

commented on 2010-10-17 15:14 (UTC)

@vnoel - I am surprised of that, how do you handle the replacement of one package with two if conflicts conflicts with provides?! I would have to look it up. Good question! Perhaps, by providing the current specific version of linphone to the conflicts array in linphone-git. Just guessing though. I seem to remember a while back I made myself a git package that built libosip2, libeXosip2, and linphone or something to that effect into one package. Maybe instead of having to build so many darn packages separately you could combine them into one. Just a thought though.

commented on 2010-10-17 15:02 (UTC)

Sorry forgot to mention that other than that everything compiles well.

vnoel commented on 2010-10-17 15:01 (UTC)

Yes, I just saw that, sorry :) I am surprised of that, how do you handle the replacement of one package with two if conflicts conflicts with provides?! Anyway, fixed!

commented on 2010-10-17 15:01 (UTC)

@vnoel - Remove the "conflicts with linphone"! Since you set linphone-git to provide "linphone" you get a conflict error when installing. I removed "linphone" from the conflicts array and all is well again.

commented on 2010-10-17 15:00 (UTC)

@vnoel - Remove the "conflicts with linphone"! Since you set linphone-git to provide "linphone" you get a conflict error when installing. I removed "linphone" from the conflicts array and all is well again.

vnoel commented on 2010-10-17 14:48 (UTC)

Thanks :) I was misinformed by namcap! I hope this is the only problem. I also added conflicts with linphone which normally include mediastreamer inside its package.

commented on 2010-10-17 14:31 (UTC)

@vnoel - You need to add "speex" to the Dependency list. checking for SPEEX... no checking for SPEEX... no configure: error: Package requirements (speex >= 1.2beta3) were not met: No package 'speex' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables SPEEX_CFLAGS and SPEEX_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. Aborting...