aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/videos/live.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/extra-utils/videos/live.ts')
-rw-r--r--shared/extra-utils/videos/live.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/extra-utils/videos/live.ts b/shared/extra-utils/videos/live.ts
index 98f67a9bb..b0e499ce0 100644
--- a/shared/extra-utils/videos/live.ts
+++ b/shared/extra-utils/videos/live.ts
@@ -98,7 +98,7 @@ function sendRTMPStream (rtmpBaseUrl: string, streamKey: string, fixtureName = '
98} 98}
99 99
100function waitFfmpegUntilError (command: ffmpeg.FfmpegCommand, successAfterMS = 10000) { 100function waitFfmpegUntilError (command: ffmpeg.FfmpegCommand, successAfterMS = 10000) {
101 return new Promise((res, rej) => { 101 return new Promise<void>((res, rej) => {
102 command.on('error', err => { 102 command.on('error', err => {
103 return rej(err) 103 return rej(err)
104 }) 104 })