X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Flive%2Fshared%2Fmuxing-session.ts;h=22a47942a41c5dd0b236e392b7234d2b97a8ed40;hb=75b7117f078461d2507572ba9da6527894e1b734;hp=eccaefcfaf5ddbc498228b959e82966ad3ad3100;hpb=636d73c58866ed235c207719e41fdde3c2d6c969;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/lib/live/shared/muxing-session.ts b/server/lib/live/shared/muxing-session.ts index eccaefcfa..22a47942a 100644 --- a/server/lib/live/shared/muxing-session.ts +++ b/server/lib/live/shared/muxing-session.ts @@ -229,7 +229,7 @@ class MuxingSession extends EventEmitter { const playlistIdMatcher = /^([\d+])-/ - const addHandler = async segmentPath => { + const addHandler = async (segmentPath: string) => { logger.debug('Live add handler of %s.', segmentPath, this.lTags()) const playlistId = basename(segmentPath).match(playlistIdMatcher)[0]