diff options
author | Chocobozzz <me@florianbigard.com> | 2022-08-01 15:27:49 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-08-01 15:27:49 +0200 |
commit | 15eb9e5b8fe9a29201567ab41f730fd39c1a14b8 (patch) | |
tree | 398469e47f16903cd9272d2098f4536e2b450b33 | |
parent | e07c55167eedc17bb4f4c5f1fe4294b6bde9aabe (diff) | |
download | PeerTube-15eb9e5b8fe9a29201567ab41f730fd39c1a14b8.tar.gz PeerTube-15eb9e5b8fe9a29201567ab41f730fd39c1a14b8.tar.zst PeerTube-15eb9e5b8fe9a29201567ab41f730fd39c1a14b8.zip |
Fix typescript error
-rw-r--r-- | server/lib/live/shared/muxing-session.ts | 14 |
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' | |||
21 | import memoizee = require('memoizee') | 21 | import memoizee = require('memoizee') |
22 | 22 | ||
23 | interface MuxingSessionEvents { | 23 | interface 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 | ||
36 | declare interface MuxingSession { | 36 | declare interface MuxingSession { |