BASS_CONFIG_ENCODE_CAST_TIMEOUT config option

The time to wait to send data to a cast server.

BASS_SetConfig(
    BASS_CONFIG_ENCODE_CAST_TIMEOUT,
    DWORD timeout
);

Parameters

timeoutThe time to wait, in milliseconds.

Remarks

When an attempt to send data is timed-out, the data is discarded. BASS_Encode_SetNotify can be used to receive a notification of when this happens.

The default timeout is 5 seconds (5000 milliseconds). Changes take immediate effect.

See also

BASS_Encode_CastInit, BASS_Encode_SetNotify

BASS_GetConfig, BASS_SetConfig