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.002040
First Submitted: 2010-10-17 12:05 (UTC)
Last Updated: 2020-09-08 01:18 (UTC)

Latest Comments

1 2 3 Next › Last »

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?