Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5 from bettytran/nbc-console-fix
Browse files Browse the repository at this point in the history
Remove console logging
  • Loading branch information
jasoncarmona authored Dec 12, 2018
2 parents 79855e6 + 1e642c1 commit bcdf8d6
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions dist/hls.js
Original file line number Diff line number Diff line change
Expand Up @@ -1944,7 +1944,7 @@ var MP4Demuxer = function () {
var referenceType = (referenceInfo & 0x80000000) >>> 31;

if (referenceType === 1) {
console.warn('SIDX has hierarchical references (not supported)');
__WEBPACK_IMPORTED_MODULE_0__utils_logger__["b" /* logger */].warn('SIDX has hierarchical references (not supported)');
return;
}

Expand Down Expand Up @@ -19042,9 +19042,9 @@ var DemuxerWorker = function DemuxerWorker(self) {
self.demuxer = new __WEBPACK_IMPORTED_MODULE_0__demux_demuxer_inline__["a" /* default */](observer, data.typeSupported, config, data.vendor);
try {
Object(__WEBPACK_IMPORTED_MODULE_2__utils_logger__["a" /* enableLogs */])(config.debug === true);
} catch (err) {
console.warn('demuxerWorker: unable to enable logs');
}
} catch (err) {}
// console.warn('demuxerWorker: unable to enable logs');

// signal end of worker init
forwardMessage('init', null);
break;
Expand Down
2 changes: 1 addition & 1 deletion dist/hls.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/hls.light.js
Original file line number Diff line number Diff line change
Expand Up @@ -1483,7 +1483,7 @@ var MP4Demuxer = function () {
var referenceType = (referenceInfo & 0x80000000) >>> 31;

if (referenceType === 1) {
console.warn('SIDX has hierarchical references (not supported)');
__WEBPACK_IMPORTED_MODULE_0__utils_logger__["b" /* logger */].warn('SIDX has hierarchical references (not supported)');
return;
}

Expand Down Expand Up @@ -13950,9 +13950,9 @@ var DemuxerWorker = function DemuxerWorker(self) {
self.demuxer = new __WEBPACK_IMPORTED_MODULE_0__demux_demuxer_inline__["a" /* default */](observer, data.typeSupported, config, data.vendor);
try {
Object(__WEBPACK_IMPORTED_MODULE_2__utils_logger__["a" /* enableLogs */])(config.debug === true);
} catch (err) {
console.warn('demuxerWorker: unable to enable logs');
}
} catch (err) {}
// console.warn('demuxerWorker: unable to enable logs');

// signal end of worker init
forwardMessage('init', null);
break;
Expand Down
2 changes: 1 addition & 1 deletion dist/hls.light.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/hls.light.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/hls.light.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/hls.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/hls.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/demux/demuxer-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ let DemuxerWorker = function (self) {
try {
enableLogs(config.debug === true);
} catch (err) {
console.warn('demuxerWorker: unable to enable logs');
// console.warn('demuxerWorker: unable to enable logs');
}
// signal end of worker init
forwardMessage('init', null);
Expand Down
2 changes: 1 addition & 1 deletion src/demux/mp4demuxer.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class MP4Demuxer {
const referenceType = (referenceInfo & 0x80000000) >>> 31;

if (referenceType === 1) {
console.warn('SIDX has hierarchical references (not supported)');
logger.warn('SIDX has hierarchical references (not supported)');
return;
}

Expand Down

0 comments on commit bcdf8d6

Please sign in to comment.