Skip to content

3.1.3: Seamless period transition issue in static MPD #3404

@fabienvallee

Description

@fabienvallee
Environment
  • Link to playable MPD file:
  • Dash.js version: 3.1.3
  • Browser name/version: firefox/chromium
  • OS name/version: linux

Seamless period transition seems to work quite well in the last release, this is really great!
However I face an issue with a static MPD.

Steps to reproduce
  • Play a multiperiod static mpd ( not sure mine had anything special - there is a small gap at the end of the first period but I don't know if it's related).
Observed behaviour
  • period transition is not seamless (no prebuffering, playback stops for buffering).
    Was seamless (w/ prebuffering) in previous versions.
Console output

The issue comes from the StreamController, in checkIfPrebufferingCanStart().
timelineConverter.calcSegmentAvailabilityRange always return invalid range.

const range = timelineConverter.calcSegmentAvailabilityRange(voRep, true);

I believe this is because the "dynamic" behavior is forced , it should be changed to:
timelineConverter.calcSegmentAvailabilityRange(voRep, adapter.getIsDynamic());

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions