Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bosborne
Level 7

HLS - Multiple audio tracks?

Is there any support to switch between audio tracks in an HLS live stream?
0 Kudos
4 REPLIES 4
RokuRobB
Roku Employee
Roku Employee

Re: HLS - Multiple audio tracks?

Not easily. This is possible with Smooth using the TrackIDAudio metadata value. For HLS though, you'd need to mux all of the audio tracks into each video stream bitrate variant and then select the audio by PID.
0 Kudos
bosborne
Level 7

Re: HLS - Multiple audio tracks?

Thanks, that's what I thought.

By "not easily", you mean we'd have to write a C extension or something to get access to the audio PID's?
0 Kudos
bosborne
Level 7

Re: HLS - Multiple audio tracks?

Just checking on this again, wondering how difficult it would really be to select a second audio PID from an HLS stream. thanks
0 Kudos
rtalwar
Level 7

Re: HLS - Multiple audio tracks?

Is this supported on Roku now for HLS ?
0 Kudos