[Bug 794909] ulpfecdec: output perfect seqnums

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 6 18:13:09 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=794909

--- Comment #10 from Mathieu Duponchelle <mduponchelle1 at gmail.com> ---
Created attachment 370613
  --> https://bugzilla.gnome.org/attachment.cgi?id=370613&action=edit
rtpbasedepayload: condition the sending of gap events

The default implementation for packet loss handling previously
always sent a gap event.

While this is correct as long as we know the packet that was
lost was actually a media packet, with ULPFEC this becomes
a bit more complicated, as we do not know whether the packet
that was lost was a FEC packet, in which case it is better
to not actually send any gap events in the default implementation.

Some payloaders can be more clever about, for example VP8 can
use the picture-id, and the M and S bits to determine whether
the missing packet was inside an encoded frame or outside,
and thus whether if it was a media packet or a FEC packet,
which is why ulpfecdec still lets these lost events go through,
though stripping them of their seqnum, and appending a new
"might-have-been-fec" field to them.

This is all a bit terrible, but necessary to have ULPFEC
integrate properly with the rest of our RTP stack.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list