You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In IcecastMetadataPlayer, a new option should be added that triggers retry logic after a successful disconnect of a stream. This may help listeners reconnect when a disconnect is caused by something other than a network error, such as the Icecast server / source disconnecting and restarting the stream.
I've seen that the majority of Icecast streams are meant to continue indefinitely, such as with a radio station. In these cases, any disconnect should be treated as an error. This option might make sense to default to true because of this usage pattern.
options.alwaysReconnect: default true
Set to true to reconnect after a stream is disconnected for any reason.
Retry logic will take place when the stream ends with or without a fetch request error.
The stream will end without an error if the Icecast server initiates the disconnect (i.e when a source ends or the Icecast server is restarted).
Set to false to stop playback after a stream is disconnected successfully on the server side.
Retry logic will take place when the stream ends only with a fetch request error.
The text was updated successfully, but these errors were encountered:
In IcecastMetadataPlayer, a new option should be added that triggers retry logic after a successful disconnect of a stream. This may help listeners reconnect when a disconnect is caused by something other than a network error, such as the Icecast server / source disconnecting and restarting the stream.
I've seen that the majority of Icecast streams are meant to continue indefinitely, such as with a radio station. In these cases, any disconnect should be treated as an error. This option might make sense to default to
true
because of this usage pattern.options.alwaysReconnect
: defaulttrue
true
to reconnect after a stream is disconnected for any reason.false
to stop playback after a stream is disconnected successfully on the server side.The text was updated successfully, but these errors were encountered: