bennettpeter / android-MythTV-Leanfront

:tv: MythTV Android TV frontend
GNU General Public License v3.0
45 stars 9 forks source link

How is Audio Track Selection working? #2

Closed isaranghi closed 4 years ago

isaranghi commented 4 years ago

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