BASS.NET API for the Un4seen BASS Audio LibraryBroadCastAutoReconnect Property BASS.NET API for the Un4seen BASS Audio Library
Gets or Sets if the broadcast connection should automatically be reconnected in case of a connection or encoder error (default=).

Namespace: Un4seen.Bass.Misc
Assembly: Bass.Net (in Bass.Net.dll) Version:

public bool AutoReconnect { get; set; }

Property Value

Type: Boolean

The auto connect feature can be used for both Connect and AutoConnect.

When AutoReconnect was set to , the following will be checked automatically:

1. Is the encoder still active? - if not, restart encoder, if in AutomaticMode.

2. Are we still connected to the Server? - if not, reconnect to the Server.

This means, that if you are NOT in AutomaticMode, you need to restart your Encoder manually. You can do so by subscribing to the Notification event handler and react on the EncoderRestartRequired event and then call StartEncoder(ENCODEPROC, IntPtr, Boolean) again.

Please note, that the encoder will automatically be stopped, if a reconnect to the server was not successful!

See Also