[CAST] Support track selection overrides via setActiveMediaTracks
@tonihei is already working on this.
Since Jul 10, 2023.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Hello,
I encounter a problem with support for subtitles that I was able to reproduce while using the angel-one-hls file of the demo-cast app. I can be reproduce it on the remoteless Chromecast devices to and TVs with built-in cast devices.
While using the app player the subtitles are automatically visible, but when I've switched the player to Cast the captions are not available and can't be turned on.
The metioned HLS file contains information about the subtitles
#EXT-X-MEDIA:TYPE=SUBTITLES,URI="playlist_s-en.webvtt.m3u8",GROUP-ID="default-text-group",LANGUAGE="en",NAME="stream_0",DEFAULT=YES,AUTOSELECT=YES
I was even trying to manually add the subtitles button to the controls but still had no luck with enabling the subtitles on that cast device.
So my questions are:
- What's the status of supporing the subtitles control on the cast player?
- Are there any tips or examples of how to make it work?
- If support is not implemented at the moment, are there any workarounds to force this captions control?
As I'm able to turn on the captions using the Chromecast 4 remote, I understand that receiver app supports the captions in hls files but media3 is not supporting controling it from Player View controls.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.