Skip to content

Commit

Permalink
remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatsev committed Dec 13, 2023
1 parent 8afadbe commit 4c1be1f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions lib/media/segment_prefetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ shaka.media.SegmentPrefetch = class {
goog.asserts.assert(this.prefetchLimit_ > 0,
'SegmentPrefetch can not be used when prefetchLimit <= 0.');

console.log('prefetch start', this.stream_.label, this.stream_.id, this.stream_.segmentIndex);

const logPrefix = shaka.media.SegmentPrefetch.logPrefix_(this.stream_);
if (!this.stream_.segmentIndex) {
shaka.log.info(logPrefix, 'missing segmentIndex');
Expand Down
2 changes: 0 additions & 2 deletions lib/media/streaming_engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,8 @@ shaka.media.StreamingEngine = class {
return;
}

console.log('new prefetch for ', variant.audio.id, variant.audio.label);
const segmentPrefetch = new shaka.media.SegmentPrefetch(
200, variant.audio, (ref, stream) => {
console.log('dispatch', stream.id, stream.label);
return this.dispatchFetch_(ref, stream, null);
}, true);
this.streamSegmentPrefetchMap_.set(variant.audio, segmentPrefetch);
Expand Down

0 comments on commit 4c1be1f

Please sign in to comment.