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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 19 09:25:28 PDT 2013


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

--- Comment #7 from Amar Akshat <amar.akshat at gmail.com> ---
Hi Arun,

src/pulsecore/protocol-http.c

function: source_output_push_cb -- seems to be pushing the chunk into outq,
function: source_output_process_msg --seems to be fetching from out queue and
doing a do_write for the chunk, into the stream for http.

Seems like atleast 2 threads. Suspecting that there might be sync issue, I put
a counter in do write and source_output_push_cb,

At the start - 
do_write, counter = 1
source_output_push_cb, counter = 1

After some time, (around 3 minutes later)

do_write, counter = 6165
source_output_push_cb, counter = 6417
which suggests. that do_write has happened 6165 times, and push into the outq
has happened 6417 times.

Clearly in the 2 threads, the sync is not happening, and the difference
probably increases linear to time.

Any idea why this must be happening?

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


More information about the pulseaudio-bugs mailing list