Skip to content

Playback stops when transitioning between periods - no video segments being fetched. #8839

@sobbe81

Description

@sobbe81

Have you read the FAQ and checked for duplicate open issues?
Yes. There are some other multi period issues but not sure if it's the same. Potentially the same as #8795

If the problem is related to FairPlay, have you read the tutorial?
N/A

What version of Shaka Player are you using?
4.15.5

Can you reproduce the issue with our latest release version?
Yes. The problem in #8795 is not reproducible in 4.4.3 so we tested that one and we cannot reproduce our issue either with that one.

Can you reproduce the issue with the latest code from main?
Have not tried

Are you using the demo app or your own custom app?
custom

If custom app, can you reproduce the issue using our demo app?
DRM encrypted so I cannot test

What browser and OS are you using?
Chrome, Mac

For embedded devices (smart TVs, etc.), what model and firmware version are you using?
N/A

What are the manifest and license server URIs?
Send this separately

What configuration are you using? What is the output of player.getNonDefaultConfiguration()?

What did you do?
Play multiperiod VOD (DAI)

What did you expect to happen?
All periods should play.

What actually happened?
When transitioning between content and ad break, shaka stops downloading video segments and playback stops. Audio and text segments are being downloaded but not video. If we force the player not to use the highest quality it works.

From the logs we wee that the SegmentPrefetch for video jumps from 1660 which should be the last segment in content period to 1843.98368 which is the first segment in the next content period and skipping the entire ad break.

11:35:34.427 player.js:8465 SegmentPrefetch(video:66) reused prefetched init segment at time, mapSize 1
11:35:34.488 player.js:8465 SegmentPrefetch(video:66) reused prefetched segment at time: 1654.98928 mapSize 1
11:35:34.863 player.js:8465 SegmentPrefetch(text:12) pop and abort prefetched segment at time: 1655
11:35:34.864 player.js:8465 SegmentPrefetch(text:12) reused prefetched segment at time: 1661 mapSize 1
11:35:35.244 player.js:8465 SegmentPrefetch(audio:10) pop and abort prefetched segment at time: 1655.0053333333333
11:35:35.246 player.js:8465 SegmentPrefetch(audio:10) reused prefetched segment at time: 1661 mapSize 1
11:35:35.973 player.js:8465 SegmentPrefetch(video:66) pop and abort prefetched segment at time: 1654.98928
11:35:35.975 player.js:8465 SegmentPrefetch(video:66) reused prefetched segment at time: 1660.98928 mapSize 1
11:35:36.677 player.js:8465 SegmentPrefetch(video:66) pop and abort prefetched segment at time: 1660.98928
11:35:36.679 player.js:8465 SegmentPrefetch(video:66) reused prefetched segment at time: 1843.98368 mapSize 1
11:35:36.796 player.js:8465 SegmentPrefetch(audio:10) pop and abort prefetched segment at time: 1661
11:35:36.797 player.js:8465 SegmentPrefetch(audio:10) pop and abort prefetched init segment
11:35:36.798 player.js:8465 SegmentPrefetch(audio:10) reused prefetched init segment at time, mapSize 1
11:35:36.904 player.js:8465 SegmentPrefetch(text:12) pop and abort prefetched segment at time: 1661
11:35:36.905 player.js:8465 SegmentPrefetch(text:12) pop and abort prefetched init segment
11:35:36.906 player.js:8465 SegmentPrefetch(text:12) reused prefetched init segment at time, mapSize 1
11:35:36.928 player.js:8465 SegmentPrefetch(audio:10) reused prefetched segment at time: 1666.989 mapSize 1
11:35:36.965 player.js:8465 SegmentPrefetch(audio:10) pop and abort prefetched segment at time: 1666.989
11:35:36.966 player.js:8465 SegmentPrefetch(audio:10) pop and abort prefetched init segment
11:35:36.967 player.js:8465 SegmentPrefetch(audio:10) reused prefetched init segment at time, mapSize 1
11:35:37.048 player.js:8465 SegmentPrefetch(text:12) reused prefetched segment at time: 1666.989 mapSize 1

Are you planning to send a PR to fix it?
no

Metadata

Metadata

Assignees

Labels

component: DASHThe issue involves the MPEG DASH manifest formatpriority: P1Big impact or workaround impractical; resolve before feature releasetype: bugSomething isn't working correctly

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions