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

Not able to display captions using castplayer and MediaItem.Subtitle while casting #8955

Closed
jazimm opened this issue May 18, 2021 · 1 comment
Assignees

Comments

@jazimm
Copy link

jazimm commented May 18, 2021

I have implemented exoplayer2.ext.cast.CastPlayer utilizing dash and can view subtitles when calling setMediaItem on an instance of exoplayer2.Player.setMediaItem with a MediaItem that includes a MediaItem.Subtitle in the MediaItem.Builder(). The dash stream will play sucessfully on the Android TV device but I have not been able to determine how to turn on the captions while casting. When playing on the exoplayer on the phone I can set the preferred caption using the DefaultTrackSelector but can you inform me how to do the same on the Castalbe device. Thanks very much.

@icbaker icbaker self-assigned this May 18, 2021
@icbaker
Copy link
Collaborator

icbaker commented May 18, 2021

This looks like a duplicate of #8669.

@icbaker icbaker closed this as completed May 18, 2021
@google google locked and limited conversation to collaborators Jul 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants