Defines a generalized streaming server class interface that a StreamingServer class must implement.
Namespace: Un4seen.Bass.Misc
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.7
Syntax
The IStreamingServer type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Encoder |
Returns the encoder interface which is used with this instance.
| |
| ForceUTF8TitleUpdates |
Gets or Sets if title updates (via UpdateTitle(String, String)) should in any case use UTF-8 (default is ).
| |
| IsConnected |
Returns , if connected to a streaming server - else .
| |
| LastError |
Gets or Sets the last streaming error.
| |
| LastErrorMessage |
Gets or Sets the last streaming error message.
| |
| LocalNetworkCardIPAddress |
Gets or Sets a local IP address to use for cast server connections (=any, default):
| |
| SongTitle |
Gets or Sets the current/last song title.
| |
| SongUrl |
Gets or Sets the current/last song url.
| |
| UseBASS |
Gets if native BASS should be used to connect and stream to the server.
|
Methods
| Name | Description | |
|---|---|---|
| Connect |
Connects to a streaming server.
| |
| Disconnect |
Disconnects to a streaming server.
| |
| GetListeners |
Returns the number of listeners currently connected.
| |
| GetStats |
Returns the XML stats of the server.
| |
| Login |
Performs a login and/or init of the streaming server.
| |
| SendData |
Sends encoded sample data (manually) to the streaming server (e.g. the data as received in an own ENCODEPROC).
| |
| UpdateTitle(String, String) |
Updates the title song and/or url of the streaming server.
| |
| UpdateTitle(TAG_INFO, String) |
Updates the song title and/or url of the streaming server.
|
Remarks
See Also