My use case in this case would be for receiving (video-audio) WebRTC.
Previously, I was getting an error message stating that WebRTC was not supported in the Web Browser package using Chromium. However, after testing again, it was indeed able to receive a WebRTC stream. However, as you mentioned, there is no hardware acceleration when decoding the received video data, resulting in many dropped frames, but with very low latency (~200ms)
.
The network environment where I’m trying to implement this is a bit old and with very little flexibility for changes (firewall, port, etc.), so WebRTC provides the ease and flexibility I need (and my users too).
There’s a project that integrates WebRTC very well with the Raspberry Pi (https://github.com/steveseguin/raspberry_ninja) to perform a WebRTC transmission, but in this case, as in almost all others, it uses gstreamer, but the decoding is done by the Chromium browser, as I understand it.
With RTSP, video works relatively well, with low latency (with the libav fflags:flush_packets+nobuffer option), but audio often fails occasionally. Packet loss is a problem in the network environment where I use it, so it improves by using the TCP protocol instead of UDP (rtsp_transport:tcp).
I haven’t tried multicasting, but since there’s no flexibility in routers or switches to implement it, I find it more difficult to implement.
Hopefully, stable WebRTC support can be implemented in ffmpeg in the short or medium term, but that’s no longer so dependent on Info-Beamer.
Thanks Florian!