I was just looking at the code for trackSelector function inside PlaybackFragment. For my own learning, I am creating a personal Media Player using Android Leanback and Exoplayer. I tried to implement something like trackSelector in my application. The problem is after the new Track is selected, I do see a Toast saying the new track has been selected but my video playback just stops and nothing happens after that. Is there something I am missing? Is there anything else besided trackSelector function that resumes the playback after audio track has been changed?
Hello,
I was just looking at the code for trackSelector function inside PlaybackFragment. For my own learning, I am creating a personal Media Player using Android Leanback and Exoplayer. I tried to implement something like trackSelector in my application. The problem is after the new Track is selected, I do see a Toast saying the new track has been selected but my video playback just stops and nothing happens after that. Is there something I am missing? Is there anything else besided trackSelector function that resumes the playback after audio track has been changed?
Thanks