aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/videos')
-rw-r--r--shared/models/videos/live/index.ts2
-rw-r--r--shared/models/videos/live/live-video-create.model.ts5
-rw-r--r--shared/models/videos/live/live-video-update.model.ts3
-rw-r--r--shared/models/videos/live/live-video.model.ts1
4 files changed, 11 insertions, 0 deletions
diff --git a/shared/models/videos/live/index.ts b/shared/models/videos/live/index.ts
index 4f331738b..a36f42a7d 100644
--- a/shared/models/videos/live/index.ts
+++ b/shared/models/videos/live/index.ts
@@ -1,3 +1,5 @@
1export * from './live-video-create.model'
1export * from './live-video-event-payload.model' 2export * from './live-video-event-payload.model'
2export * from './live-video-event.type' 3export * from './live-video-event.type'
4export * from './live-video-update.model'
3export * from './live-video.model' 5export * from './live-video.model'
diff --git a/shared/models/videos/live/live-video-create.model.ts b/shared/models/videos/live/live-video-create.model.ts
new file mode 100644
index 000000000..1ef4b70dd
--- /dev/null
+++ b/shared/models/videos/live/live-video-create.model.ts
@@ -0,0 +1,5 @@
1import { VideoCreate } from '../video-create.model'
2
3export interface LiveVideoCreate extends VideoCreate {
4 saveReplay?: boolean
5}
diff --git a/shared/models/videos/live/live-video-update.model.ts b/shared/models/videos/live/live-video-update.model.ts
new file mode 100644
index 000000000..0f0f67d06
--- /dev/null
+++ b/shared/models/videos/live/live-video-update.model.ts
@@ -0,0 +1,3 @@
1export interface LiveVideoUpdate {
2 saveReplay?: boolean
3}
diff --git a/shared/models/videos/live/live-video.model.ts b/shared/models/videos/live/live-video.model.ts
index 74abee96e..a3f8275e3 100644
--- a/shared/models/videos/live/live-video.model.ts
+++ b/shared/models/videos/live/live-video.model.ts
@@ -1,4 +1,5 @@
1export interface LiveVideo { 1export interface LiveVideo {
2 rtmpUrl: string 2 rtmpUrl: string
3 streamKey: string 3 streamKey: string
4 saveReplay: boolean
4} 5}