Sets the title of a cast stream (ANSI only).
Namespace: Un4seen.Bass.AddOn.Enc
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.2
Syntax
[DllImportAttribute("bassenc")] public static bool BASS_Encode_CastSetTitle( int handle, string title, string url )
Parameters
- handle
- Type: SystemInt32
The encoder handle. - title
- Type: SystemString
The title to set. - url
- Type: SystemString
URL to go with the title... = no URL. This applies to Shoutcast only (not Shoutcast 2).
Return Value
Type: BooleanIf successful, is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks
The ISO-8859-1 (Latin-1) character set should be used with Shoutcast and non-Ogg Icecast servers, and UTF-8 with Shoutcast 2 and Ogg Icecast servers.
ERROR CODE | Description |
---|---|
BASS_ERROR_HANDLE | handle is not valid. |
BASS_ERROR_NOTAVAIL | There isn't a cast set on the encoder. |
BASS_ERROR_TIMEOUT | The server did not respond to the request within the timeout period, as set with the BASS_CONFIG_NET_TIMEOUT config option. |
BASS_ERROR_UNKNOWN | Some other mystery problem! |
See Also