WebRTCBin: weird delay before stream starts

Florian Echtler floe at butterbrot.org
Wed Mar 23 15:38:03 UTC 2022


Hi everyone,

I'm experiencing a weird glitch when streaming video between two WebRTCBins.

More specifically, I have a server component that accepts WebRTC connections 
from one or more clients, each with 2 video and 1 audio stream. The server 
remixes all the incoming A/V streams on the fly, and streams the result back to 
the clients. All parts currently use Gstreamer 1.18.4.

My issue now is that the _second_ video stream on the client takes a very long 
time to start, often on the order of 30-60 seconds. Once it has finally started, 
it's in sync with audio and the first video stream.

The twist is that this only happens if the client is also GStreamer-based. If I 
connect with a browser client, then I have all 3 streams playing within a few 
seconds, as you'd expect.

I've already looked at the SDP from each client, but couldn't spot any 
meaningful differences. Can anyone suggest a direction to investigate here?

Thanks and best, Florian
-- 
SENT FROM MY DEC VT50 TERMINAL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220323/e799306c/attachment.sig>


More information about the gstreamer-devel mailing list