mirror of https://github.com/Chocobozzz/PeerTube
parent
b8cb1d8e87
commit
b807a5a01e
|
@ -289,7 +289,7 @@ export class Html5Hlsjs {
|
||||||
// Google Bot doesn't support our codecs, but we don't really care
|
// Google Bot doesn't support our codecs, but we don't really care
|
||||||
if (!/googlebot/i.test(navigator.userAgent)) {
|
if (!/googlebot/i.test(navigator.userAgent)) {
|
||||||
if (data.fatal) logger.error(error.message, { currentTime: this.player.currentTime(), data })
|
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) {
|
if (data.type === Hlsjs.ErrorTypes.NETWORK_ERROR) {
|
||||||
|
|
Loading…
Reference in New Issue