aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/models/videos/live/live-video-create.model.ts2
-rw-r--r--shared/models/videos/live/live-video-session.model.ts3
-rw-r--r--shared/models/videos/live/live-video-update.model.ts2
-rw-r--r--shared/models/videos/live/live-video.model.ts2
-rw-r--r--shared/server-commands/videos/live-command.ts1
5 files changed, 10 insertions, 0 deletions
diff --git a/shared/models/videos/live/live-video-create.model.ts b/shared/models/videos/live/live-video-create.model.ts
index bd245dec5..f8ae9e5a9 100644
--- a/shared/models/videos/live/live-video-create.model.ts
+++ b/shared/models/videos/live/live-video-create.model.ts
@@ -1,4 +1,5 @@
1import { VideoCreate } from '../video-create.model' 1import { VideoCreate } from '../video-create.model'
2import { VideoPrivacy } from '../video-privacy.enum'
2import { LiveVideoLatencyMode } from './live-video-latency-mode.enum' 3import { LiveVideoLatencyMode } from './live-video-latency-mode.enum'
3 4
4export interface LiveVideoCreate extends VideoCreate { 5export interface LiveVideoCreate extends VideoCreate {
@@ -6,4 +7,5 @@ export interface LiveVideoCreate extends VideoCreate {
6 latencyMode?: LiveVideoLatencyMode 7 latencyMode?: LiveVideoLatencyMode
7 8
8 saveReplay?: boolean 9 saveReplay?: boolean
10 replaySettings?: { privacy: VideoPrivacy }
9} 11}
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 @@
1import { VideoPrivacy } from '../video-privacy.enum'
1import { LiveVideoError } from './live-video-error.enum' 2import { LiveVideoError } from './live-video-error.enum'
2 3
3export interface LiveVideoSession { 4export interface LiveVideoSession {
@@ -11,6 +12,8 @@ export interface LiveVideoSession {
11 saveReplay: boolean 12 saveReplay: boolean
12 endingProcessed: boolean 13 endingProcessed: boolean
13 14
15 replaySettings?: { privacy: VideoPrivacy }
16
14 replayVideo: { 17 replayVideo: {
15 id: number 18 id: number
16 uuid: string 19 uuid: string
diff --git a/shared/models/videos/live/live-video-update.model.ts b/shared/models/videos/live/live-video-update.model.ts
index 93bb4d30d..d6aa6fb37 100644
--- a/shared/models/videos/live/live-video-update.model.ts
+++ b/shared/models/videos/live/live-video-update.model.ts
@@ -1,7 +1,9 @@
1import { VideoPrivacy } from '../video-privacy.enum'
1import { LiveVideoLatencyMode } from './live-video-latency-mode.enum' 2import { LiveVideoLatencyMode } from './live-video-latency-mode.enum'
2 3
3export interface LiveVideoUpdate { 4export interface LiveVideoUpdate {
4 permanentLive?: boolean 5 permanentLive?: boolean
5 saveReplay?: boolean 6 saveReplay?: boolean
7 replaySettings?: { privacy: VideoPrivacy }
6 latencyMode?: LiveVideoLatencyMode 8 latencyMode?: LiveVideoLatencyMode
7} 9}
diff --git a/shared/models/videos/live/live-video.model.ts b/shared/models/videos/live/live-video.model.ts
index d0f57f883..fd8454123 100644
--- a/shared/models/videos/live/live-video.model.ts
+++ b/shared/models/videos/live/live-video.model.ts
@@ -1,3 +1,4 @@
1import { VideoPrivacy } from '../video-privacy.enum'
1import { LiveVideoLatencyMode } from './live-video-latency-mode.enum' 2import { LiveVideoLatencyMode } from './live-video-latency-mode.enum'
2 3
3export interface LiveVideo { 4export interface LiveVideo {
@@ -7,6 +8,7 @@ export interface LiveVideo {
7 streamKey?: string 8 streamKey?: string
8 9
9 saveReplay: boolean 10 saveReplay: boolean
11 replaySettings?: { privacy: VideoPrivacy }
10 permanentLive: boolean 12 permanentLive: boolean
11 latencyMode: LiveVideoLatencyMode 13 latencyMode: LiveVideoLatencyMode
12} 14}
diff --git a/shared/server-commands/videos/live-command.ts b/shared/server-commands/videos/live-command.ts
index 4541465ba..3273e3a8f 100644
--- a/shared/server-commands/videos/live-command.ts
+++ b/shared/server-commands/videos/live-command.ts
@@ -130,6 +130,7 @@ export class LiveCommand extends AbstractCommand {
130 name: 'live', 130 name: 'live',
131 permanentLive, 131 permanentLive,
132 saveReplay, 132 saveReplay,
133 replaySettings: { privacy },
133 channelId: this.server.store.channel.id, 134 channelId: this.server.store.channel.id,
134 privacy 135 privacy
135 } 136 }