BASS.NET API for the Un4seen BASS Audio Library

BroadCastStopEncoder Method

BASS.NET API for the Un4seen BASS Audio Library
Stops the Encoder

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

public bool StopEncoder()

Return Value

Type: Boolean
, if the encoder was stopped successfully, else is returned (see LastError or LastErrorMessage for details).
Remarks

Please note that, if is returned, the Encoder will still be active.

If you are handling broadcasting manually (by using Connect), it is a good idea to stop the encoder whenever you are not connected anymore. You might check the status of the broadcast connection by asking for the Status or by subscribing to the Notification event handler.

If the encoder was already stopped, this method returns - however no Notification event will be raised in this case.

See Also

Reference