ActivityPub-federated video streaming platform using P2P directly in your web browser
hls-plugin: destroy hls upon third err
kontrollantenadc1f09c0dbd
diff --git a/client/src/assets/player/p2p-media-loader/hls-plugin.ts b/client/src/assets/player/p2p-media-loader/hls-plugin.tsindex cf8cb824db..ca7a341b42 100644--- a/client/src/assets/player/p2p-media-loader/hls-plugin.ts+++ b/client/src/assets/player/p2p-media-loader/hls-plugin.ts@@ -226,6 +226,7 @@ class Html5Hlsjs {if (this.errorCounts[ Hlsjs.ErrorTypes.MEDIA_ERROR ] > 2) {console.info('bubbling media error up to VIDEOJS')+ this.hls.destroy()this.tech.error = () => errorthis.tech.trigger('error')return