SHOUTcast streaming parameter class.
To be used when creating an instance of the BroadCast class.
Inheritance Hierarchy
Un4seen.Bass.MiscStreamingServer
Un4seen.Bass.MiscSHOUTcast
Namespace: Un4seen.Bass.Misc
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
The SHOUTcast type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SHOUTcast(IBaseEncoder) |
Creates an instance for a SHOUTcast configuration parameter setting.
| |
SHOUTcast(IBaseEncoder, Boolean) |
Creates an instance for a SHOUTcast configuration parameter setting.
|
Properties
Name | Description | |
---|---|---|
AdminPassword |
SHOUTcast server admin password (the "AdminPassword" config item on the server's config file).
| |
AdminUsername |
SHOUTcast server admin user name (the "admin" username 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 SHOUTcast 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.) | |
UseSHOUTcastv2 |
Gets or sets, if the SHOUTcast v2 protocol should be used?
|
Methods
Name | Description | |
---|---|---|
Connect |
Establishes a TCP socket connection to the SHOUTcast server.
(Overrides StreamingServerConnect.) | |
Disconnect |
Disconnects from a SHOUTcast 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 SHOUTcast server.
(Overrides StreamingServerLogin.) | |
SendData |
Sends encoded sample data to the SHOUTcast server (e.g. the data as received in an own ENCODEPROC).
(Overrides StreamingServerSendData(IntPtr, Int32).) | |
UpdateStationArtwork |
Updates the station logo picture of the streaming server.
| |
UpdateTitle(String, String) |
Updates the song title of the streaming server.
(Overrides StreamingServerUpdateTitle(String, String).) | |
UpdateTitle(TAG_INFO, String) |
Updates the song title of the streaming server.
(Overrides StreamingServerUpdateTitle(TAG_INFO, String).) |
Fields
Name | Description | |
---|---|---|
Aim |
Your AOL Instant Messenger (AIM) name for listeners to interact with you. (aim.aol.com)
| |
Genre |
A genre list of the variety of content you're providing (usually 1-3 words like Rock, 80s, etc.)
| |
Icq |
If you have one, your ICQ number for listeners to interact with you through. (www.icq.com)
| |
Irc |
A channel on Efnet IRC for your listeners to interact with (don't worry if you don't understand this).
| |
Password |
SHOUTcast server broadcast password (the "Password" config item on the server's config file).
| |
PublicFlag | , if you want your broadcast to be listed in the public directory of SHOUTcast broadcasts (default).
Else , which means private.
| |
ServerAddress |
SHOUTcast server address (of the form 192.168.1.100 or shoutcast-server.domain.com).
| |
ServerPort |
SHOUTcast server TCP port (usually 8000).
| |
SID |
SHOUTcast v2 SID.
| |
StationName |
A brief description of your station or of what content you'll be broadcasting (usually 10-20 words).
| |
Url |
A URL of a website that contains information about your broadcast.
| |
Username |
SHOUTcast server broadcast user name (the "source" username which should be used).
| |
UseSSL |
Use SSL/TLS encryption.
| |
v2SendArtwork |
Should in-stream artwork be send to a SHOUTcast v2 server?
| |
v2SendSongTitleOnly |
Should SHOUTcast v2 metadata updates only use the SongTitle value?
| |
v2SongTitleNext |
The next song title ('artist - title') to report within the SHOUTcast v2 metadata.
| |
v2StationArtwork |
Fully qualified path and file name of the station logo picture.
| |
v2StreamArtwork |
Fully qualified path and file name of an alternative artwork picture.
|
Remarks
For more information about the SHOUTcast streaming parameters take a look to the www.shoutcast.com documentation.
Note: in order to use the SHOUTcast v2 protocol the SID property must be set!
See Also