From dd01c8ca4c6a91df75ffa8e7531c7ca010a9a201 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Fri, 27 Aug 2021 19:52:03 -0700 Subject: av-merge: change QuotaExceeded messages to warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jesús --- youtube/static/js/av-merge.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'youtube/static/js') diff --git a/youtube/static/js/av-merge.js b/youtube/static/js/av-merge.js index 0754feb..72bcd4c 100644 --- a/youtube/static/js/av-merge.js +++ b/youtube/static/js/av-merge.js @@ -226,7 +226,7 @@ Stream.prototype.appendSegment = function(segmentIdx, chunk) { // Delete 3 segments (arbitrary) from beginning of buffer, making sure // not to delete current one var currentSegment = this.getSegmentIdx(this.video.currentTime); - this.reportDebug('QuotaExceededError. Deleting segments.'); + this.reportWarning('QuotaExceededError. Deleting segments.'); var numDeleted = 0; var i = 0; while (numDeleted < 3 && i < currentSegment) { @@ -234,7 +234,7 @@ Stream.prototype.appendSegment = function(segmentIdx, chunk) { let start = entry.tickStart/this.sidx.timeScale; let end = entry.tickEnd/this.sidx.timeScale; if (entry.have) { - this.reportDebug('Deleting segment', i); + this.reportWarning('Deleting segment', i); this.sourceBuffer.remove(start, end); } } -- cgit v1.2.3