aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-04-21 09:06:52 +0200
committerChocobozzz <me@florianbigard.com>2022-04-21 11:47:57 +0200
commit4ec52d04dcc5d664612331f8e08d7d90da990415 (patch)
tree4b193f9f8f210caaf2dbe05ef3e37fa3a6fc28f0 /shared/models
parent2024a3b9338d667640aa115da6071ea83d088c50 (diff)
downloadPeerTube-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.ts3
-rw-r--r--shared/models/videos/live/live-video-create.model.ts5
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
160export interface VideoLiveEndingPayload { 160export interface VideoLiveEndingPayload {
161 videoId: number 161 videoId: number
162 publishedAt: string
163
164 replayDirectory?: string
162} 165}
163 166
164export interface ActorKeysPayload { 167export 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 @@
1import { LiveVideoLatencyMode } from '.'
2import { VideoCreate } from '../video-create.model' 1import { VideoCreate } from '../video-create.model'
2import { LiveVideoLatencyMode } from './live-video-latency-mode.enum'
3 3
4export interface LiveVideoCreate extends VideoCreate { 4export 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}