mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 04:01:52 +00:00
HLS.js: Add liveBackBufferLength property to Hls.Config
This commit is contained in:
Vendored
+8
@@ -486,6 +486,14 @@ declare namespace Hls {
|
||||
* Android Google Chrome, etc. set this value to true.
|
||||
*/
|
||||
liveDurationInfinity: boolean;
|
||||
/**
|
||||
* (default: Infinity)
|
||||
* Sets the maximum length of the buffer, in seconds, to keep during a live stream. Any video
|
||||
* buffered past this time will be evicted. Infinity means no restriction on back buffer length;
|
||||
* 0 keeps the minimum amount. The minimum amount is equal to the target duration of a segment
|
||||
* to ensure that current playback is not interrupted.
|
||||
*/
|
||||
liveBackBufferLength: number;
|
||||
/**
|
||||
* (default: true)
|
||||
* Enable WebWorker (if available on browser) for TS demuxing/MP4 remuxing, to improve performance and avoid lag/frame drops.
|
||||
|
||||
Reference in New Issue
Block a user