After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 766438 - rtpjitterbuffer: Accept streams with non-TIME segments.
rtpjitterbuffer: Accept streams with non-TIME segments.
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 1.9.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-05-14 12:49 UTC by Olivier Crête
Modified: 2016-06-08 18:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
rtpjitterbuffer: Work with non-TIME segments (2.36 KB, patch)
2016-05-14 12:49 UTC, Olivier Crête
committed Details | Review

Description Olivier Crête 2016-05-14 12:49:12 UTC
With non-time segments, it now assumes that the arrival time of packets is not relevant and that only the RTP timestamp matter and it produces an output segment start at running time 0.

This is useful for streams of packets captured with multifilesink.
Comment 1 Olivier Crête 2016-05-14 12:49:43 UTC
Created attachment 327878 [details] [review]
rtpjitterbuffer: Work with non-TIME segments

With non-time segments, it now assumes that the arrival time of packets
is not relevant and that only the RTP timestamp matter and it produces
an output segment start at running time 0.
Comment 2 Sebastian Dröge (slomo) 2016-05-15 07:53:50 UTC
Comment on attachment 327878 [details] [review]
rtpjitterbuffer: Work with non-TIME segments

While the patch seems OK, why can't we make upstream produce a TIME segment instead? Also a lot of other RTP code assumes TIME segments too, which would need changes then.
Comment 3 Olivier Crête 2016-05-25 22:55:53 UTC
(In reply to Sebastian Dröge (slomo) from comment #2)
> While the patch seems OK, why can't we make upstream produce a TIME segment
> instead? Also a lot of other RTP code assumes TIME segments too, which would
> need changes then.

Because I want to read from filesrc or multifilesrc. My example pipelien is "multifilesrc ! rtpjitterbuffer ! depay ! dec ! sink".. I guess we shoudl also make sure that rtpbin can work without a time segment. Elements after the jitterbuffer (like depayloaders) can still safely require a TIME segment.
Comment 4 Sebastian Dröge (slomo) 2016-05-26 05:51:49 UTC
Ok, seems reasonable then :)
Comment 5 Olivier Crête 2016-06-08 18:57:24 UTC
Merged

commit 5328378132c7c100b8a17818862a3124affef1f8
Author: Olivier Crête <olivier.crete@collabora.com>
Date:   Sat May 14 14:46:17 2016 +0200

    rtpjitterbuffer: Work with non-TIME segments
    
    With non-time segments, it now assumes that the arrival time of packets
    is not relevant and that only the RTP timestamp matter and it produces
    an output segment start at running time 0.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=766438