X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftools%2Ftest-live.ts;h=27f2a4a92a204fbc9ce7b9041e51f1be105f7d36;hb=0d22b7ad5ffea0a830a266815f7bdfd8893917c9;hp=50dc04438f5764f402ed8a383cdb3139afbd5397;hpb=421ff4618da64f0849353383f690a014024c40da;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tools/test-live.ts b/server/tools/test-live.ts index 50dc04438..27f2a4a92 100644 --- a/server/tools/test-live.ts +++ b/server/tools/test-live.ts @@ -66,7 +66,7 @@ async function run () { 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)