diff options
author | Chocobozzz <me@florianbigard.com> | 2022-04-21 09:06:52 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-04-21 11:47:57 +0200 |
commit | 4ec52d04dcc5d664612331f8e08d7d90da990415 (patch) | |
tree | 4b193f9f8f210caaf2dbe05ef3e37fa3a6fc28f0 /shared/models | |
parent | 2024a3b9338d667640aa115da6071ea83d088c50 (diff) | |
download | PeerTube-4ec52d04dcc5d664612331f8e08d7d90da990415.tar.gz PeerTube-4ec52d04dcc5d664612331f8e08d7d90da990415.tar.zst PeerTube-4ec52d04dcc5d664612331f8e08d7d90da990415.zip |
Add ability to save replay of permanent lives
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/server/job.model.ts | 3 | ||||
-rw-r--r-- | shared/models/videos/live/live-video-create.model.ts | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/shared/models/server/job.model.ts b/shared/models/server/job.model.ts index 92d1b5698..9370cf011 100644 --- a/shared/models/server/job.model.ts +++ b/shared/models/server/job.model.ts | |||
@@ -159,6 +159,9 @@ export type VideoTranscodingPayload = | |||
159 | 159 | ||
160 | export interface VideoLiveEndingPayload { | 160 | export interface VideoLiveEndingPayload { |
161 | videoId: number | 161 | videoId: number |
162 | publishedAt: string | ||
163 | |||
164 | replayDirectory?: string | ||
162 | } | 165 | } |
163 | 166 | ||
164 | export interface ActorKeysPayload { | 167 | export interface ActorKeysPayload { |
diff --git a/shared/models/videos/live/live-video-create.model.ts b/shared/models/videos/live/live-video-create.model.ts index 49ccaf45b..bd245dec5 100644 --- a/shared/models/videos/live/live-video-create.model.ts +++ b/shared/models/videos/live/live-video-create.model.ts | |||
@@ -1,8 +1,9 @@ | |||
1 | import { LiveVideoLatencyMode } from '.' | ||
2 | import { VideoCreate } from '../video-create.model' | 1 | import { VideoCreate } from '../video-create.model' |
2 | import { LiveVideoLatencyMode } from './live-video-latency-mode.enum' | ||
3 | 3 | ||
4 | export interface LiveVideoCreate extends VideoCreate { | 4 | export interface LiveVideoCreate extends VideoCreate { |
5 | saveReplay?: boolean | ||
6 | permanentLive?: boolean | 5 | permanentLive?: boolean |
7 | latencyMode?: LiveVideoLatencyMode | 6 | latencyMode?: LiveVideoLatencyMode |
7 | |||
8 | saveReplay?: boolean | ||
8 | } | 9 | } |