Skip to content

DASH Multi-Period Stall #8795

@nullpointer-x

Description

@nullpointer-x

Have you read the FAQ and checked for duplicate open issues?
Yes, I’ve read the FAQ and confirmed there are no duplicate issues.

If the problem is related to FairPlay, have you read the tutorial?
N/A – this issue does not involve FairPlay.

What version of Shaka Player are you using?
v4.15.4 (latest release)

Can you reproduce the issue with our latest release version?
Yes

Can you reproduce the issue with the latest code from main?
Yes

Are you using the demo app or your own custom app?
I’m using the official Shaka Player demo app.

If custom app, can you reproduce the issue using our demo app?
Yes

What browser and OS are you using?
Chrome 137.0.7151.120 on macOS

For embedded devices (smart TVs, etc.), what model and firmware version are you using?
Not applicable; I’m not testing on an embedded device.

What are the manifest and license server URIs?
https://aktd.storage.googleapis.com/static/shaka-tests/merged.mpd

What configuration are you using? What is the output of player.getNonDefaultConfiguration()?
{
"manifest": {
"dash": {
"clockSyncUri": "https://time.akamai.com/?ms&iso"
}
},
"preferredAudioLanguage": "en-US",
"preferredTextLanguage": "en-US"
}

What did you do?
1- Open the URL in Chrome
2- Waited for ABR to trigger a bitrate change or period change (network throttling speeds this up).
3- Observed that playback stalls and no further segments are downloaded

What did you expect to happen?
Playback should continue seamlessly and download the next video segments at the newly selected bitrate by ABR without stalling.

What actually happened?
I merged two DashIF example manifests:

  1. Multi-period (SegmentTemplate@duration):
    https://dash.akamaized.net/dash264/TestCases/5a/nomor/1.mpd
  2. Single-period (SegmentTemplate@duration):
    https://dash.akamaized.net/akamai/bbb_30fps/bbb_30fps.mpd

The merged MPD uses:

  • Period 1 from the multi-period MPD
  • All content from the single-period MPD
  • Period 2 from the multi-period MPD

I then updated the MPD’s total playback duration.
While DASH.js plays this merged MPD without issues, Shaka Player stalls whenever ABR switches bitrate and again when transitioning between periods, ceasing to download any further segments.

Are you planning to send a PR to fix it?
Don't know how to fix

Metadata

Metadata

Assignees

Labels

component: DASHThe issue involves the MPEG DASH manifest formatpriority: P2Smaller impact or easy workaroundtype: bugSomething isn't working correctly

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions