[frontend]: relax find segment

This commit is contained in:
Jesús 2021-12-16 18:10:00 -05:00
parent df7e41b61a
commit 5d753351c5
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -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);
}