gstreamer/subprojects/gst-plugins-good/tests
Edward Hervey 75a550a1b1 twcc: Better handle duplicate packets
The previous code would only check if two packets in a row were duplicates. If
not (i.e. a packet is a duplicate of a packet received slightly before) the code
would generate completely bogus FCI because it assumes there were no duplicates
present in the array.

In order to be efficient, just store all received packets and remove the
duplicates just before the FCI is generated once the array of observations have
been sorted by seqnum.

Fixes TWCC usage with moderate to high packet duplication.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4378>
2023-04-10 13:16:44 +01:00
..
check twcc: Better handle duplicate packets 2023-04-10 13:16:44 +01:00
examples add new plugin for Qt 6 rendering inside a QML scene 2022-11-24 16:11:04 +11:00
files wavparse: Fix crash that occurs in push mode when header chunks are corrupted 2022-10-13 08:56:49 +00:00
interactive tests: rename 'icles' subdir to be more descriptive 2022-04-14 11:57:11 +00:00
meson.build tests: rename 'icles' subdir to be more descriptive 2022-04-14 11:57:11 +00:00