player: stop live stream fix

This commit is contained in:
Yuriy Liskov
2022-07-23 22:20:15 +03:00
parent 86ab76cc6b
commit dbcad89011

View File

@@ -59,7 +59,8 @@ public class VideoLoaderManager extends PlayerEventListenerHelper {
if (getController() != null &&
getController().getVideo() != null &&
getController().getVideo().isLive) {
applyPlaybackMode(PlaybackEngineController.PLAYBACK_MODE_PAUSE);
getController().showSuggestions(true);
getController().setPlayWhenReady(false);
}
};