cookpete / react-player

A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion
https://cookpete.github.io/react-player
MIT License
8.89k stars 1.12k forks source link

HLS audio tracks #1773

Closed Impre-visible closed 3 weeks ago

Impre-visible commented 4 weeks ago

Current Behavior

I want the React Player, to allow users to select the audio track played, if multiple exists in a hls file.

Expected Behavior

HLS.js allow users to select audio tracks, you can test that on there website. Being able to do that by default, would be great.

Steps to Reproduce

  1. Create a m3u8 master file with audio and video tracks
  2. Import this m3u8 playlist to ReactPlayer
  3. You can't select the track

Environment