ICEcast streaming parameter class.
To be used when creating an instance of the BroadCast class.
Inheritance Hierarchy
Un4seen.Bass.MiscStreamingServer
Un4seen.Bass.MiscICEcast
Namespace: Un4seen.Bass.Misc
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
The ICEcast type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ICEcast(IBaseEncoder) |
Creates an instance for an ICEcast configuration parameter setting.
| |
ICEcast(IBaseEncoder, Boolean) |
Creates an instance for an ICEcast configuration parameter setting.
|
Properties
Name | Description | |
---|---|---|
AdminPassword |
ICEcast server admin password (the "admin-password" which should be used for certain actions).
| |
AdminUsername |
ICEcast server admin user name (the "admin-user" which should be used for certain actions).
| |
Encoder |
Returns the encoder interface which is used with this instance.
(Inherited from StreamingServer.) | |
ForceUTF8TitleUpdates |
Gets or Sets if title updates (via UpdateTitle(String, String)) should in any case use UTF-8 (default is ).
(Inherited from StreamingServer.) | |
IsConnected |
Returns , if connected and logged into the ICEcast server - else .
(Overrides StreamingServerIsConnected.) | |
LastError |
Gets or Sets the last streaming error.
(Inherited from StreamingServer.) | |
LastErrorMessage |
Gets or Sets the last streaming error message.
(Inherited from StreamingServer.) | |
LocalNetworkCardIPAddress |
Gets or Sets a local IP address to use for cast server connections (=any, default):
(Inherited from StreamingServer.) | |
SongTitle |
The current/last song title.
(Inherited from StreamingServer.) | |
SongUrl |
The current/last song url.
(Inherited from StreamingServer.) | |
UseBASS |
Gets if native BASSenc should be used to connect and stream to the server (as specified in the constructor).
(Inherited from StreamingServer.) |
Methods
Name | Description | |
---|---|---|
Connect |
Establishes a TCP socket connection to the ICEcast server.
(Overrides StreamingServerConnect.) | |
Disconnect |
Disconnects from an ICEcast server.
(Overrides StreamingServerDisconnect.) | |
Dispose |
Implement IDisposable.
(Inherited from StreamingServer.) | |
Finalize |
Finalization code.
(Inherited from StreamingServer.) | |
GetListeners |
Returns the number of listeners currently connected.
(Overrides StreamingServerGetListeners(String).) | |
GetStats |
Returns the XML stats of the server.
(Overrides StreamingServerGetStats(String).) | |
Login |
Performs a login and initializes the ICEcast server.
(Overrides StreamingServerLogin.) | |
SendData |
Sends encoded sample data to the ICEcast server (e.g. the data as received in an own ENCODEPROC).
(Overrides StreamingServerSendData(IntPtr, Int32).) | |
UpdateArtistTitle |
Updates the artist and title of the streaming server.
| |
UpdateTitle(String, String) |
Updates the song title of the streaming server.
(Overrides StreamingServerUpdateTitle(String, String).) | |
UpdateTitle(TAG_INFO, String) |
Special handling for ICEcast and special encoders (Flac, Ogg, ...) who need new bitstream's.
(Overrides StreamingServerUpdateTitle(TAG_INFO, String).) |
Fields
Name | Description | |
---|---|---|
MountPoint |
The ICEcast mountpoint you want to use.
| |
Password |
ICEcast server broadcast password (the "source-password" config item on the server's config file).
| |
PublicFlag | , if you want your broadcast to be listed in the public directory of ICEcast broadcasts (default).
Else , which means private.
| |
Quality |
The bitrate quality name (e.g. "Quality").
| |
ServerAddress |
ICEcast server address (hostname, in the form 192.168.1.100 or icecast-server.domain.com).
| |
ServerPort |
ICEcast server TCP port (usually 8000).
| |
StreamDescription |
A description of your stream or station or of what content you'll be broadcasting (usually 10-20 words).
| |
StreamGenre |
A genre list of the variety of content you're providing (usually 1-3 words like Rock, 80s, etc.)
| |
StreamName |
The name of your stream or station (usually 1-5 words).
| |
StreamUrl |
A URL of a website that contains information about your broadcast.
| |
UpdateMetaDataUsingAdminInterface |
Update the metadata (song title changes) by using the admin interface (e.g. supported for MP3 or AAC streams).
| |
UpdateMetaDataUsingNewBitstreams |
Update the metadata (song title changes) by using a new bitstream for each change (e.g. ICEcast requires this for FLAC or OGG).
| |
UsePUT |
Use the PUT method when connecting to an Icecast server (should be used with ICEcast v2.4 or above), else the SOURCE method is used. This flag is applied automatically when the UseSSL property is specified.
| |
Username |
ICEcast server user name (the "source" username which should be used).
| |
UseSSL |
Use SSL/TLS encryption.
|
Remarks
For more information about the ICEcast streaming parameters take a look to the www.icecast.org documentation.
See Also