BASS_CONFIG_HLS_DELAY config option
The delay to aim for in live streams.
BASS_SetConfig(
BASS_CONFIG_HLS_DELAY,
DWORD delay
);
Parameters
delay | The delay (in seconds) to aim for in live streams... 0 = the stream's default delay.
|
Remarks
A live stream's delay is determined by the total length of the media segments in its media playlist (excluding any delay that occurs before the sound reaches the stream). When that exceeds the target delay set via this option, the oldest segments will be skipped to bring the delay down to the target (but not below it). Setting the delay too low may result in stalling during playback.
The default setting is 30 seconds. Changes only affect subsequently created HLS streams, not any that already exist.
See also
BASS_HLS_StreamCreateFile, BASS_HLS_StreamCreateURL
BASS_GetConfig, BASS_SetConfig