gstreamer/tests/check
Havard Graff fb9c75db36 rtpjitterbuffer: fix lost-event using dts instead of pts
The lost-event was using a different time-domain (dts) than the outgoing
buffers (pts). Given certain network-conditions these two would become
sufficiently different and the lost-event contained timestamp/duration
that was really wrong. As an example GstAudioDecoder could produce
a stream that jumps back and forth in time after receiving a lost-event.

The previous behavior calculated the pts (based on the rtptime) inside the
rtp_jitter_buffer_insert function, but now this functionality has been
refactored into a new function rtp_jitter_buffer_calculate_pts that is
called much earlier in the _chain function to make pts available to
various calculations that wrongly used dts previously
(like the lost-event).

There are however two calculations where using dts is the right thing to
do: calculating the receive-jitter and the rtx-round-trip-time, where the
arrival time of the buffer from the network is the right metric
(and is what dts in fact is today).

The patch also adds two tests regarding B-frames or the
“rtptime-going-backwards”-scenario, as there were some concerns that this
patch might break this behavior (which the tests shows it does not).
2016-11-04 16:51:20 +02:00
..
elements rtpjitterbuffer: fix lost-event using dts instead of pts 2016-11-04 16:51:20 +02:00
generic check: Rename states unit test 2015-08-14 11:13:01 +02:00
pipelines tests: Fix tagschecking failure due to missing PTS 2016-09-30 13:25:10 +05:30
.gitignore tests: ignore sub-directory with orc tests 2010-06-17 16:41:56 +01:00
gst-plugins-good.supp suppressions: ignore an apparent bug in strtod 2015-04-15 18:00:00 +01:00
Makefile.am tests: use GST_NET_LIBS instead of hardcoded -lgstnet 2016-08-26 21:22:16 +02:00
meson.build Revert "meson: move gstreamer-check-1.0 dependency to tests/check" 2016-10-25 11:47:22 +05:30