ak18 at 5x9.de
2018-Aug-03 16:38 UTC
[Icecast] Mount with Relay: Fallback-override does not work
Hello, I'm using Icecast over 10 years, so let me first say *Thank you to all developers* of Icecast! I have a problem using a mount with relay and a fallback. The option <fallback-override> is not working. I tested two different configurations: _Configuration A:_ ??? <mount> ??????? <mount-name>/Stream-096k.mp3</mount-name> ??????? <max-listeners>2000</max-listeners> ??????? <burst-size>122880</burst-size> <fallback-mount>/Recordings/Record1.mp3</fallback-mount> ??????? <fallback-override>1</fallback-override> ??? </mount> ??? <relay> ??????? <server>xxx.xxx.xxx.xxx</server> ??????? <port>8080</port> ??????? <mount>/Masterstream-096k.mp3</mount> ??????? <local-mount>/Stream-096k.mp3</local-mount> ??????? <on-demand>1</on-demand> ? ? ?? <fallback-override>1</fallback-override> ??? </relay> _Configuration B:_ ??? <mount> ??????? <mount-name>/Stream-096k.mp3</mount-name> ??????? <max-listeners>2000</max-listeners> ??????? <burst-size>122880</burst-size> <fallback-mount>/Stream-Recorded.mp3</fallback-mount> ??????? <fallback-override>1</fallback-override> ??? </mount> ??? <relay> ??????? <server>xxx.xxx.xxx.xxx</server> ??????? <port>8080</port> ??????? <mount>/Masterstream-096k.mp3</mount> ??????? <local-mount>/Stream-096k.mp3</local-mount> ??????? <on-demand>1</on-demand> ? ? ?? <fallback-override>1</fallback-override> ??? </relay> ??? <mount> ??????? <mount-name>/Stream-Recorded.mp3</mount-name> ??????? <max-listeners>2000</max-listeners> ??????? <burst-size>61440</burst-size> <fallback-mount>/Recordings/Record1.mp3</fallback-mount> ??????? <fallback-override>1</fallback-override> ? ?? ?? <limit-rate>49152</limit-rate> ??? </mount> Problem 1: In both configurations the fallback is played if the relay is offline. But if the stream of the relay is going to online, the listeners are not switched back from the fallback. Even if I wait hours, that does not happen. Currently I still use the older icecast-version 2.3.1 - so pherhals this could be the reason... Problem 2: I also found that <limit-rate> (I did not find this option in the dokumentation, why?) does not have any effect, no matter what value I used. Maybe it's because of the older version? (I used limit-rate because the recording is 48k instead of 96k). Kind regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20180803/8f7a4010/attachment.htm>
Paul Martin
2018-Aug-05 19:40 UTC
[Icecast] Mount with Relay: Fallback-override does not work
On Fri, Aug 03, 2018 at 06:38:02PM +0200, ak18 at 5x9.de wrote:> <mount> > <mount-name>/Stream-096k.mp3</mount-name> > <max-listeners>2000</max-listeners> > <burst-size>122880</burst-size> > <fallback-mount>/Stream-Recorded.mp3</fallback-mount> > <fallback-override>1</fallback-override> > </mount>> Problem 1: > In both configurations the fallback is played if the relay is offline. But > if the stream of the relay is going to online, the listeners are not > switched back from the fallback. Even if I wait hours, that does not happen. > Currently I still use the older icecast-version 2.3.1 - so pherhals this > could be the reason...Fallback to a file just fills up buffers as fast as it can. Not a good idea at all as Icecast will keep buffering pretty much until it runs out of memory if you're operating a relay. Better to use a local encoder (eg. liquidsoap) which does proper rate limiting. "Note that the fallback file is not timed so be careful if you intend to relay this. They are fine on slave streams but don’t use them on master streams, if you do then the relay will consume stream data at a faster rate and the listeners on the relay would eventually get kicked off." http://icecast.org/docs/icecast-2.4.1/config-file.html#relay> Problem 2: > I also found that <limit-rate> (I did not find this option in the > dokumentation, why?)Are you using the standard icecast2 or the kh (Karl Heyes) version? -- Paul Martin <pm at nowster.me.uk>
ak18 at 5x9.de
2018-Aug-06 12:26 UTC
[Icecast] Mount with Relay: Fallback-override does not work
Am 05.08.2018 um 21:40 schrieb Paul Martin:> > Fallback to a file just fills up buffers as fast as it can. Not a > good idea at all as Icecast will keep buffering pretty much until it > runs out of memory if you're operating a relay. Better to use a local > encoder (eg. liquidsoap) which does proper rate limiting.Thank you, but the buffering is not my problem, because I'm using a master-icecast-server which buffers the file only one time for all slave-icecast-servers. "liquidsoap" is not available for windows!?> >> Problem 2: >> I also found that <limit-rate> (I did not find this option in the >> dokumentation, why?) > Are you using the standard icecast2 or the kh (Karl Heyes) version?I'm using the versions from icecast.org. Thanks so far
Reasonably Related Threads
- Mount with Relay: Fallback-override does not work
- Mount with Relay: Fallback-override does not work
- Mount with Relay: Fallback-override does not work
- validates_uniqueness_of (with :scope) doesn't seem to work?
- Mount with Relay: Fallback-override does not work