WebRTCBin: weird delay before stream starts

Nirbheek Chauhan nirbheek.chauhan at gmail.com
Wed Mar 23 19:11:31 UTC 2022


On Wed, Mar 23, 2022 at 10:30 PM Florian Echtler via gstreamer-devel
<gstreamer-devel at lists.freedesktop.org> wrote:
> 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.

It's possible that the client is waiting for either SPS/PPS, or a
key-frame, or both. I recommend checking the following:

1. Do you have config-interval=-1 on rtph264pay on all clients?
2. What is the keyframe interval configured on your encoder(s)?

Cheers,
Nirbheek


More information about the gstreamer-devel mailing list