Package Details: mediastreamer 5.3.5-1

Git Clone URL: https://aur.archlinux.org/mediastreamer.git (read-only, click to copy)
Package Base: mediastreamer
Description: A library written in C that allows you to create and run audio and video streams
Upstream URL: https://gitlab.linphone.org/
Licenses: AGPL3
Submitter: arojas
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 2
Popularity: 0.000395
First Submitted: 2022-11-05 08:54 (UTC)
Last Updated: 2024-01-02 19:45 (UTC)

Latest Comments

thrasibule commented on 2024-01-07 11:57 (UTC)

It builds, you need to remove ffmpeg temporarily. (You can install it back after building mediastreamer). I need to fix the CMake file to not look for ffmpeg first.

jghodd commented on 2024-01-07 01:54 (UTC)

So...apparently nobody cares that this won't build. Why even have it in the AUR then?

jghodd commented on 2024-01-04 05:04 (UTC)

Getting the same build error as @dreieck - conflicting types for ‘avcodec_alloc_context3’; have ‘AVCodecContext (AVCodec )’

dreieck commented on 2023-12-22 16:16 (UTC)

Build fails for me with mediastreamer2-5.3.1/src/utils/ffmpeg-priv.h:121:17: error: conflicting types for ‘avcodec_alloc_context3’; have ‘AVCodecContext *(AVCodec *)’:

[ 55%] Building C object src/CMakeFiles/mediastreamer2.dir/voip/msvideo.c.o
In file included from /tmp/makepkg/build/mediastreamer/src/mediastreamer2-5.3.1/src/voip/msvideo.c:25:
/tmp/makepkg/build/mediastreamer/src/mediastreamer2-5.3.1/src/utils/ffmpeg-priv.h:121:17: error: conflicting types for ‘avcodec_alloc_context3’; have ‘AVCodecContext *(AVCodec *)’
  121 | AVCodecContext *avcodec_alloc_context3(AVCodec *codec);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/makepkg/build/mediastreamer/src/mediastreamer2-5.3.1/src/utils/ffmpeg-priv.h:51:
/usr/include/libavcodec/avcodec.h:2306:17: note: previous declaration of ‘avcodec_alloc_context3’ with type ‘AVCodecContext *(const AVCodec *)’
 2306 | AVCodecContext *avcodec_alloc_context3(const AVCodec *codec);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/mediastreamer2.dir/build.make:1266: src/CMakeFiles/mediastreamer2.dir/voip/msvideo.c.o] Error 1

(pkgver=5.3.1)

Regards!

dreieck commented on 2023-12-22 14:20 (UTC)

Can yoi please add provides=("mediastreamer2=${pkgver}"), conflicts=("mediastreamer2")?

Upstream name is still "mediastreamer2" and there are packages that depend on it.

Regards and thanks for maintaining!

schmunk commented on 2022-12-13 16:16 (UTC)

I had bctoolbox-git 5.2.0.alpha.r0.gd92d04f-1.

A rebuild (via pamac UI) said it would be downgraded to bctoolbox-git 4.5.0.alpha.r54.gab40b02-1.

But actually it was updated to bctoolbox-git 5.3.0.alpha.r1.gabd8da3-1.

Anyways now mediastreamer builds. Thank you.

thrasibule commented on 2022-12-13 15:51 (UTC)

Which version of bctoolbox do you have? You need to rebuild it.

schmunk commented on 2022-12-13 12:04 (UTC) (edited on 2022-12-13 12:06 (UTC) by schmunk)

I am getting this error when trying to update 1 aur/mediastreamer 5.1.67-1 -> 5.1.71-1

[ 86%] Linking CXX executable bench
/usr/bin/ld: warning: libmbedtls.so.13, needed by /usr/lib/libbctoolbox.so.1, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_config_free'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_set_timer_cb'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_conf_transport'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_set_hostname'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_free'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_session_reset'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_close_notify'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_get_ciphersuite_id'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_conf_cert_profile'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_write'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_get_peer_cert'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_config_init'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_conf_endpoint'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_set_hs_own_cert'
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `bctbx_is_matching_regex_log'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_send_alert_message'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_config_defaults'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_conf_authmode'
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `bctbx_file_write2'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_setup'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_set_bio'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_conf_verify'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_conf_rng'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_conf_own_cert'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_conf_ciphersuites'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_read'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_init'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_get_ciphersuite'
/usr/bin/ld: ../src/libmediastreamer.so.11: undefined reference to `bctbx_file_read2'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_get_version'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_conf_ca_chain'
/usr/bin/ld: /usr/lib/libbctoolbox.so.1: undefined reference to `mbedtls_ssl_handshake_step'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/bench.dir/build.make:119: tools/bench] Error 1
make[1]: *** [CMakeFiles/Makefile2:434: tools/CMakeFiles/bench.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: mediastreamer

I have mbedtls 2.28.1-1 installed.