Skip to content
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

Multiple audio tracks not supported #43

Open
jonattasts opened this issue Aug 10, 2022 · 6 comments
Open

Multiple audio tracks not supported #43

jonattasts opened this issue Aug 10, 2022 · 6 comments

Comments

@jonattasts
Copy link

As it would be possible to access and manipulate a hls video with multiple audios, I can only access and manipulate subtitles, but I need to access and change the audios (languages) of the m3u8 video. In the following example there are no audio tracks in the player reference.

image

@IlyaLekomtzev
Copy link

@jonatasts Hello, did you manage to solve the problem?

@jonattasts
Copy link
Author

I had to use only Hls.js to wrap the pure HTML video and with it I had access to the audio and subtitles interface to allow the management of both

@IlyaLekomtzev
Copy link

@jonatasts Thanks

@IlyaLekomtzev
Copy link

@jonatasts We would be grateful if you would give examples.

@jonattasts
Copy link
Author

Unfortunately I don't have access to the codes anymore, but I added a ref to the HTML video tag and followed the Hls.js doc to index the video's URL and handle the events and properties needed to exchange audio and subtitles.

@IlyaLekomtzev
Copy link

@jonatasts Thanks anyway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants