Hls.js: Support alternate audio track

Created on 13 Oct 2015  路  11Comments  路  Source: video-dev/hls.js

Most helpful comment

implemented

All 11 comments

Looking to implement alternate audio track support in hls.js, the idea is to support out of band audio track. I am still going through the code any help or pointers are welcome.

Here is the source URL I am working with:
https://devimages.apple.com.edgekey.net/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8

Hi,
Support for alternate audio would be great. Any progress on this ?
Take a look to this : http://blog.denivip.ru/index.php/2013/10/alternative-audio-tracks-in-html5-video/?lang=en

Might help ?

@scramatte Thanks for the link, I am working with hls.js where it loads the alternate audio m3u8 and mux into the mp4 and send it to MSE. I got to read the m3u8 now working on events to handle the audio track.

Perhaps you will be interested in my implementation HLSv5 with alternate audio and WebVTT subtitles. Sorry for the code this is my first project in JavaScript, just urgently needed for my project. But I hope it will be useful.

Great ! Will check this

Prerfect. My implementation was like work around your code.
Regarding audio tracks.
Possible situation when playlist contain several groups of audio tracks and each profile have own audio group.
For example when profiles with low bitrates have audio with low bitrate too.
This is not a normal situation, but it is something that I have met.
When level switched player should select appropriate audio treck regarding corresponded audio group.

:+1:

Is this still on the agenda?

I tested the alt-audio branch on a live stream, which seems to work initially but fails to refetch the audio playlist and eventually halts the playback.

yes still in agenda, the idea is to merge it on master branch before the end of June and then start to stabilize master branch
plz note that ATM alt-audio implementation only supports VoD stream

implemented

Was this page helpful?
0 / 5 - 0 ratings