mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix going live with a protected password
This commit is contained in:
parent
da6d0bfe88
commit
520a6a652d
@ -106,7 +106,12 @@ export class VideoGoLiveComponent extends VideoSend implements OnInit, AfterView
|
|||||||
|
|
||||||
const video: LiveVideoCreate = {
|
const video: LiveVideoCreate = {
|
||||||
name,
|
name,
|
||||||
privacy: this.firstStepPrivacyId,
|
|
||||||
|
// Password privacy needs a password that will be set in the next step
|
||||||
|
privacy: this.firstStepPrivacyId === VideoPrivacy.PASSWORD_PROTECTED
|
||||||
|
? VideoPrivacy.PRIVATE
|
||||||
|
: this.highestPrivacy,
|
||||||
|
|
||||||
nsfw: this.serverConfig.instance.isNSFW,
|
nsfw: this.serverConfig.instance.isNSFW,
|
||||||
waitTranscoding: true,
|
waitTranscoding: true,
|
||||||
permanentLive: this.firstStepPermanentLive,
|
permanentLive: this.firstStepPermanentLive,
|
||||||
|
Loading…
Reference in New Issue
Block a user