Do GStreamer handle loss of key frames (H264)?

Nicolas Dufresne nicolas at
Wed Sep 26 15:08:39 UTC 2018

Le mercredi 26 septembre 2018 à 01:19 -0300, Marcos Kintschner a
écrit :
> 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?

I don't see "initial" trigger. It only do that on packet lost. It seems
like a good idea to add rather then having to do this manually.

> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the gstreamer-devel mailing list