BASS_Encode_CastSetTitle
Sets the title of a cast stream.
BOOL BASS_Encode_CastSetTitle(
HENCODE handle,
char *title,
char *url
);
Parameters
handle | The encoder handle.
|
title | The title... NULL = no title.
|
url | URL to go with the title... NULL = no URL. This applies to Shoutcast only (not Shoutcast 2).
|
Return value
If successful, TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.
Error codes
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!
|
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.
See also
BASS_Encode_CastInit, BASS_Encode_CastSendMeta, BASS_Encode_ServerInit