Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safari HLS playback issue, works fine with native HTML5 video player in Safari #7471

Open
joeyjiron06 opened this issue Oct 23, 2024 · 4 comments
Labels
type: bug Something isn't working correctly
Milestone

Comments

@joeyjiron06
Copy link

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

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

N/A

What version of Shaka Player are you using?

4.11.9

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 tried in both and the both error out with the same error

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

What browser and OS are you using?
Safari Mac OSX 14.5 (23F79)
Safari iOS 18.0.1

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

What are the manifest and license server URIs?
https://cdn-dynmedia-1.microsoft.com/is/content/microsoftcorp/why-surface-pro-9-world-class-design-labs-feature_video_en-us-AVS.m3u8?packagedStreaming=true

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

What did you do?

shaka.polyfill.installAll();

const player = new shaka.Player();
const url = 'https://cdn-dynmedia-1.microsoft.com/is/content/microsoftcorp/why-surface-pro-9-world-class-design-labs-feature_video_en-us-AVS.m3u8?packagedStreaming=true';

await player.attach(videoElement);
await player.load(url);

What did you expect to happen?
The player should play the whole video.

What actually happened?
The player plays the first ~16 seconds, then freezes and doesn't continue playback.
When i tested this with a native HTML5 Video element and use the same url, the entire video plays back just fine without any issues.

ScreenRecording_10-22-2024.16-51-05_1.1.mp4

Are you planning send a PR to fix it?
no

@joeyjiron06 joeyjiron06 added the type: bug Something isn't working correctly label Oct 23, 2024
@joeyparrish
Copy link
Member

I played this in the demo, and I see lots of "Possible encoding problem detected! Unexpected buffered range for reference ..."

I also see Jumping forward 1.193695 seconds because of gap starting at 16.141 and ending at 17.017, which corresponds to your 16-second playback.

@joeyparrish
Copy link
Member

Since your content uses TS and gets transmuxed, this could be related to this issue where the transmuxer creates gappy output that stalls out on Safari: #7462

@shaka-bot shaka-bot added this to the v4.12 milestone Oct 23, 2024
@joeyparrish
Copy link
Member

Someone pinged me privately to say this content has segments that do not start with an IDR frame, and that this may be an unique aspect to the issue.

@avelad avelad added the status: waiting on response Waiting on a response from the reporter(s) of the issue label Oct 23, 2024
@joeyjiron06
Copy link
Author

are you saying that PR fixes this issue? happy to give more details if you neeed

@shaka-bot shaka-bot removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working correctly
Projects
None yet
Development

No branches or pull requests

4 participants