<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 29.07.2018 18:03, Georg Chini wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:d7f722ed-32c2-3baa-b353-8d0b89573cc0@chini.tk">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div class="moz-cite-prefix">On 29.07.2018 12:44, Harish
        Gaddameedi wrote:<br>
      </div>
      <blockquote type="cite"
cite="mid:CAF=7OnLh8naREj7Ja7ETo7n_D3LE1sfbagqfyrSGCoA0seJ2aA@mail.gmail.com">
        <div dir="ltr"> <span
style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Hi
            Georg,</span>
          <div
style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><br>
          </div>
          <div
style="font-size:small;text-decoration-style:initial;text-decoration-color:initial">I
            was working on simple Openwrt Platform, and Source device is
            Android phone Bluetooth with Youtube app 24 hrs live
            streaming video and alsa device is speaker, which is
            hardwired</div>
          <div
style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><br>
          </div>
          <div
style="font-size:small;text-decoration-style:initial;text-decoration-color:initial">The
            12 hrs testing which i did on pulseaudio-11.1 are without my
            modification. The basic modification which i made in the
            previous pulseaudio-8.0 is with the idle state of
            bluez_source card (i.e., card is vanishing when the song is
            in the pause state) and did some changes to buffers of
            pulseaudio to reduce the latency. But in pulseaudio-11.1 i
            didn't do all the changes as i didn't find any initial
            latency. but periodic latency after 12hrs still exists. The
            issue is reproducible with Gstreamer also. </div>
          <div
style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><br>
          </div>
          <div
style="font-size:small;text-decoration-style:initial;text-decoration-color:initial">I
            haven't worked on microphone scenarios, I'm just working on
            music player and speaker.</div>
          <div
style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><br>
          </div>
          <div
style="font-size:small;text-decoration-style:initial;text-decoration-color:initial">Let
            me clear you some test scenarios for better understanding,</div>
          <div
style="font-size:small;text-decoration-style:initial;text-decoration-color:initial">Case
            1: Android phone as source (bluez_source) and device with
            internal speaker (alsa-sink as sink for pulseaudio)
            -------> delay after 12hrs exists.</div>
          <div
style="font-size:small;text-decoration-style:initial;text-decoration-color:initial">Case
            2: Device with Gstreamer as source and same device with
            internal speaker (pulsesink with <span
style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">alsa
              card as sink for pulseaudio</span>) ----------> delay
            after 12 hrs exists.</div>
          <div
style="font-size:small;text-decoration-style:initial;text-decoration-color:initial">Case
            3: Device with Gstreamer as source and External Bluetooth
            speaker (pulsesink with bluez_sink card) -----------> No
            delay after 12 hrs.</div>
          <br class="gmail-Apple-interchange-newline">
        </div>
      </blockquote>
      What output does module-loopback give when you run with debugging?<br>
      Do you see the growing latency there? Does it show up with pactl
      list sinks<br>
      or pactl list sources? Any error messages in the PA log?<br>
      <br>
      Regards<br>
                   Georg<br>
    </blockquote>
    One more comment: It may well be worth trying 12.2 because the
    bluetooth thread<br>
    function has changed.<br>
  </body>
</html>