-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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] Player is not able to pick up an audio track from the original video #5836
Comments
We currently do not support muxed and non-muxed content in the same stream. That's why your content doesn't work. Do you want to contribute (PR) to having this functionality? Thanks! |
Hi @avelad, Thanks! |
Hi @avelad. I was trying to see if I can help here (new to this repo). According to the HLS spec:
Since we're filtering out any audio rendition without a URI here, we end up only playing the one with a URI. Please correct me, if I misunderstood anything. Thanks! |
The only way to support a muxed video+audio stream and a separate unmuxed audio stream would be to demux the video+audio stream internally, so that we could choose which audio to send to MediaSource. Without that infrastructure, we can't choose between them equally. I don't know how much work that would be, but since we now have our own transmuxer, it should be more approachable than it was when we were stuck with a third-party transmuxer. (It might still be a lot of work, though. Not my area of expertise any more.) |
@joeyparrish |
@joeyparrish Please correct me if I am wrong - When I play the above URL, the current player plays In this case, the audio stream in the muxed stream is |
I haven't debugged this, and my memory might be out of date since @avelad is so prolific... but I believe that we are sending the audio+video stream to MSE where it may be treated as video-only inside the browser based on how we configured it. This would make the audio-only stream the only audio stream available. |
Live stream with this case: https://ztnr.rtve.es/ztnr/1694255.m3u8 |
Have you read the FAQ and checked for duplicate open issues?
Yes
If the problem is related to FairPlay, have you read the tutorial?
Yes
What version of Shaka Player are you using?
4.5.0
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 app
If custom app, can you reproduce the issue using our demo app?
Yes
What browser and OS are you using?
Chrome 118.0.5993.117
What are the manifest and license server URIs?
HLS playlist from the official Apple website. For example this manifest:
https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8
(from https://developer.apple.com/streaming/examples/basic-stream-osx-ios5.html)
What configuration are you using? What is the output of
player.getConfiguration()
?default one.
What did you do?
Run the above HLS playlist on the demo website.
What did you expect to happen?
The original audio track from the main video is visible in the player language menu.
According to HLS manifest:
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="bipbop_audio",LANGUAGE="eng",NAME="BipBop Audio 1",AUTOSELECT=YES,DEFAULT=YES
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="bipbop_audio",LANGUAGE="eng",NAME="BipBop Audio 2",AUTOSELECT=NO,DEFAULT=NO,URI="alternate_audio_aac/prog_index.m3u8"
We should have two audio tracks available on the menu but the player shows only one.
BipBop Audio 2
What actually happened?
We should have two audio tracks available on the menu but the player shows only one.
BipBop Audio 2
After some investigation, it looks like the player ignores audio with the name
BipBop Audio 1
because it doesn't contain a URIwhich I guess is wrong because this audio track is built into the video stream so it should be available inside the player. Any thoughts?
The text was updated successfully, but these errors were encountered: