diff options
Diffstat (limited to 'client/src/assets/player/p2p-media-loader')
-rw-r--r-- | client/src/assets/player/p2p-media-loader/hls-plugin.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/src/assets/player/p2p-media-loader/hls-plugin.ts b/client/src/assets/player/p2p-media-loader/hls-plugin.ts index 640858025..ae31bcfe1 100644 --- a/client/src/assets/player/p2p-media-loader/hls-plugin.ts +++ b/client/src/assets/player/p2p-media-loader/hls-plugin.ts | |||
@@ -174,6 +174,12 @@ class Html5Hlsjs { | |||
174 | dispose () { | 174 | dispose () { |
175 | this.videoElement.removeEventListener('play', this.handlers.play) | 175 | this.videoElement.removeEventListener('play', this.handlers.play) |
176 | 176 | ||
177 | // FIXME: https://github.com/video-dev/hls.js/issues/4092 | ||
178 | const untypedHLS = this.hls as any | ||
179 | untypedHLS.log = untypedHLS.warn = () => { | ||
180 | // empty | ||
181 | } | ||
182 | |||
177 | this.hls.destroy() | 183 | this.hls.destroy() |
178 | } | 184 | } |
179 | 185 | ||