console.log('Sending RTMP stream.')
- const ffmpegCommand = sendRTMPStream(live.rtmpUrl, live.streamKey)
+ const ffmpegCommand = sendRTMPStream({ rtmpBaseUrl: live.rtmpUrl, streamKey: live.streamKey })
ffmpegCommand.on('error', err => {
console.error(err)