
Buffer cleanup
Example showing how to define the parameters for buffer cleanup/pruning in dash.js. The following settings are used:
- bufferPruningInterval:The interval (in seconds) in which the buffer is checked and pruned.
- bufferToKeep:
Defines the buffer that is kept in source buffer in seconds.
0|--bufferToPrune--|--bufferToKeep--|currentTime|