Do GStreamer handle loss of key frames (H264)?

Marcos Kintschner marcos.ktn at
Wed Sep 26 04:19:02 UTC 2018

I'm trying to understand if and how GStreamer handle a lost IDR frame.
I know there is an event called GstForceKeyUnit that is sent by
rtph264depay when this element receives data before setting SPS/PPS and
that this event is then processed by rtpsession that generates a RTCP/PLI
message. But it seems that rtph264depay doens't send the event when it
receives a P-Slice before a IDR-Slice, for example. Do I have to handle it
manually by adding probes and checking if the IDR has arrived or not?

Marcos Kintschner.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list