mirror of https://github.com/Chocobozzz/PeerTube
Fix going live with a protected password
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