
Buffer target
Example showing how to define the buffer targets in dash.js. The following settings are used:
- bufferTimeDefault:The time that the internal buffer target will be set to post startup/seeks (used when not playing at the top quality. See bufferTimeAtTopQuality).
- bufferTimeAtTopQuality:The time that the internal buffer target will be set to once playing the top quality.
- bufferTimeAtTopQualityLongForm:The time that the internal buffer target will be set to once playing the top quality for long form content.
- longFormContentDurationThreshold:The threshold which defines if the media is considered long form content.