1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 18:29:27 +02:00

Handle live federation

This commit is contained in:
Chocobozzz 2020-09-17 13:59:02 +02:00 committed by Chocobozzz
parent 1ef65f4c03
commit de6310b2fc
10 changed files with 30 additions and 26 deletions

View file

@ -62,6 +62,7 @@ function sanitizeAndCheckVideoTorrentObject (video: any) {
if (!isBooleanValid(video.waitTranscoding)) video.waitTranscoding = false
if (!isBooleanValid(video.downloadEnabled)) video.downloadEnabled = true
if (!isBooleanValid(video.commentsEnabled)) video.commentsEnabled = false
if (!isBooleanValid(video.isLiveBroadcast)) video.isLiveBroadcast = false
return isActivityPubUrlValid(video.id) &&
isVideoNameValid(video.name) &&