Homebrew / homebrew-core

🍻 Default formulae for the missing package manager for macOS (or Linux)
https://brew.sh
BSD 2-Clause "Simplified" License
13.75k stars 12.44k forks source link

srtp not built as part of gstreamer-plugins-bad package, missing dependency on srtp #31426

Closed drott closed 6 years ago

drott commented 6 years ago

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

I am trying to run webrtc examples on gstreamer with the scripts from https://github.com/centricular/gstwebrtc-demos

There are a couple of obstacles on the way to getting gstreamer-webrtc working correctly on Mac, one of them is that the srtp plugin is not built due to libsrtp / srtp package not being a dependency of gstreamer-plugins-bad. I suggest to add it, at least as an optional dependency.

gstreamer webrtc connection cannot be established due to missing plugin srtp.

webrtc connection to be established.

brew install brew gst-plugins-bad => fails

brew edit gst-plugins-bad Add depends_on "srtp" => :optional

Rebuild with brew reinstall --debug --verbose --build-from-source --with-srtp --with-gnutls gst-plugins-bad

Profit! As the plugin is now there.

DomT4 commented 6 years ago

We'll consider a PR, if you wish to submit one.