aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/live/shared/muxing-session.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-08-01 15:27:49 +0200
committerChocobozzz <me@florianbigard.com>2022-08-01 15:27:49 +0200
commit15eb9e5b8fe9a29201567ab41f730fd39c1a14b8 (patch)
tree398469e47f16903cd9272d2098f4536e2b450b33 /server/lib/live/shared/muxing-session.ts
parente07c55167eedc17bb4f4c5f1fe4294b6bde9aabe (diff)
downloadPeerTube-15eb9e5b8fe9a29201567ab41f730fd39c1a14b8.tar.gz
PeerTube-15eb9e5b8fe9a29201567ab41f730fd39c1a14b8.tar.zst
PeerTube-15eb9e5b8fe9a29201567ab41f730fd39c1a14b8.zip
Fix typescript error
Diffstat (limited to 'server/lib/live/shared/muxing-session.ts')
-rw-r--r--server/lib/live/shared/muxing-session.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/server/lib/live/shared/muxing-session.ts b/server/lib/live/shared/muxing-session.ts
index 55d070c96..310a7026d 100644
--- a/server/lib/live/shared/muxing-session.ts
+++ b/server/lib/live/shared/muxing-session.ts
@@ -21,16 +21,16 @@ import { buildConcatenatedName } from '../live-utils'
21import memoizee = require('memoizee') 21import memoizee = require('memoizee')
22 22
23interface MuxingSessionEvents { 23interface MuxingSessionEvents {
24 'master-playlist-created': ({ videoId: number }) => void 24 'master-playlist-created': (options: { videoId: number }) => void
25 25
26 'bad-socket-health': ({ videoId: number }) => void 26 'bad-socket-health': (options: { videoId: number }) => void
27 'duration-exceeded': ({ videoId: number }) => void 27 'duration-exceeded': (options: { videoId: number }) => void
28 'quota-exceeded': ({ videoId: number }) => void 28 'quota-exceeded': (options: { videoId: number }) => void
29 29
30 'ffmpeg-end': ({ videoId: number }) => void 30 'ffmpeg-end': (options: { videoId: number }) => void
31 'ffmpeg-error': ({ videoId: string }) => void 31 'ffmpeg-error': (options: { videoId: number }) => void
32 32
33 'after-cleanup': ({ videoId: number }) => void 33 'after-cleanup': (options: { videoId: number }) => void
34} 34}
35 35
36declare interface MuxingSession { 36declare interface MuxingSession {