Freezes from subscriber's side when watching the streams

Hello all,

I have a server that uses WHIP to publish the stream and WHEP for the playback. it works fine in terms of publishing but when someone watch the stream it freezes at random times for all viewers at the same time. It is running on a digital ocean droplet “8 GB RAM, x4 AMD CPU”. am kind of new to this and I didnt setup the server myself so am kind of lost in the middle of it. I don’t know what information should I provide that can be helpful.

Thanks in advance.

Make sure RTCP is setup between the VideoRoom publisher (WHIP) and the Streaming mountpoint (WHEP), otherwise PLI requests from viewers after a keyframe loss on the publisher side will never be relayed (and so addressed by the publisher).

That said, if everyone gets the same freeze, it’s a problem on the publisher side (e.g., keyframe loss, or insufficient bandwidth). If you’re using a browser to publish the bandwidth should be handled automatically; if you’re using OBS, there may not be bandwidth adaptation, but I’m not sure.

Thanks for ur reply.
am not sure if I understand but is there any documentation that helps with checking RTCP?
one more thing I forgot to mention is that the sound works normally during the freezes which is so weird. It is only a video freeze, Is it a different issue in this case?

Check the RTCP properties of both RTP forwarders and mountpoints.

That’s normal, audio is more robust to losses. A loss impacting a keyframe will break video if not handled.