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

Basic support for subtitles and audio tracks #194

Closed
3 tasks done
StaehliJ opened this issue Aug 3, 2023 · 0 comments · Fixed by #199
Closed
3 tasks done

Basic support for subtitles and audio tracks #194

StaehliJ opened this issue Aug 3, 2023 · 0 comments · Fixed by #199
Assignees
Milestone

Comments

@StaehliJ
Copy link
Contributor

StaehliJ commented Aug 3, 2023

As a user I want to be able to see subtitles and audio tracks available for some content, as well as to select / deselect a track.

Acceptance criteria

  • An API is provided to list available subtitles and audio tracks.
  • An API is provided to list the current subtitle and audio track selection.
  • An API is provided to select a track (or remove selection if this makes sense).
  • Forced subtitles must not treated in a special way.
  • The behavior is correct when no subtitles or audio tracks are available.

Documentation

See official documentation.

Hints

There is multiple way to select text and audio tracks. One is to override the selection for a given track, the other is to set preferred language or role to the TrackSelector.

Tasks

  • Add API to list available subtitles and audio tracks (forced subtitles not filtered).
  • Add API to change the current track selection (basic, no automatic mode).
  • Display menu in the demo.
@StaehliJ StaehliJ added this to the Tracks milestone Aug 3, 2023
@StaehliJ StaehliJ linked a pull request Aug 9, 2023 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant