Latency

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

Latency

simonchendry
hi there. I am currently running Gstreamer from the command line and have
created a stream which sends opus over rtp. I am trying to reduce latency
and have noticed that if I just pipe input to output like this:

gst-launch-1.0 osxaudiosrc ! osxaudiosink

I actually get around 300ms of latency. Is there a way to reduce this?

Thanks in advance



--
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: Latency

Olivier Crête-3
Hi,

You need to configure the "latency-time" and "buffer-time" properties on the source and the sink.

Be aware that if you reduce them too much, you may get glitches. And that reducing them will increase CPU usage.

Olivier

On Fri, 2020-05-29 at 08:10 -0500, simonchendry wrote:
hi there. I am currently running Gstreamer from the command line and have
created a stream which sends opus over rtp. I am trying to reduce latency
and have noticed that if I just pipe input to output like this:

gst-launch-1.0 osxaudiosrc ! osxaudiosink

I actually get around 300ms of latency. Is there a way to reduce this? 

Thanks in advance



--
Sent from: 
http://gstreamer-devel.966125.n4.nabble.com/

_______________________________________________
gstreamer-devel mailing list
[hidden email]

https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-- 
Olivier Crête


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

Re: Latency

sjsingh88
i have a same issue but i am using raspberry pi on both end (receiver and
listener ) how i can reduce or get no latency? and very new in this and some
how manage to make it work but don't know much how can i solve this latency?



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