调整播放器在停止播放时把play2也一并停止
This commit is contained in:
parent
9526a14ca2
commit
baa2ec127f
@ -339,6 +339,9 @@ public class LiveExoPlayerManager {
|
|||||||
if (getNowPlayer() != null) {
|
if (getNowPlayer() != null) {
|
||||||
getNowPlayer().stop();
|
getNowPlayer().stop();
|
||||||
}
|
}
|
||||||
|
if (getNextPlayer() != null && getNextPlayer().isPlaying()) {
|
||||||
|
getNextPlayer().stop();
|
||||||
|
}
|
||||||
clearUrl();
|
clearUrl();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user