aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/video')
-rw-r--r--server/models/video/video-live-session.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/server/models/video/video-live-session.ts b/server/models/video/video-live-session.ts
index 758906a42..ed386052b 100644
--- a/server/models/video/video-live-session.ts
+++ b/server/models/video/video-live-session.ts
@@ -53,6 +53,14 @@ export class VideoLiveSessionModel extends Model<Partial<AttributesOnly<VideoLiv
53 @Column 53 @Column
54 error: LiveVideoError 54 error: LiveVideoError
55 55
56 @AllowNull(false)
57 @Column
58 saveReplay: boolean
59
60 @AllowNull(false)
61 @Column
62 endingProcessed: boolean
63
56 @ForeignKey(() => VideoModel) 64 @ForeignKey(() => VideoModel)
57 @Column 65 @Column
58 replayVideoId: number 66 replayVideoId: number
@@ -144,6 +152,8 @@ export class VideoLiveSessionModel extends Model<Partial<AttributesOnly<VideoLiv
144 endDate: this.endDate 152 endDate: this.endDate
145 ? this.endDate.toISOString() 153 ? this.endDate.toISOString()
146 : null, 154 : null,
155 endingProcessed: this.endingProcessed,
156 saveReplay: this.saveReplay,
147 replayVideo, 157 replayVideo,
148 error: this.error 158 error: this.error
149 } 159 }