permanentLive: boolean
privacy?: VideoPrivacy
}) {
- const { saveReplay, permanentLive, privacy } = options
+ const { saveReplay, permanentLive, privacy = VideoPrivacy.PUBLIC } = options
const { uuid } = await this.create({
...options,
name: 'live',
permanentLive,
saveReplay,
+ replaySettings: { privacy },
channelId: this.server.store.channel.id,
privacy
}