Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Don't send hls warnings to server

Chocobozzzb807a5a01ea4
diff --git a/client/src/assets/player/shared/p2p-media-loader/hls-plugin.ts b/client/src/assets/player/shared/p2p-media-loader/hls-plugin.ts
index f16a706522..ca4637f497 100644
--- a/client/src/assets/player/shared/p2p-media-loader/hls-plugin.ts
+++ b/client/src/assets/player/shared/p2p-media-loader/hls-plugin.ts
@@ -289,7 +289,7 @@ export class Html5Hlsjs {
// Google Bot doesn't support our codecs, but we don't really care
if (!/googlebot/i.test(navigator.userAgent)) {
if (data.fatal) logger.error(error.message, { currentTime: this.player.currentTime(), data })
- else logger.warn(error.message)
+ else logger.clientWarn(error.message)
}
if (data.type === Hlsjs.ErrorTypes.NETWORK_ERROR) {