From c1dbc6c4113b91769527ed4313d49b556cf0f6a5 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Sun, 29 Aug 2021 11:10:41 -0700 Subject: av-merge: print sourceBuffer.buffered in printDebuggingInfo 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 | 7 +++++++ 1 file changed, 7 insertions(+) (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 1d5ada6..fb8b50c 100644 --- a/youtube/static/js/av-merge.js +++ b/youtube/static/js/av-merge.js @@ -125,6 +125,13 @@ AVMerge.prototype.printDebuggingInfo = function() { reportDebug('mediaSource.readyState:', this.mediaSource.readyState); reportDebug('videoEndOfStreamCalled', this.videoEndOfStreamCalled); reportDebug('audioEndOfStreamCalled', this.audioEndOfStreamCalled); + for (let obj of [this.videoStream, this.audioStream]) { + reportDebug(obj.streamType, 'stream buffered times:'); + for (let i=0; i