diff options
Diffstat (limited to 'shared/models/videos/live')
-rw-r--r-- | shared/models/videos/live/index.ts | 3 | ||||
-rw-r--r-- | shared/models/videos/live/live-video-event-payload.model.ts | 5 | ||||
-rw-r--r-- | shared/models/videos/live/live-video-event.type.ts | 1 | ||||
-rw-r--r-- | shared/models/videos/live/live-video.model.ts | 4 |
4 files changed, 13 insertions, 0 deletions
diff --git a/shared/models/videos/live/index.ts b/shared/models/videos/live/index.ts new file mode 100644 index 000000000..4f331738b --- /dev/null +++ b/shared/models/videos/live/index.ts | |||
@@ -0,0 +1,3 @@ | |||
1 | export * from './live-video-event-payload.model' | ||
2 | export * from './live-video-event.type' | ||
3 | export * from './live-video.model' | ||
diff --git a/shared/models/videos/live/live-video-event-payload.model.ts b/shared/models/videos/live/live-video-event-payload.model.ts new file mode 100644 index 000000000..f9038f4de --- /dev/null +++ b/shared/models/videos/live/live-video-event-payload.model.ts | |||
@@ -0,0 +1,5 @@ | |||
1 | import { VideoState } from '../video-state.enum' | ||
2 | |||
3 | export interface LiveVideoEventPayload { | ||
4 | state: VideoState | ||
5 | } | ||
diff --git a/shared/models/videos/live/live-video-event.type.ts b/shared/models/videos/live/live-video-event.type.ts new file mode 100644 index 000000000..4d15899da --- /dev/null +++ b/shared/models/videos/live/live-video-event.type.ts | |||
@@ -0,0 +1 @@ | |||
export type LiveVideoEventType = 'state-change' | |||
diff --git a/shared/models/videos/live/live-video.model.ts b/shared/models/videos/live/live-video.model.ts new file mode 100644 index 000000000..74abee96e --- /dev/null +++ b/shared/models/videos/live/live-video.model.ts | |||
@@ -0,0 +1,4 @@ | |||
1 | export interface LiveVideo { | ||
2 | rtmpUrl: string | ||
3 | streamKey: string | ||
4 | } | ||