[pulseaudio-tickets] [Bug 65703] High latency in HTTP streaming

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 4 08:02:37 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=65703

--- Comment #41 from Wang Xingchao <wangxingchao2011 at gmail.com> ---
(In reply to comment #40)
> Arun,
> 
> could you try below command at your side?
> 
> gst-launch-0.10 souphttpsrc
> location=http://www.mediacollege.com/audio/tone/files/
> 250Hz_44100Hz_16bit_30sec.wav ! decodebin ! pulsesink
> 
> I can hear sound at about ~2 seconds delay.
> 
> And compared with gst-launch, i used "mplayer" to repeat test, the delay is
> longer, ~4s.
> That's caused by cache in mplayer:
> "Cache size set to 320 KBytes
> Cache fill: 12.62% (41368 bytes)   
> "
> 
> So for me, this issue behavior is different:
> 1> with gst-launch playbin, comment #36.
> gst-launch playbin
> uri=http://localhost:4714/listen/source/alsa_input.pci-0000_00_1b.0.analog-
> stereo
> very long time delay. as your suggestion, switch to use souphttpsrc
> 2> with soupthttpsrc, the delay is ~2s, i think that's acceptable.
> 
> --xingchao

As the playback has almost no latency, i suspect the latency coming from the
capture routine:
gst-launch-0.10 souphttpsrc
location=http://localhost:4714/listen/source/alsa_input.pci-0000_00_1b.0.analog-stereo
! decodebin ! pulsesink
(This test command doesnot work for me, there's error)
And in such scenario, the data path is like:

capture data-->PA
Source-->http-protocol-->bin-->buffer?-->native-protocol-->PA-->Sink

currently i'm blocked by above test command, it doesnot work for me.

thanks
--xingchao

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20130704/ed8db0c8/attachment.html>


More information about the pulseaudio-bugs mailing list