const live = await command.get({ videoId: video.id })
- const ffmpegCommand = sendRTMPStream(live.rtmpUrl, live.streamKey)
+ const ffmpegCommand = sendRTMPStream({ rtmpBaseUrl: live.rtmpUrl, streamKey: live.streamKey })
await command.waitUntilPublished({ videoId: video.id })
await command.update({ videoId: video.id, fields: {}, expectedStatus: HttpStatusCode.BAD_REQUEST_400 })
const live = await command.get({ videoId: video.id })
- const ffmpegCommand = sendRTMPStream(live.rtmpUrl, live.streamKey)
+ const ffmpegCommand = sendRTMPStream({ rtmpBaseUrl: live.rtmpUrl, streamKey: live.streamKey })
await command.waitUntilPublished({ videoId: video.id })