mirror of
https://github.com/yuliskov/SmartTube.git
synced 2026-02-12 01:30:42 -06:00
player: stop live stream after 2 min buffering: upd
This commit is contained in:
@@ -457,6 +457,8 @@ public class VideoLoaderManager extends PlayerEventListenerHelper {
|
||||
* Stop on long buffering (indicates end of the stream)
|
||||
*/
|
||||
private void watchLiveStream() {
|
||||
unwatchLiveStream();
|
||||
|
||||
if (getController() != null &&
|
||||
getController().getVideo() != null &&
|
||||
getController().getVideo().isLive) {
|
||||
|
||||
Reference in New Issue
Block a user