<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>@Dik ....</p>
    <p><br>
    </p>
    <p>Thank you for the suggestion. I've glanced over the documentation
      for Liquidsoap a few times and it looks like a powerful tool with
      a learning curve. I didn't see a good reason to use it for our
      simple needs, but if it's what I have to use to paper over the
      rough switching from a live remote host's Icecast stream to a
      local fallback file, then I reckon I'll need to get into it. <br>
    </p>
    <p><br>
    </p>
    <p>This forum is not the place for Liquidsoap so I'll shift over to
      a more appropriate place to learn more. <br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Jack Elliott
Director of Classical Music Programming
High Desert Community Radio
KPOV Bend, Oregon</pre>
    <div class="moz-cite-prefix">On 9/20/23 9:27 AM, Dik .... wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:LOYP123MB31844E4CDAB8569D50DB404BA8F9A@LOYP123MB3184.GBRP123.PROD.OUTLOOK.COM">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof
        ContentPasted0">
        I suggest you look at Liquidsoap.  Particularly mksafe which can
        merge files together into a single stream and stop clients from
        disconnecting</div>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof
        ContentPasted0">
        <br>
      </div>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof
        ContentPasted0 ContentPasted1">
        <a
href="https://www.liquidsoap.info/doc-2.2.0/quick_start.html#that-source-is-fallible"
          id="LPlnk766660" moz-do-not-send="true"
          class="moz-txt-link-freetext">https://www.liquidsoap.info/doc-2.2.0/quick_start.html#that-source-is-fallible</a><br>
      </div>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof
        ContentPasted0">
        <br>
      </div>
      <div style="font-family: Calibri, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof
        ContentPasted0">
        <br>
      </div>
      <hr style="display:inline-block;width:98%" tabindex="-1">
      <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
          face="Calibri, sans-serif" color="#000000"><b>From:</b>
          Icecast <a class="moz-txt-link-rfc2396E" href="mailto:icecast-bounces@xiph.org"><icecast-bounces@xiph.org></a> on behalf of Fred
          Gleason <a class="moz-txt-link-rfc2396E" href="mailto:fredg@paravelsystems.com"><fredg@paravelsystems.com></a><br>
          <b>Sent:</b> 18 September 2023 16:09<br>
          <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:thatjackelliott@kpov.org">thatjackelliott@kpov.org</a>
          <a class="moz-txt-link-rfc2396E" href="mailto:thatjackelliott@kpov.org"><thatjackelliott@kpov.org></a>; Icecast streaming server
          user discussions <a class="moz-txt-link-rfc2396E" href="mailto:icecast@xiph.org"><icecast@xiph.org></a><br>
          <b>Subject:</b> Re: [Icecast] When switching from source
          client to fallback and back glitches listen client</font>
        <div> </div>
      </div>
      <div class="" style="word-wrap:break-word;
        line-break:after-white-space">On Sep 16, 2023, at 13:58, Jack
        Elliott <<a href="mailto:that.jack.elliott@gmail.com"
          class="moz-txt-link-freetext" moz-do-not-send="true">that.jack.elliott@gmail.com</a>>
        wrote:
        <div class=""><br class="">
          <div>
            <blockquote type="cite" class="">
              <div class=""><span class="" style="font-family:Helvetica;
                  font-size:12px; font-style:normal;
                  font-variant-caps:normal; font-weight:normal;
                  letter-spacing:normal; text-align:start;
                  text-indent:0px; text-transform:none;
                  white-space:normal; word-spacing:0px;
                  text-decoration:none; float:none;
                  display:inline!important">I've noticed that when a
                  source-client disconnects from the mountpoint and the
                  mountpoint switches to its specified fallback-client,
                  some listen-clients disconnect, or close, or otherwise
                  glitch. Same thing when a remote source-client
                  connects, dropping the fallback--the listen-client can
                  glitch.</span><br class=""
                  style="font-family:Helvetica; font-size:12px;
                  font-style:normal; font-variant-caps:normal;
                  font-weight:normal; letter-spacing:normal;
                  text-align:start; text-indent:0px;
                  text-transform:none; white-space:normal;
                  word-spacing:0px; text-decoration:none">
                <br class="" style="font-family:Helvetica;
                  font-size:12px; font-style:normal;
                  font-variant-caps:normal; font-weight:normal;
                  letter-spacing:normal; text-align:start;
                  text-indent:0px; text-transform:none;
                  white-space:normal; word-spacing:0px;
                  text-decoration:none">
                <span class="" style="font-family:Helvetica;
                  font-size:12px; font-style:normal;
                  font-variant-caps:normal; font-weight:normal;
                  letter-spacing:normal; text-align:start;
                  text-indent:0px; text-transform:none;
                  white-space:normal; word-spacing:0px;
                  text-decoration:none; float:none;
                  display:inline!important">The fallback is an mp3
                  encoded at the same sample rate and bitrate as the
                  remote source-client.</span><br class=""
                  style="font-family:Helvetica; font-size:12px;
                  font-style:normal; font-variant-caps:normal;
                  font-weight:normal; letter-spacing:normal;
                  text-align:start; text-indent:0px;
                  text-transform:none; white-space:normal;
                  word-spacing:0px; text-decoration:none">
                <br class="" style="font-family:Helvetica;
                  font-size:12px; font-style:normal;
                  font-variant-caps:normal; font-weight:normal;
                  letter-spacing:normal; text-align:start;
                  text-indent:0px; text-transform:none;
                  white-space:normal; word-spacing:0px;
                  text-decoration:none">
                <span class="" style="font-family:Helvetica;
                  font-size:12px; font-style:normal;
                  font-variant-caps:normal; font-weight:normal;
                  letter-spacing:normal; text-align:start;
                  text-indent:0px; text-transform:none;
                  white-space:normal; word-spacing:0px;
                  text-decoration:none; float:none;
                  display:inline!important">It shouldn't glitch stream
                  players just because it swaps sources, should it?</span><br
                  class="" style="font-family:Helvetica; font-size:12px;
                  font-style:normal; font-variant-caps:normal;
                  font-weight:normal; letter-spacing:normal;
                  text-align:start; text-indent:0px;
                  text-transform:none; white-space:normal;
                  word-spacing:0px; text-decoration:none">
              </div>
            </blockquote>
          </div>
          <br class="">
        </div>
        <div class="">I suspect that what is going on is that the two
          streams (original and fallback) are not precisely
          synchronized, which means that the decoder will likely lose
          framing when switching to the fallback bitstream and hence
          mute or otherwise glitch while reacquiring same. I’m pretty
          sure that this is a consequence of the basic architecture of
          the Icecast system. </div>
        <div class=""><br class="">
        </div>
        <div class="">Cheers!</div>
        <div class=""><br class="">
        </div>
        <div class=""><br class="">
        </div>
        <div class="">
          <div class="" style="margin:0px; font-stretch:normal;
            font-size:11px; line-height:normal; font-family:Menlo">
            <span class=""
              style="font-variant-ligatures:no-common-ligatures">|---------------------------------------------------------------------|</span></div>
          <div class="" style="margin:0px; font-stretch:normal;
            font-size:11px; line-height:normal; font-family:Menlo">
            <span class=""
              style="font-variant-ligatures:no-common-ligatures">|
              Frederick F. Gleason, Jr. |             Chief Developer  
                        |</span></div>
          <div class="" style="margin:0px; font-stretch:normal;
            font-size:11px; line-height:normal; font-family:Menlo">
            <span class=""
              style="font-variant-ligatures:no-common-ligatures">|      
                                  |             Paravel Systems        
                  |</span></div>
          <div class="" style="margin:0px; font-stretch:normal;
            font-size:11px; line-height:normal; font-family:Menlo">
            <span class=""
              style="font-variant-ligatures:no-common-ligatures">|---------------------------------------------------------------------|</span></div>
          <div class="" style="margin:0px; font-stretch:normal;
            font-size:11px; line-height:normal; font-family:Menlo">
            <span class=""
              style="font-variant-ligatures:no-common-ligatures">|      
                A room without books is like a body without a soul.    
                  |</span></div>
          <div class="" style="margin:0px; font-stretch:normal;
            font-size:11px; line-height:normal; font-family:Menlo">
            <span class=""
              style="font-variant-ligatures:no-common-ligatures">|      
                                                                       
                  |</span></div>
          <div class="" style="margin:0px; font-stretch:normal;
            font-size:11px; line-height:normal; font-family:Menlo">
            <span class=""
              style="font-variant-ligatures:no-common-ligatures">|      
                                                                --
              Cicero   |</span></div>
          <div class="" style="margin:0px; font-stretch:normal;
            font-size:11px; line-height:normal; font-family:Menlo">
            <span class=""
              style="font-variant-ligatures:no-common-ligatures">|---------------------------------------------------------------------|</span></div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Icecast mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Icecast@xiph.org">Icecast@xiph.org</a>
<a class="moz-txt-link-freetext" href="http://lists.xiph.org/mailman/listinfo/icecast">http://lists.xiph.org/mailman/listinfo/icecast</a>
</pre>
    </blockquote>
  </body>
</html>