Optional
bufferOptional
bufferThe minimum number of seconds to buffer ahead of the current position.
Default: 10
Optional
bufferThe maximum ratio to buffer ahead of the current position.
Ratio is "buffered duration left to play" / "total buffered duration around the current position"
Default: 0.75
Optional
bufferThe minimum ratio to buffer ahead of the current position.
Ratio is "buffered duration left to play" / "total buffered duration around the current position"
Default: 0.5
Optional
maxMaximum number of unrecoverable decode failures that can occur before shutting down.
Optional
maxMaximum number of unrecoverable network failures that can occur before shutting down.
Optional
probeSpecifies the maximum download chunk size during media probe (reading file metadata before segmentation starts).
Default: 1024 * 1024 * 100 (100 mb)
Optional
probeSpecifies the minimum download chunk size during media probe (reading file metadata before segmentation starts).
Default: 1024 * 1024 * 2 (2 mb)
Optional
quotaSpecifies the window of time to keep around the current play head position when the browser reports that the memory quota for a source buffer is exceeded.
|--------------------|----c----|-------------------------|
Here "c" is the play head position. All buffered data outside of the window around "c" will be removed to free up memory.
Default: 20
Optional
seekSpecifies the number of seconds to buffer before the seek target.
Default: 5
Optional
segmentSpecifies the maximum size of the segmentation download chunk size.
Default: 1024 * 1024 * 10 (10 mb)
Optional
segmentSpecifies the minimum size of the segmentation download chunk size.
Default: 1024 * 1024 * 2 (2 mb)
Optional
segmentSpecifies the number of seconds of media that we want to include per download chunk size. This value (after conversion to bytes) is clamped between segmentChunkSizeMinBytes and segmentChunkSizeMinBytes.
Default: 2
Optional
segmentationSpecifies the number of seconds to set as target for the segmentation process (mp4 to fmp4). This is a fine-tune setting that you most likely don't want to change.
Default: 10
Optional
subtitleSubtitle codecs that will be parsed for TTML/IMSC.
Default: ["metx", "stpp"]
Optional
subtitleSubtitle codecs that will be parsed for SCC.
Default: ["c608", "c708"]
Optional
subtitleSubtitle codecs that will be parsed for VTT.
Default: ["wvtt", "mett", "sbtt", "stxt", "tx3g"]
Optional
subtitleSpecifies the chunk size to use for subtitle extraction process. This is a fine-tune setting that you most likely don't want to change.
Default: 1
Optional
titleTrack titles will be blocked from being picked.
Optional
updateCallback called when a request to the current url fails with a client error. Return the another url you want to retry or return null to skip the retry.
the failed response
Optional
verboseDetermines the logging level.
Set to "true" or LogLevel.INFO to enable verbose logging. Set to LogLevel.DEBUG to enable even more verbose logging.
Default: false
The maximum number of seconds to buffer ahead of the current position.
Default: 60