Sourcing Browser Video/Audio into Membrane Pipeline

Hey,

  1. What are the options available for sourcing audio/video from a browser into a membrane pipeline?

  2. I assume webrtc will be one of the options. I can’t find how to map the pure ex_webrtc examples to the membrane_webrtc_plugin

Check out Boombox which has a lot of this already integrated - they’ve got multiple examples that stream to and/or from WebRTC.

Thanks @al2o3cr. I can see examples of the WebRTC elements in use there.

I’m still curious though if WebRTC is the only way to get input through the browser, particularly in the case where no p2p comm is necessary.

Technically there is MediaRecorder and maybe other APIs, but it’s hard to achieve something reliable and compatible that way (generally, OFC depends on the use case). Even though WebRTC is designed as P2P, most use cases involve a server.

WebRTC it is then. Thanks