Fix cli build
This commit is contained in:
parent
679c12e69c
commit
7942e72e38
|
@ -66,7 +66,7 @@ async function run () {
|
||||||
|
|
||||||
console.log('Sending RTMP stream.')
|
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 => {
|
ffmpegCommand.on('error', err => {
|
||||||
console.error(err)
|
console.error(err)
|
||||||
|
|
Loading…
Reference in New Issue