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

HLS in separate audio and video always out of sync #6277

Open
cgjh1 opened this issue Feb 22, 2024 · 4 comments
Open

HLS in separate audio and video always out of sync #6277

cgjh1 opened this issue Feb 22, 2024 · 4 comments
Assignees
Labels
component: HLS The issue involves Apple's HLS manifest format priority: P1 Big impact or workaround impractical; resolve before feature release type: bug Something isn't working correctly
Milestone

Comments

@cgjh1
Copy link

cgjh1 commented Feb 22, 2024

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

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

not fairplay problem

What version of Shaka Player are you using?
https://cdnjs.cloudflare.com/ajax/libs/shaka-player/4.7.9/shaka-player.compiled.js
also tested on demo page
https://shaka-player-demo.appspot.com

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?
tried both

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

What browser and OS are you using?
Tested on Chrome and Safari

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

What are the manifest and license server URIs?
It fails on all hls when audio is not in the same file as the video.
If you set :
Prefer native HLS playback when available = true
and play on safari it works,
but on chrome hls with audio and video seperat, always out of sync.
Not ONE single example found online showing use of hls live with audio/video separate
Can not use dash since no player can recover if a live feed stops and the restarts, must have discontinuity support.

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

What did you do?

What did you expect to happen?

What actually happened?

@cgjh1 cgjh1 added the type: bug Something isn't working correctly label Feb 22, 2024
@shaka-bot shaka-bot added this to the v5.0 milestone Feb 22, 2024
@joeyparrish joeyparrish added the status: unable to reproduce Issue could not be reproduced by the team label Feb 22, 2024
@joeyparrish
Copy link
Member

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

cgjh1 commented Feb 23, 2024 via email

@shaka-bot shaka-bot removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label Feb 23, 2024
@joeyparrish joeyparrish removed the status: unable to reproduce Issue could not be reproduced by the team label Feb 23, 2024
@avelad avelad added the component: HLS The issue involves Apple's HLS manifest format label Feb 24, 2024
@joeyparrish joeyparrish added the priority: P1 Big impact or workaround impractical; resolve before feature release label Mar 12, 2024
@joeyparrish joeyparrish self-assigned this Mar 12, 2024
@avelad avelad modified the milestones: v4.8, v4.9 Apr 26, 2024
@roberto-sartori-gl
Copy link

roberto-sartori-gl commented Apr 28, 2024

I think I have the same issue: I have a bunch of hls and a bunch of dash streams.

All the dash streams are fine, but all the hls streams show the out of sync problem mentioned here. The hls manifests have separate tracks for audio and video.

@bazeport-jhe
Copy link

bazeport-jhe commented May 3, 2024

I can report that I am experiencing what I think is the same issue as described above. AV out of sync with separate audio and video streams. Safari is OK, Chrome and Firefox not OK. Tested with v4.7.11 and 4.8.1

Update: Setup a two test applications one with Shaka player and one with HLS.js - HLS.js plays the content fine in all browsers, Shaka struggles as mentioned above. Another thing to note is that in Shaka the audio is behind almost exactly 3 seconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: HLS The issue involves Apple's HLS manifest format priority: P1 Big impact or workaround impractical; resolve before feature release type: bug Something isn't working correctly
Projects
None yet
Development

No branches or pull requests

6 participants