aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts')
-rw-r--r--client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts9
1 files changed, 7 insertions, 2 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts b/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts
index 904492994..ba612f553 100644
--- a/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts
+++ b/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts
@@ -137,9 +137,14 @@ export class VideoGoLiveComponent extends VideoSend implements OnInit, AfterView
137 video.uuid = this.videoUUID 137 video.uuid = this.videoUUID
138 video.shortUUID = this.videoShortUUID 138 video.shortUUID = this.videoShortUUID
139 139
140 const saveReplay = this.form.value.saveReplay
141 const replaySettings = saveReplay
142 ? { privacy: this.form.value.replayPrivacy }
143 : undefined
144
140 const liveVideoUpdate: LiveVideoUpdate = { 145 const liveVideoUpdate: LiveVideoUpdate = {
141 saveReplay: this.form.value.saveReplay, 146 saveReplay,
142 replaySettings: { privacy: this.form.value.replayPrivacy }, 147 replaySettings,
143 latencyMode: this.form.value.latencyMode, 148 latencyMode: this.form.value.latencyMode,
144 permanentLive: this.form.value.permanentLive 149 permanentLive: this.form.value.permanentLive
145 } 150 }