}
goLive () {
+ const name = 'Live'
+
const video: LiveVideoCreate = {
- name: 'Live',
+ name,
privacy: VideoPrivacy.PRIVATE,
nsfw: this.serverConfig.instance.isNSFW,
waitTranscoding: true,
this.isImportingVideo = true
const videoUpdate: VideoUpdate = {
- privacy: this.firstStepPrivacyId,
+ privacy: VideoPrivacy.PRIVATE,
waitTranscoding: false,
commentsEnabled: true,
downloadEnabled: true,
this.video = new VideoEdit(Object.assign(res.video, {
commentsEnabled: videoUpdate.commentsEnabled,
downloadEnabled: videoUpdate.downloadEnabled,
+ privacy: { id: this.firstStepPrivacyId },
support: null,
thumbnailUrl: null,
previewUrl: null
this.isImportingVideo = true
const videoUpdate: VideoUpdate = {
- privacy: this.firstStepPrivacyId,
+ privacy: VideoPrivacy.PRIVATE,
waitTranscoding: false,
commentsEnabled: true,
downloadEnabled: true,
this.video = new VideoEdit(Object.assign(video, {
commentsEnabled: videoUpdate.commentsEnabled,
downloadEnabled: videoUpdate.downloadEnabled,
+ privacy: { id: this.firstStepPrivacyId },
support: null,
thumbnailUrl,
previewUrl