From 5d753351c5edf89a8bdece12bdab8ca110fcae91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Thu, 16 Dec 2021 18:10:00 -0500 Subject: [frontend]: relax find segment --- youtube/static/js/av-merge.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'youtube/static/js/av-merge.js') diff --git a/youtube/static/js/av-merge.js b/youtube/static/js/av-merge.js index e7d5c25..dcb0a9b 100644 --- a/youtube/static/js/av-merge.js +++ b/youtube/static/js/av-merge.js @@ -388,7 +388,7 @@ Stream.prototype.getSegmentIdx = function(videoTime) { } index = index + increment; } - this.reportError('Could not find segment index for time', videoTime); + this.reportInfo('Could not find segment index for time', videoTime); return 0; } Stream.prototype.checkBuffer = async function() { @@ -570,6 +570,9 @@ function addEvent(obj, eventName, func) { return new RegisteredEvent(obj, eventName, func); } +function reportInfo(...args){ + console.info(...args); +} function reportWarning(...args){ console.warn(...args); } -- cgit v1.2.3