From aa756498d3370a89ec75bb8955cc59aeb7c141e4 Mon Sep 17 00:00:00 2001 From: jforbes Date: Tue, 12 Dec 2017 17:48:21 -0500 Subject: [PATCH] remove logs --- src/segment-loader.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/segment-loader.js b/src/segment-loader.js index fd68f06a4..722547b4f 100644 --- a/src/segment-loader.js +++ b/src/segment-loader.js @@ -671,27 +671,17 @@ export default class SegmentLoader extends videojs.EventTarget { return null; } - // this.logger_('checkBuffer_', - // 'mediaIndex:', mediaIndex, - // 'hasPlayed:', hasPlayed, - // 'currentTime:', currentTime, - // 'syncPoint:', syncPoint, - // 'fetchAtBuffer:', this.fetchAtBuffer_, - // 'bufferedTime:', bufferedTime); - // When the syncPoint is null, there is no way of determining a good // conservative segment index to fetch from // The best thing to do here is to get the kind of sync-point data by // making a request if (syncPoint === null) { mediaIndex = this.getSyncSegmentCandidate_(playlist); - // this.logger_('getSync', 'mediaIndex:', mediaIndex); return this.generateSegmentInfo_(playlist, mediaIndex, null, true); } // Under normal playback conditions fetching is a simple walk forward if (mediaIndex !== null) { - // this.logger_('walkForward', 'mediaIndex:', mediaIndex + 1); let segment = playlist.segments[mediaIndex]; if (segment && segment.end) { @@ -724,9 +714,6 @@ export default class SegmentLoader extends videojs.EventTarget { mediaIndex = mediaSourceInfo.mediaIndex; startOfSegment = mediaSourceInfo.startTime; } - // this.logger_('getMediaIndexForTime', - // 'mediaIndex:', mediaIndex, - // 'startOfSegment:', startOfSegment); return this.generateSegmentInfo_(playlist, mediaIndex, startOfSegment, false); }