Don't send hls warnings to server

Not relevant for the admin
pull/6544/head
Chocobozzz 2024-08-08 13:51:36 +02:00
parent b8cb1d8e87
commit b807a5a01e
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -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) {