Help with QOS in rtp audio pipeline?

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

Help with QOS in rtp audio pipeline?

tanmay.ambre
Hi
I am running a pipeline as below.

udpsrc --> gstrtpbin (latency=40) --(pad)-->>queue -->rtpdemux-->rtpspeexdepay-->directsoundsink (sync=false qos=true buffer-time=80000 latency-time=20000)

Once I start running the pipeline there is a delay in recieving the audio. If I restart the pipeline the delay vanishes. At this point if I congest the network the delay starts creeping in. But restarting the pipe the delay vanishes again. It seems the data flow resumes normal levels once the congestion is over but the pipeline is forever delayed.

My question is how do I resynchronize the pipeline to remove the delay? Or how do I know if a delay has occured in the pipeline.?

Cheers
Tanmay
Reply | Threaded
Open this post in threaded view
|

Re: Help with QOS in rtp audio pipeline?

Wim Taymans
On 07/11/2012 04:10 PM, tanmay.ambre wrote:

> Hi
> I am running a pipeline as below.
>
> udpsrc --> gstrtpbin (latency=40) --(pad)-->>queue
> -->rtpdemux-->rtpspeexdepay-->directsoundsink (sync=false qos=true
> buffer-time=80000 latency-time=20000)
>
> Once I start running the pipeline there is a delay in recieving the audio.
> If I restart the pipeline the delay vanishes. At this point if I congest the
> network the delay starts creeping in. But restarting the pipe the delay
> vanishes again. It seems the data flow resumes normal levels once the
> congestion is over but the pipeline is forever delayed.
>
> My question is how do I resynchronize the pipeline to remove the delay? Or
> how do I know if a delay has occured in the pipeline.?

Set sync=true. With sync=false, it just plays whatever whenever.

Wim

>
> Cheers
> Tanmay
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Help-with-QOS-in-rtp-audio-pipeline-tp4655572.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


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