BASS_CONFIG_ENCODE_CAST_PROXY config option

Proxy server settings for connecting to cast servers.

BASS_SetConfigPtr(
    BASS_CONFIG_ENCODE_CAST_PROXY,
    char *proxy
);

Parameters

proxyThe proxy server settings, in the form of "user:pass@server:port"... NULL = do not use a proxy. If only the "server:port" part is specified then that proxy server is used without any authorization credentials.

Remarks

This setting affects how the following functions connect to servers: BASS_Encode_CastInit, BASS_Encode_CastGetStats, BASS_Encode_CastSetTitle. When a proxy server is used, it needs to support the HTTP "CONNECT" method. The default setting is NULL (do not use a proxy).

A copy is made of the provided string, so it does not need to persist beyond the BASS_SetConfigPtr call.

Platform-specific

On Windows and Windows CE, the BASS_UNICODE flag can be used with a UTF-16 string ("wchar_t" rather than "char").

See also

BASS_GetConfigPtr, BASS_SetConfigPtr