diff options
author | Chocobozzz <me@florianbigard.com> | 2020-10-26 16:44:23 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-11-09 15:33:04 +0100 |
commit | b5b687550d8ef8beafdf706e45d6556fb5f4c876 (patch) | |
tree | 232412d463c78af1f7ab5797db5aecf1096d08da /server/models | |
parent | ef680f68351ec10ab73a1131570a6d14ce14c195 (diff) | |
download | PeerTube-b5b687550d8ef8beafdf706e45d6556fb5f4c876.tar.gz PeerTube-b5b687550d8ef8beafdf706e45d6556fb5f4c876.tar.zst PeerTube-b5b687550d8ef8beafdf706e45d6556fb5f4c876.zip |
Add ability to save live replay
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/video/video-live.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/models/video/video-live.ts b/server/models/video/video-live.ts index 0e229de6a..345918cb9 100644 --- a/server/models/video/video-live.ts +++ b/server/models/video/video-live.ts | |||
@@ -94,7 +94,8 @@ export class VideoLiveModel extends Model<VideoLiveModel> { | |||
94 | toFormattedJSON (): LiveVideo { | 94 | toFormattedJSON (): LiveVideo { |
95 | return { | 95 | return { |
96 | rtmpUrl: WEBSERVER.RTMP_URL, | 96 | rtmpUrl: WEBSERVER.RTMP_URL, |
97 | streamKey: this.streamKey | 97 | streamKey: this.streamKey, |
98 | saveReplay: this.saveReplay | ||
98 | } | 99 | } |
99 | } | 100 | } |
100 | } | 101 | } |