调整播放器在停止播放时把play2也一并停止

This commit is contained in:
zlzw 2023-05-29 11:25:30 +08:00
parent 9526a14ca2
commit baa2ec127f

View File

@ -339,6 +339,9 @@ public class LiveExoPlayerManager {
if (getNowPlayer() != null) {
getNowPlayer().stop();
}
if (getNextPlayer() != null && getNextPlayer().isPlaying()) {
getNextPlayer().stop();
}
clearUrl();
}