Stop sharing a Handler between EPI and EPII
Sharing the Handler has led to it being accidentally used for purposes beyond the original intention. Instead for EPII -> EPI communication: Call methods directly on ExoPlayerImpl that then post from the playback thread to the application thread. And for the MediaSourceList and Queue initialization, create a dedicated Handler based on the same applicationLooper. PiperOrigin-RevId: 320590527
Showing
with
119 additions
and
92 deletions
Please
register
or
sign in
to comment