Icecast サーバーと Ezstream をインストールしました。/live.mp3 ブロードキャスト (SAM ブロードキャスター mp3 エンコーダーから) のリスナーを、ブロードキャスターがオンラインでないときにプレイリストをループする /autodj.mp3 という別のマウントポイントに移動する際に問題があります。「リスナーを /live.mp3 から /autodj.mp3 に移動する」を押すと、/live.mp3 にあるプレーヤーの音楽が停止します。xml ファイルで多くの変更を試みましたが、問題を特定できません。同様の問題に対処した人がここにいることを願っています。
私のezstream .xmlは次のとおりです。
<ezstream>
<url> http://xx.xxx.xxx.xxx:8000/autodj.mp3 </url>
<sourcepassword>xxx</sourcepassword>
<format>MP3</format>
<filename>/home/mp3/p.txt</filename>
<shuffle>1</shuffle>
<stream_once>0</stream_once>
<svrinfobitrate>128</svrinfobitrate>
<svrinfochannels>2</svrinfochannels>
<svrinfosamplerate>44100</svrinfosamplerate>
<svrinfopublic>0</svrinfopublic>
</ezstream>
そして、icecast.xml での私のマウント構成
<mount>
<mount-name>/live.mp3</mount-name>
<password>XXX</password>
<max-listeners>100</max-listeners>
<fallback-mount>/autodj.mp3</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
<public>1</public>
<stream-url>http://xx.xxx.xxx.xx:8000/auto.mp3</stream-url>
<bitrate>96</bitrate>
<type>application/mp3</type>
<subtype>mp3</subtype>
<mp3-metadata-interval>4096</mp3-metadata-interval>
</mount>
<mount>
<mount-name>/autodj.mp3</mount-name>
<password>xxx</password>
<max-listeners>100</max-listeners>
<public>1</public>
<stream-url>http://xx.xxx.xxx.xx:8000/autodj.mp3</stream-url>
<bitrate>128</bitrate>
<type>application/mp3</type>
<subtype>mp3</subtype>
<mp3-metadata-interval>4096</mp3-metadata-interval>
</mount>
/live.mp3 から /autodj.mp3 への「フォールバック」も機能しないことを忘れている場合。私は Icecast を初めて使用するので、初歩的なミスを犯した場合は優しくしてください。