Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix updating started live error

Chocobozzz8031504212ea
diff --git a/client/src/app/+videos/+video-edit/video-update.component.ts b/client/src/app/+videos/+video-edit/video-update.component.ts
index 82f45f73d8..b13dd0d6fa 100644
--- a/client/src/app/+videos/+video-edit/video-update.component.ts
+++ b/client/src/app/+videos/+video-edit/video-update.component.ts
@@ -221,7 +221,12 @@ export class VideoUpdateComponent extends FormReactive implements OnInit, OnDest
}
// Don't update live attributes if they did not change
- const baseVideo = pick(this.liveVideo, Object.keys(liveVideoUpdate) as (keyof LiveVideoUpdate)[])
+ const baseVideo = {
+ saveReplay: this.liveVideo.saveReplay,
+ replaySettings: this.liveVideo.replaySettings,
+ permanentLive: this.liveVideo.permanentLive,
+ latencyMode: this.liveVideo.latencyMode
+ }
const liveChanged = !simpleObjectsDeepEqual(baseVideo, liveVideoUpdate)
if (!liveChanged) return of(undefined)