diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-03 14:10:54 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-12-03 15:21:16 +0100 |
commit | bb4ba6d94c5051fdd665ebe63fffcc105778b8be (patch) | |
tree | d39302608c53e31395683bb5dd551eac6ced89f8 /shared/models/videos/live | |
parent | 19b7ebfaa822b12f6da25ad2ba10398b3ef25ec6 (diff) | |
download | PeerTube-bb4ba6d94c5051fdd665ebe63fffcc105778b8be.tar.gz PeerTube-bb4ba6d94c5051fdd665ebe63fffcc105778b8be.tar.zst PeerTube-bb4ba6d94c5051fdd665ebe63fffcc105778b8be.zip |
Add permanent live support
Diffstat (limited to 'shared/models/videos/live')
-rw-r--r-- | shared/models/videos/live/live-video-create.model.ts | 1 | ||||
-rw-r--r-- | shared/models/videos/live/live-video-update.model.ts | 1 | ||||
-rw-r--r-- | shared/models/videos/live/live-video.model.ts | 1 |
3 files changed, 3 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 1ef4b70dd..caa7acc17 100644 --- a/shared/models/videos/live/live-video-create.model.ts +++ b/shared/models/videos/live/live-video-create.model.ts | |||
@@ -2,4 +2,5 @@ import { VideoCreate } from '../video-create.model' | |||
2 | 2 | ||
3 | export interface LiveVideoCreate extends VideoCreate { | 3 | export interface LiveVideoCreate extends VideoCreate { |
4 | saveReplay?: boolean | 4 | saveReplay?: boolean |
5 | permanentLive?: boolean | ||
5 | } | 6 | } |
diff --git a/shared/models/videos/live/live-video-update.model.ts b/shared/models/videos/live/live-video-update.model.ts index 0f0f67d06..a39c44797 100644 --- a/shared/models/videos/live/live-video-update.model.ts +++ b/shared/models/videos/live/live-video-update.model.ts | |||
@@ -1,3 +1,4 @@ | |||
1 | export interface LiveVideoUpdate { | 1 | export interface LiveVideoUpdate { |
2 | permanentLive?: boolean | ||
2 | saveReplay?: boolean | 3 | saveReplay?: boolean |
3 | } | 4 | } |
diff --git a/shared/models/videos/live/live-video.model.ts b/shared/models/videos/live/live-video.model.ts index a3f8275e3..d6e9a50d1 100644 --- a/shared/models/videos/live/live-video.model.ts +++ b/shared/models/videos/live/live-video.model.ts | |||
@@ -2,4 +2,5 @@ export interface LiveVideo { | |||
2 | rtmpUrl: string | 2 | rtmpUrl: string |
3 | streamKey: string | 3 | streamKey: string |
4 | saveReplay: boolean | 4 | saveReplay: boolean |
5 | permanentLive: boolean | ||
5 | } | 6 | } |