]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/video/video-format-utils.ts
Live streaming implementation first step
[github/Chocobozzz/PeerTube.git] / server / models / video / video-format-utils.ts
index ad512fc7f1786fd4e7b0edf303b52a17c0f26836..0dbd92a431126ae88a74f174a699c540d7efa09e 100644 (file)
@@ -77,6 +77,8 @@ function videoModelToFormattedJSON (video: MVideoFormattable, options?: VideoFor
     publishedAt: video.publishedAt,
     originallyPublishedAt: video.originallyPublishedAt,
 
+    isLive: video.isLive,
+
     account: video.VideoChannel.Account.toFormattedSummaryJSON(),
     channel: video.VideoChannel.toFormattedSummaryJSON(),