Disable delay in rtpjitterbuffer for sequential packets

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Disable delay in rtpjitterbuffer for sequential packets

Lauri Ehrenpreis
Hi,

Is it possible to configure rtpjitterbuffer so that packets which are not out of order and have no gaps are passed to decoder immediately when they arrive? Only if packets are out of order or missing, it will wait up to latency_ms milliseconds and try to re-transmit. 

I only need reordering, re-transmissions and FEC for video streaming and I don't care about reducing jitter. And I don't want to add any delay if packets are in sequence already. However currently it seems that rtpjitterbuffer adds the latency_ms delay in any case, even if I have 0% packet loss and 0% reorder configured with netem..

--
LauriE

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Disable delay in rtpjitterbuffer for sequential packets

Lauri Ehrenpreis
I just realized that the delay was actually added in autovideosink not in jitterbuffer. So If I use autovideosink sync=false I get exactly what I need:

send: ~/gst/master/gst-rtsp-server/examples/test-video-rtx
receive: gst-launch-1.0 -v rtspsrc location=rtsp://127.0.0.1:8554/test latency=500 buffer-mode=slave do-retransmissions=true ! decodebin ! autovideosink sync=false

--
LauriE

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Disable delay in rtpjitterbuffer for sequential packets

Sebastian Dröge-3
On Thu, 2018-05-10 at 09:08 +0300, Lauri Ehrenpreis wrote:
> I just realized that the delay was actually added in autovideosink
> not in jitterbuffer. So If I use autovideosink sync=false I get
> exactly what I need:

You'll then get jitter in the output though as frames would be shown
when they arrive.

--
Sebastian Dröge, Centricular Ltd · https://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (981 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Disable delay in rtpjitterbuffer for sequential packets

Baby Octopus
Administrator
In reply to this post by Lauri Ehrenpreis
Delay is something is essential for a smooth playback. If you do not want a
smoother playback(i.e., variable delay), your playback would be jerky
whenever the delay changes. A constant higher delay is lot desired than
variable lower delays. But if that is what you desire, you can achieve that
by disabling the sync property of any sink element

~BO



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Disable delay in rtpjitterbuffer for sequential packets

Nicolas Dufresne-5


Le jeu. 10 mai 2018 08:58, Baby Octopus <[hidden email]> a écrit :
Delay is something is essential for a smooth playback. If you do not want a
smoother playback(i.e., variable delay), your playback would be jerky
whenever the delay changes. A constant higher delay is lot desired than
variable lower delays. But if that is what you desire, you can achieve that
by disabling the sync property of any sink element

To that, you could lower the latency property, and combine with fast-start property.


~BO



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel