Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Multiple Audio renditions are not working when using Flash


Dear Sirs,

I have an issue which involves selecting multi audio tracks.
The issue is that when using flash player, I do not receive any multiple audio track selections. It works great on safari which uses html5 playback.
I have tested the stream with your official testing tool:
http://demo.jwplayer.com/stream-tester/

Manifest file link:
http://s1.namai.tv:8081/KidZone/index.m3u8?token=NjcrZm9ySndTdXBwb3J0QHRlc3QuY29tKzIwMTYtMDgtMjMgMDY6MTY6MDIuMDAwMDAwK2VhZGt0ZmIxYm4wOG5uOThiOGE4NWE0dDM2

Manifest file content:
#EXTM3U
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",NAME="lit 2",DEFAULT=YES,AUTOSELECT=YES,LANGUAGE="lit"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",NAME="rus 3",DEFAULT=NO,AUTOSELECT=YES,LANGUAGE="rus",URI="tracks-3/index.m3u8?token=NjcrZm9ySndTdXBwb3J0QHRlc3QuY29tKzIwMTYtMDgtMjMgMDY6MTY6MDIuMDAwMDAwK2VhZGt0ZmIxYm4wOG5uOThiOGE4NWE0dDM2"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",NAME="lav 4",DEFAULT=NO,AUTOSELECT=YES,LANGUAGE="lav",URI="tracks-4/index.m3u8?token=NjcrZm9ySndTdXBwb3J0QHRlc3QuY29tKzIwMTYtMDgtMjMgMDY6MTY6MDIuMDAwMDAwK2VhZGt0ZmIxYm4wOG5uOThiOGE4NWE0dDM2"
#EXT-X-STREAM-INF:AUDIO="aac",RESOLUTION=1024x576,CODECS="avc1.4d0028,mp4a.40.2",BANDWIDTH=3138000
tracks-1,2/index.m3u8?token=NjcrZm9ySndTdXBwb3J0QHRlc3QuY29tKzIwMTYtMDgtMjMgMDY6MTY6MDIuMDAwMDAwK2VhZGt0ZmIxYm4wOG5uOThiOGE4NWE0dDM2

I look forward to your reply.

Yours faithfully

4 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi there,

When I try to test with your stream’s URL, the server is returning a 403 Forbidden error. Is the token expired by any chance?

Thank you.

a...

User  
0 rated :

Hello,

thank you for a fast response.
I have created a different token for you, this one should work fine.
http://s1.namai.tv:8081/KidZone/index.m3u8?token=vk45HHws1288o

Sincerely

Alex

JW Player Support Agent  
0 rated :

Hi there,

I am able to reproduce the behavior in Chrome. The menu showing two of the audio renditions appears but selecting one or the other appears to have no effect.

I took a look at your HLS stream’s manifest and it does not look like its set up as I would expect it to be in order to have multiple audio tracks. Usually, the different audio tracks would be listed, each with the URI for the stream for that particular audio track only and they would not include any video. Following the audio tracks would be a list of the different quality streams for the video, each with their own URIs, and these would just contain the video and not any audio. The player would then join them together to show to the viewer.

Below, I included a sample HLS manifest of a stream with alternative audio tracks that can be found in the HLS specification.

#EXTM3U
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",NAME="English",DEFAULT=YES,AUTOSELECT=YES,LANGUAGE="en",URI="main/english-audio.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",NAME="Deutsch",DEFAULT=NO,AUTOSELECT=YES,LANGUAGE="de",URI="main/german-audio.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",NAME="Commentary",DEFAULT=NO,AUTOSELECT=NO,LANGUAGE="en",URI="commentary/audio-only.m3u8"
#EXT-X-STREAM-INF:BANDWIDTH=1280000,CODECS="...",AUDIO="aac"
low/video-only.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=2560000,CODECS="...",AUDIO="aac"
mid/video-only.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=7680000,CODECS="...",AUDIO="aac"
hi/video-only.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=65000,CODECS="mp4a.40.5",AUDIO="aac"
main/english-audio.m3u8

(Just FYI – The last track, english-audio.m3u8, is included to just play the audio for viewers with extremely low bandwidth connections and has nothing to do with multiple audio tracks.)

Please let me know if you need any more help or have any other questions.

Thank you!

a...

User  
0 rated :

Hello,

Thank you for the answer. Appropriate actions will be taken.

Sincerely

This question has received the maximum number of answers.