cast fix
This commit is contained in:
parent
4c797c5eb1
commit
d02d542207
1 changed files with 1 additions and 1 deletions
|
@ -1965,7 +1965,7 @@ class ExoplayerView : AppCompatActivity(), Player.Listener, SessionAvailabilityL
|
|||
}
|
||||
|
||||
override fun onCastSessionAvailable() {
|
||||
if (isCastApiAvailable) {
|
||||
if (isCastApiAvailable && !this.isDestroyed) {
|
||||
startCastPlayer()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue