BASS.NET API for the Un4seen BASS Audio LibraryICEcast ClassBASS.NET API for the Un4seen BASS Audio Library
ICEcast streaming parameter class. To be used when creating an instance of the BroadCast class.
Inheritance Hierarchy


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

public sealed class ICEcast : StreamingServer

The ICEcast type exposes the following members.


Public methodCode exampleICEcast(IBaseEncoder)
Creates an instance for an ICEcast configuration parameter setting.
Public methodCode exampleICEcast(IBaseEncoder, Boolean)
Creates an instance for an ICEcast configuration parameter setting.

Public propertyAdminPassword
ICEcast server admin password (the "admin-password" which should be used for certain actions).
Public propertyAdminUsername
ICEcast server admin user name (the "admin-user" which should be used for certain actions).
Public propertyEncoder
Returns the encoder interface which is used with this instance.
(Inherited from StreamingServer.)
Public propertyForceUTF8TitleUpdates
Gets or Sets if title updates (via UpdateTitle(String, String)) should in any case use UTF-8 (default is ).
(Inherited from StreamingServer.)
Public propertyIsConnected
Returns , if connected and logged into the ICEcast server - else .
(Overrides StreamingServerIsConnected.)
Public propertyLastError
Gets or Sets the last streaming error.
(Inherited from StreamingServer.)
Public propertyLastErrorMessage
Gets or Sets the last streaming error message.
(Inherited from StreamingServer.)
Public propertySongTitle
The current/last song title.
(Inherited from StreamingServer.)
Public propertySongUrl
The current/last song url.
(Inherited from StreamingServer.)
Public propertyUseBASS
Gets if native BASSenc should be used to connect and stream to the server (as specified in the constructor).
(Inherited from StreamingServer.)

Public methodConnect
Establishes a TCP socket connection to the ICEcast server.
(Overrides StreamingServerConnect.)
Public methodDisconnect
Disconnects from an ICEcast server.
(Overrides StreamingServerDisconnect.)
Public methodDispose
Implement IDisposable.
(Inherited from StreamingServer.)
Protected methodFinalize
Finalization code.
(Inherited from StreamingServer.)
Public methodGetListeners
Returns the number of listeners currently connected.
(Overrides StreamingServerGetListeners(String).)
Public methodGetStats
Returns the XML stats of the server.
(Overrides StreamingServerGetStats(String).)
Public methodLogin
Performs a login and initializes the ICEcast server.
(Overrides StreamingServerLogin.)
Public methodSendData
Sends encoded sample data to the ICEcast server (e.g. the data as received in an own ENCODEPROC).
(Overrides StreamingServerSendData(IntPtr, Int32).)
Public methodUpdateArtistTitle
Updates the artist and title of the streaming server.
Public methodUpdateTitle(String, String)
Updates the song title of the streaming server.
(Overrides StreamingServerUpdateTitle(String, String).)
Public methodUpdateTitle(TAG_INFO, String)
Updates the song title of the streaming server.
(Inherited from StreamingServer.)

Public fieldMountPoint
The ICEcast mountpoint you want to use.
Public fieldPassword
ICEcast server broadcast password (the "source-password" config item on the server's config file).
Public fieldPublicFlag
, if you want your broadcast to be listed in the public directory of ICEcast broadcasts (default). Else , which means private.
Public fieldQuality
The bitrate quality name (e.g. "Quality").
Public fieldServerAddress
ICEcast server address (hostname, in the form or
Public fieldServerPort
ICEcast server TCP port (usually 8000).
Public fieldStreamDescription
A description of your stream or station or of what content you'll be broadcasting (usually 10-20 words).
Public fieldStreamGenre
A genre list of the variety of content you're providing (usually 1-3 words like Rock, 80s, etc.)
Public fieldStreamName
The name of your stream or station (usually 1-5 words).
Public fieldStreamUrl
A URL of a website that contains information about your broadcast.
Public fieldUsername
ICEcast server user name (the "source" username which should be used).

An instance of the class will providing all necessary setup and configuration data in order to connect to an ICEcast server.

For more information about the ICEcast streaming parameters take a look to the documentation.

See Also