mpromonet / webrtc-streamer

WebRTC streamer for V4L2 capture devices, RTSP sources and Screen Capture
https://webrtcstreamer.agreeabletree-365b9a90.canadacentral.azurecontainerapps.io/?layout=2x2
The Unlicense
2.9k stars 593 forks source link

support WHIP protocol #485

Closed jonassmedegaard closed 2 years ago

jonassmedegaard commented 2 years ago

This project seems a good candidate for embracing the new WebRTC-based streaming protocol WHIP.

The author of janus can introduce it much better than I can: https://www.meetecho.com/blog/whip-janus-part-ii/

mpromonet commented 2 years ago

Hi @jonassmedegaard

Maybe, you may submit a PR to implement it.

Best Regards, MicheL

jonassmedegaard commented 2 years ago

Thanks, but I lack the skills to mess in C++. Just stumbled upon this project and wanted to make you aware in case you (or others reading this - and grokking C++) might find it as interesting as I do.

mpromonet commented 2 years ago

Hi,

Thanks for the sharing, it seems quite close to the /api/call approach that receive an SDP offer and answer with an SDP answer. Another possible interoperability is xmpp or others...

Best Regards, Michel.

mpromonet commented 2 years ago

Hi Jonas,

I dig a bit more in whip, and it does not seems to be interesting. This project is, mainly, publishing webrtc stream. WHIP is for webrtc ingestion, I made some tries in https://github.com/mpromonet/webrtc-streamer/tree/whip, I will probably merge it but for now incoming webrtc stream are not used.

Best Regards, Michel.

mpromonet commented 1 year ago

Hi,

Digging a bit more in this protocol, it is not really interesting it is about injection, then I change the code to support WHEP that is about streaming.

I made a small test with https://github.com/mpromonet/webrtc-streamer-whep that use this api through the component https://github.com/Eyevinn/whep-video-component.

There is a live demo https://webrtc-streamer-whep.pages.dev/

Best Regards, Michel.