google / google/ExoPlayer

[Cast] Changing / Playing audio track in default language in CastPlayer

Open
#9,687 4 comments 0 reactions 1 assignee Claimed by @marcbaechinger View on GitHub
enhancement
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

I am playing local videos in **CastPlayer** and the video contains multiple audio track, And i want to change audio track in cast player **is there any way i could change audio track ?** or by default i can play a particular audio track ?

I searched all around and couldn't find any documentation for changing audio track in **CastPlayer**. Even in demo app i couldn't find any.

So let me know is there any way i can change track on **playing** or change track **before preparing player**.

Ex:- the video contains **hindi track** and **english track** audio and i want to in english track but the **CastPlayer** plays in hindi track and i cannot change track

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.