<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - High latency in HTTP streaming"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=65703#c41">Comment # 41</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - High latency in HTTP streaming"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=65703">bug 65703</a>
              from <span class="vcard"><a class="email" href="mailto:wangxingchao2011@gmail.com" title="Wang Xingchao <wangxingchao2011@gmail.com>"> <span class="fn">Wang Xingchao</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=65703#c40">comment #40</a>)
<span class="quote">> Arun,

> could you try below command at your side?

> gst-launch-0.10 souphttpsrc
> location=<a href="http://www.mediacollege.com/audio/tone/files/">http://www.mediacollege.com/audio/tone/files/</a>
> 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, <a href="show_bug.cgi?id=65703#c36">comment #36</a>.
> gst-launch playbin
> uri=<a href="http://localhost:4714/listen/source/alsa_input.pci-0000_00_1b.0.analog">http://localhost:4714/listen/source/alsa_input.pci-0000_00_1b.0.analog</a>-
> 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</span >

As the playback has almost no latency, i suspect the latency coming from the
capture routine:
gst-launch-0.10 souphttpsrc
location=<a href="http://localhost:4714/listen/source/alsa_input.pci-0000_00_1b.0.analog-stereo">http://localhost:4714/listen/source/alsa_input.pci-0000_00_1b.0.analog-stereo</a>
! 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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>