aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-01-19 10:44:12 +0100
committerChocobozzz <me@florianbigard.com>2022-01-19 10:44:12 +0100
commit077a413ff826c3bf2db01bb4b0cda04af47aeef7 (patch)
treed4e40d4d7a238878e9bfc00e48aef7d15186b692 /client/src/app/+videos
parente8bffe9690307f2686ed5573cae2b86ee5f57789 (diff)
downloadPeerTube-077a413ff826c3bf2db01bb4b0cda04af47aeef7.tar.gz
PeerTube-077a413ff826c3bf2db01bb4b0cda04af47aeef7.tar.zst
PeerTube-077a413ff826c3bf2db01bb4b0cda04af47aeef7.zip
Automatically restart live on server/live restart
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r--client/src/app/+videos/+video-watch/video-watch.component.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/client/src/app/+videos/+video-watch/video-watch.component.ts b/client/src/app/+videos/+video-watch/video-watch.component.ts
index 5fd095c36..1ee18f52f 100644
--- a/client/src/app/+videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/+videos/+video-watch/video-watch.component.ts
@@ -688,9 +688,6 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
688 private handleLiveStateChange (newState: VideoState) { 688 private handleLiveStateChange (newState: VideoState) {
689 if (newState !== VideoState.PUBLISHED) return 689 if (newState !== VideoState.PUBLISHED) return
690 690
691 const videoState = this.video.state.id
692 if (videoState !== VideoState.WAITING_FOR_LIVE && videoState !== VideoState.LIVE_ENDED) return
693
694 console.log('Loading video after live update.') 691 console.log('Loading video after live update.')
695 692
696 const videoUUID = this.video.uuid 693 const videoUUID = this.video.uuid