Skip to content

Commit

Permalink
Fix going live with a protected password
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Sep 12, 2024
1 parent da6d0bf commit 520a6a6
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,12 @@ export class VideoGoLiveComponent extends VideoSend implements OnInit, AfterView

const video: LiveVideoCreate = {
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,
waitTranscoding: true,
permanentLive: this.firstStepPermanentLive,
Expand Down

0 comments on commit 520a6a6

Please sign in to comment.