[Icecast] Use web admin to re-start source?

Jack Elliott thatjackelliott at kpov.org
Fri Mar 4 15:39:24 PST 2016


Thank you. In this case, the source client is the fallback mount, which 
is an mp3 file.

I think I found my issue.

The code in icecast.xml looks like this:

  <mount type="normal">
         <mount-name>/stream</mount-name>
         <max-listeners>6</max-listeners>
         <burst-size>65536</burst-size>
         <fallback-mount>/fallback.mp3</fallback-mount>
         <fallback-override>1</fallback-override>
         <fallback-when-full>1</fallback-when-full>
     <stream-name>KPOV private remote stream</stream-name>

When the Icecast source client mount "/stream" is powered off or 
disconnected, the listen client hears the fallback-mount, which is the 
file fallback.mp3 . This is expected behavior.

If I use the "Kill Source" button on the web admin page at 
/admin/listmounts.xsl to kill the fallback, the listen client stops 
playing and the listmounts.xsl page shows

    Message: Source Removed

    Return Code: 1


This also seems like expected behavior.

If I reconnect the listen client, I hear the fallback.mp3 file again.

But if I refresh the listmounts.xsl page (it is still showing the 
"Source Removed" message and Return Code), it kills the stream again. So 
refreshing that page seems to re-issue the "Kill Source" command. This 
is unexpected behavior.

But no big deal: if I first navigate away from listmounts.xsl then 
return (instead of refreshing it) it shows the fallback playing normally.

A RFE: would it be possible for the current stream bitrates to be 
displayed on stats.xsl ?

-- 
That Jack Elliott
(541) 848 7021
KPOV 88.9 FM High Desert Community radio
Producer, The Wednesday Point
Host, The Sunday Classics

On 03/04/2016 03:10 PM, Marvin Scholz wrote:
> On 4 Mar 2016, at 23:26, Jack Elliott wrote:
>
>> Hi,
>>
>> I see that I can use the "Kill Source" button on the Icecast admin web
>> page to kill our fallback.mp3 file.
>>
>> Now that I have killed the fallback file, I don't see a way to
>> re-start
>> it. Do I need to stop / start the icecast service?
> This has nothing to do with Icecast, it's just that your source client
> has to reconnect.
> It depends on the source client how it handles reconnecting to Icecast.
> What "kill source" does, is just disconnect the source client, nothing
> else.
>
>> -- 
>> That Jack Elliott
>> (541) 848 7021
>> KPOV 88.9 FM High Desert Community radio
>> Producer, The Wednesday Point
>> Host, The Sunday Classics
>>
>> _______________________________________________
>> Icecast mailing list
>> Icecast at xiph.org
>> http://lists.xiph.org/mailman/listinfo/icecast
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/icecast/attachments/20160304/c02b1180/attachment.htm 


More information about the Icecast mailing list