-
Notifications
You must be signed in to change notification settings - Fork 6k
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 muxed audio missing format label #9608
Comments
Do you see this with 2.15.1 (i.e., the latest release)? I took a quick look at the code, and it seems to be written so that the label should be picked up. If that's not happening then I'm probably missing something, and it's probably a bug. If you can reproduce with 2.15.1, could you provide a complete HLS sample that we can use to easily reproduce the issue, either as a link to an accessible test stream or as a zip file containing the necessary files? The master playlist alone isn't sufficient. Thanks! |
@ojw28 We can't really provide a clear sample stream easily, however we have found a solution that we can apply on our forked version. You can see the change in the linked pull request, feel free to give us a feedback on that. |
I'm not sure, but that commit doesn't seem to make much sense to me. I don't understand why you'd want to set
Can you provide a DRM protected stream easily, even without the corresponding DRM server information? I'm not sure, but I suspect that the tracks are determined before the player needs the DRM keys, so that might be sufficient to be able to reproduce. Thanks! |
The |
Ah, I see. Could you try applying this change locally, to see whether it also resolves the issue correctly: 6b78164 Thanks! |
I apply and test this commit locally, seems it also works for me, thanks very much! Now we get two following muxed tracks, but the id is same, because we use one muxedAudioFormat, but from our master m3u8 it included two tracks which has no URI defined.
expected
|
Issue: #9608 #minor-release PiperOrigin-RevId: 410236626
I also add comment for commit 45857b5, For above audio-only case, it will output the expected result
But for normal case which has video tracks, muxed audio tracks, and additional audio tracks, the output has only one muxed audio track as following:
In my commit I enhance it to support multiple muxed audio tracks - change the single
|
Issue: #9608 PiperOrigin-RevId: 410236626
This is a good observation. We'll take a look; thanks!
There is a TODO about this here. If you've implemented it, please feel free to send us a pull request. If you've implemented it in a different way then that might also be interesting, or you could try and adapt your approach to match what's written in the TODO. |
Issue: google/ExoPlayer#9608 #minor-release PiperOrigin-RevId: 410236626
We have the following HLS (live) master playlist:
Based on the
HlsPlaylistParser
(line 514), if an audio track has no URI defined, then it will be stored in themuxedAudioFormat
. However in this case, whenever we query the audio tracks, the muxed one has no id/label in theFormat
.See the event logger's output:
This is causing a problem for us, as we would need to select the tracks based on the labels. The question is whether the missing labels of muxed audio tracks is intentional or if it's a bug? How could we workaround this issue on our side (without changing the manifest itself)?
Thanks in advance.
The text was updated successfully, but these errors were encountered: