BASS.NET API for the Un4seen BASS Audio LibraryBroadCast MembersBASS.NET API for the Un4seen BASS Audio Library

The BroadCast type exposes the following members.
Constructors

  NameDescription
Public methodBroadCast
Creates an instance of the broadcasting class using the specified streaming server.
Back to Top
Methods

  NameDescription
Public methodAutoConnect
Public methodConnect
Public methodDisconnect
Public methodGetListeners
Returns the number of listeners currently connected.
Public methodGetStats
Returns the XML stats of the server.
Public methodSendData
Sends encoded sample data manually to the broadcast server (e.g. the data as received in an own ENCODEPROC).
Public methodStartEncoder
Starts the underlying encoder (see Encoder).
Public methodStopEncoder
Stops the Encoder
Public methodUpdateTitle(String, String)
Updates the title of the playing song on a broadcast server.
Public methodUpdateTitle(TAG_INFO, String)
Updates the title of the playing song on a broadcast server.
Back to Top
Properties

  NameDescription
Public propertyAutomaticMode
Gets if the automatic mode was used ( , if AutoConnect  was called, else   meaning Connect  was used instead).
Public propertyAutoReconnect
Gets or Sets if the broadcast connection should automatically be reconnected in case of a connection or encoder error (default= ).
Public propertyIsConnected
Connected to the server? ( =connected).
Public propertyIsStarted
Is the server started? ( =started).
Public propertyNotificationSuppressDataSend
Gets or Sets, if the DataSend event will be raised when subscribed to the Notification event handler (default is  ).
Public propertyNotificationSuppressIsAlive
Gets or Sets, if the IsAlive event will be raised when subscribed to the Notification event handler and AutoReconnect is enabled (default is  ).
Public propertyReconnectTimeout
Gets or Sets the reconnect timeout in seconds (default is 5sec.).
Public propertyServer
Returns the streaming server interface which is used with this instance.
Public propertyStatus
Gets the current broadcast status.
Public propertyTotalBytesSend
Returns the total number of bytes send to the server during a broadcast.
Public propertyTotalConnectionTime
Returns the total online connection time (for how long the broadcast is already running since it was connected).
Back to Top
Events

  NameDescription
Public eventNotification
Event handler used to notify that the BroadCast status has changed or that a BroadCast event has occurred.
Back to Top
See Also