diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-06 14:39:28 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-06 14:39:28 +0200 |
commit | 7942e72e38bde7f9a8d890643530b1e618aad054 (patch) | |
tree | cdbf928f6a4cab0cd8089fae19c69e2432c905e9 /server/tools/test-live.ts | |
parent | 679c12e69c9f3a2d003ee3abe8b8da49f25b2bd3 (diff) | |
download | PeerTube-7942e72e38bde7f9a8d890643530b1e618aad054.tar.gz PeerTube-7942e72e38bde7f9a8d890643530b1e618aad054.tar.zst PeerTube-7942e72e38bde7f9a8d890643530b1e618aad054.zip |
Fix cli build
Diffstat (limited to 'server/tools/test-live.ts')
-rw-r--r-- | server/tools/test-live.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 () { | |||
66 | 66 | ||
67 | console.log('Sending RTMP stream.') | 67 | console.log('Sending RTMP stream.') |
68 | 68 | ||
69 | const ffmpegCommand = sendRTMPStream(live.rtmpUrl, live.streamKey) | 69 | const ffmpegCommand = sendRTMPStream({ rtmpBaseUrl: live.rtmpUrl, streamKey: live.streamKey }) |
70 | 70 | ||
71 | ffmpegCommand.on('error', err => { | 71 | ffmpegCommand.on('error', err => { |
72 | console.error(err) | 72 | console.error(err) |