<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#c7">Comment # 7</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:amar.akshat@gmail.com" title="Amar Akshat <amar.akshat@gmail.com>"> <span class="fn">Amar Akshat</span></a>
</span></b>
        <pre>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?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>