From 05a60d85997c108d39bcfb14f1ffd4c74f8b1e93 Mon Sep 17 00:00:00 2001 From: Wicklow <123956049+wickloww@users.noreply.github.com> Date: Fri, 31 Mar 2023 07:12:21 +0000 Subject: Feature/Add replay privacy (#5692) * Add replay settings feature * Fix replay settings behaviour * Fix tests * Fix tests * Fix tests * Update openapi doc and fix tests * Add tests and fix code * Models correction * Add migration and update controller and middleware * Add check params tests * Fix video live middleware * Updated code based on review comments --- shared/models/videos/live/live-video-session.model.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shared/models/videos/live/live-video-session.model.ts') diff --git a/shared/models/videos/live/live-video-session.model.ts b/shared/models/videos/live/live-video-session.model.ts index 2464e2570..888c20a8a 100644 --- a/shared/models/videos/live/live-video-session.model.ts +++ b/shared/models/videos/live/live-video-session.model.ts @@ -1,3 +1,4 @@ +import { VideoPrivacy } from '../video-privacy.enum' import { LiveVideoError } from './live-video-error.enum' export interface LiveVideoSession { @@ -11,6 +12,8 @@ export interface LiveVideoSession { saveReplay: boolean endingProcessed: boolean + replaySettings?: { privacy: VideoPrivacy } + replayVideo: { id: number uuid: string -- cgit v1.2.3