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

chore(android): refactor side loaded text tracks #3754

Conversation

freeboub
Copy link
Collaborator

Summary

split side loaded text tracks parsing and handling by the player implementation

Motivation

Have a code which is more modular.

Changes

Add an intermediate classes to handle externally loaded subtitles tracks.
⚠️ Before the change, if no language was provided a fallback "language " + index was used. I think this is a bad behavior from the player because there is no translation support and index can quiet random.

Test plan

Tested with the sample

Copy link
Collaborator

@KrzysztofMoch KrzysztofMoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@KrzysztofMoch KrzysztofMoch merged commit efb338e into TheWidlarzGroup:master May 11, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants