Skip to content

Audio cutoff in dash mpd #8854

@ghouet

Description

@ghouet

Have you read the FAQ and checked for duplicate open issues?
yes

What version of Shaka Player are you using?

v4.15.6

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?
Demo

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

What browser and OS are you using?
Chrome 138.0.7204.93, MacOS 15.5 on Macbook Pro M3

What are the manifest and license server URIs?
https://storage.googleapis.com/gaetan/shaka_audio_bug/audio_bug.mpd

What configuration are you using? What is the output of player.getNonDefaultConfiguration()?
default configuration from the demo app.

What did you do?
Play the provided manifest on https://shaka-project.github.io/shaka-player/demo.
Wait for the end of the first ad, at the end (~30s) it says "hers.com" but the ".com" audio is often cut off.

What did you expect to happen?
The audio shouldn't be cut off.

What actually happened?
The player is reporting a gap even though there is no gap if you inspect the media:
Jumping forward 0.3113419999999998 seconds because of gap starting at 29.994666 and ending at 30.03
The audio rendition is actually 30.08s and the video is 30.03s.

We were wondering if shaka is getting an incorrect duration for the audio, thinks there is a gap, and then mistakenly jumps ahead. Some decoders may discard what they think are priming samples and shorten the audio. Our audio files do not have priming samples.

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

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working correctly

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions