]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/video/video-live.ts
Add ability to save live replay
[github/Chocobozzz/PeerTube.git] / server / models / video / video-live.ts
index 0e229de6ab0c946d7cb6c1015999c8e7610808ed..345918cb9d6e0dad4b5b8848ecad9e46d54d7750 100644 (file)
@@ -94,7 +94,8 @@ export class VideoLiveModel extends Model<VideoLiveModel> {
   toFormattedJSON (): LiveVideo {
     return {
       rtmpUrl: WEBSERVER.RTMP_URL,
-      streamKey: this.streamKey
+      streamKey: this.streamKey,
+      saveReplay: this.saveReplay
     }
   }
 }