Mathieu Duponchelle
6d98415fd4
rtpst2022-1-fecenc: memset when reallocating xored payload
...
When protecting packets with a variable payload length, we
reallocate the xored payload when needed. It is a good idea
to memset the extended memory to 0 so that we don't xor
data with garbage!
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/839 >
2020-12-12 09:29:15 +00:00
Mathieu Duponchelle
081509e030
rtpst2022-1-fec-*: protect additional RTP header fields
...
While the standard is a bit vague about whether the padding,
extension and marker bits should be protected:
> The usage, by senders and receivers, of the following bits shall
> be defined by the associated video/audio transport standards:
It is obviously necessary and useful for some formats (eg VP8)
that those indeed be protected.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/839 >
2020-12-12 09:29:15 +00:00
Mathieu Duponchelle
5fb5abc8a8
rtpst2022-1-fecenc: fix input seqnum check
...
We need to cast the incremented last seqnum to guint16 for
consistent checks on wraparound
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/770 >
2020-10-14 14:30:34 +02:00
Sebastian Dröge
6a84dc4146
rtpst2022-1-fecenc: Don't unconditionally use GLib 2.60 APIs
...
g_queue_clear_full() in this case.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/768 >
2020-10-09 09:31:27 +03:00
Mathieu Duponchelle
591af0f38a
rtpmanager: implement SMPTE 2022-1 FEC encoder
...
+ improve integration of FEC encoders in rtpbin
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/753 >
2020-10-08 22:22:18 +00:00