diff options
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/videos/live/index.ts | 2 | ||||
-rw-r--r-- | shared/models/videos/live/live-video-create.model.ts | 5 | ||||
-rw-r--r-- | shared/models/videos/live/live-video-update.model.ts | 3 | ||||
-rw-r--r-- | shared/models/videos/live/live-video.model.ts | 1 |
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 @@ | |||
1 | export * from './live-video-create.model' | ||
1 | export * from './live-video-event-payload.model' | 2 | export * from './live-video-event-payload.model' |
2 | export * from './live-video-event.type' | 3 | export * from './live-video-event.type' |
4 | export * from './live-video-update.model' | ||
3 | export * from './live-video.model' | 5 | export * 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 @@ | |||
1 | import { VideoCreate } from '../video-create.model' | ||
2 | |||
3 | export 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 @@ | |||
1 | export 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 @@ | |||
1 | export interface LiveVideo { | 1 | export interface LiveVideo { |
2 | rtmpUrl: string | 2 | rtmpUrl: string |
3 | streamKey: string | 3 | streamKey: string |
4 | saveReplay: boolean | ||
4 | } | 5 | } |