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

The SHOUTcast type exposes the following members.
Constructors

  NameDescription
Public methodSHOUTcast(IBaseEncoder)
Creates an instance for a SHOUTcast configuration parameter setting.
Public methodSHOUTcast(IBaseEncoder, Boolean)
Creates an instance for a SHOUTcast configuration parameter setting.
Back to Top
Methods

  NameDescription
Public methodConnect
Establishes a TCP socket connection to the SHOUTcast server.
(Overrides StreamingServer Connect .)
Public methodDisconnect
Disconnects from a SHOUTcast server.
(Overrides StreamingServer Disconnect .)
Public methodDispose
Implement IDisposable.
(Inherited from StreamingServer.)
Protected methodFinalize
Finalization code.
(Inherited from StreamingServer.)
Public methodGetListeners
Returns the number of listeners currently connected.
(Overrides StreamingServer GetListeners(String).)
Public methodGetStats
Returns the XML stats of the server.
(Overrides StreamingServer GetStats(String).)
Public methodLogin
Performs a login and initializes the SHOUTcast server.
(Overrides StreamingServer Login .)
Public methodSendData
Sends encoded sample data to the SHOUTcast server (e.g. the data as received in an own ENCODEPROC).
(Overrides StreamingServer SendData(IntPtr, Int32).)
Public methodUpdateStationArtwork
Updates the station logo picture of the streaming server.
Public methodUpdateTitle(String, String)
Updates the song title of the streaming server.
(Overrides StreamingServer UpdateTitle(String, String).)
Public methodUpdateTitle(TAG_INFO, String)
Updates the song title of the streaming server.
(Overrides StreamingServer UpdateTitle(TAG_INFO, String).)
Back to Top
Fields

  NameDescription
Public fieldAim
Your AOL Instant Messenger (AIM) name for listeners to interact with you. (aim.aol.com)
Public fieldGenre
A genre list of the variety of content you're providing (usually 1-3 words like Rock, 80s, etc.)
Public fieldIcq
If you have one, your ICQ number for listeners to interact with you through. (www.icq.com)
Public fieldIrc
A channel on Efnet IRC for your listeners to interact with (don't worry if you don't understand this).
Public fieldPassword
SHOUTcast server broadcast password (the "Password" config item on the server's config file).
Public fieldPublicFlag
 , if you want your broadcast to be listed in the public directory of SHOUTcast broadcasts (default). Else  , which means private.
Public fieldServerAddress
SHOUTcast server address (of the form 192.168.1.100 or shoutcast-server.domain.com).
Public fieldServerPort
SHOUTcast server TCP port (usually 8000).
Public fieldSID
SHOUTcast v2 SID.
Public fieldStationName
A brief description of your station or of what content you'll be broadcasting (usually 10-20 words).
Public fieldUrl
A URL of a website that contains information about your broadcast.
Public fieldUsername
SHOUTcast server broadcast user name (the "source" username which should be used).
Public fieldv2SendArtwork
Should in-stream artwork be send to a SHOUTcast v2 server?
Public fieldv2SendSongTitleOnly
Should SHOUTcast v2 metadata updates only use the SongTitle value?
Public fieldv2SongTitleNext
The next song title ('artist - title') to report within the SHOUTcast v2 metadata.
Public fieldv2StationArtwork
Fully qualified path and file name of the station logo picture.
Public fieldv2StreamArtwork
Fully qualified path and file name of an alternative artwork picture.
Back to Top
Properties

  NameDescription
Public propertyAdminPassword
SHOUTcast server admin password (the "AdminPassword" config item on the server's config file).
Public propertyAdminUsername
SHOUTcast server admin user name (the "admin" username 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 SHOUTcast server - else  .
(Overrides StreamingServer IsConnected.)
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 propertyUseSHOUTcastv2
Gets or sets, if the SHOUTcast v2 protocol should be used?
Back to Top
See Also