- const liveOptions = { name: 'live', privacy: VideoPrivacy.PUBLIC, channelId: servers[0].videoChannel.id }
- const resLive = await createLive(servers[0].url, servers[0].accessToken, liveOptions)
- liveVideoId = resLive.body.video.uuid
+ const liveOptions = { name: 'live', privacy: VideoPrivacy.PUBLIC, channelId: servers[0].store.channel.id }
+ const live = await commands[0].create({ fields: liveOptions })
+ liveVideoId = live.uuid