Skip to content

Jump gaps feature

Vinay Rosenberg requested to merge github/fork/epiclabsDASH/jump-gaps into development

Created by: epiclabsDASH

Enable dash.js to jump over small time gaps in the stream. A gap is defined as small when it is shorter or equal to the limit defined with the MediaPlayer method setSmallGapLimit. By default, smallGapLimit value is set to 0.8.

By default jump gap feature is disabled. If you want to enable it you must use the MediaPlayer method setJumpGaps.

This PR also adds a new UI control to Dash Reference Player that allows the user to enable/disable jump gap feature with the UI. By default jump gaps feature is enabled for the Dash Reference Player.

Note: Some of the work done here is based on a PR previously sent by @Weiren1991 (#2102). There were some things to fix there and some conflicts to resolve, so I preferred to sent a new PR and keep everything as cleaner as possible. Anyway, Thanks @Weirein1991 for your efforts and contribution.

Merge request reports