Skip to content

Commit

Permalink
fix logs
Browse files Browse the repository at this point in the history
  • Loading branch information
inbalvasserman committed Nov 12, 2023
1 parent 9301aea commit f05e978
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/engines/html5/media-source/adapters/native-adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,6 @@ export default class NativeAdapter extends BaseMediaSourceAdapter {
source.setAttribute('type', mimetype);

if (this._config.useMediaOptionAttribute) {
NativeAdapter._logger.debug('this._config.abrEwmaDefaultEstimate', this._config.abrEwmaDefaultEstimate);
const options = {};
options.option = {};
if (this._config.abrEwmaDefaultEstimate) {
Expand All @@ -475,7 +474,7 @@ export default class NativeAdapter extends BaseMediaSourceAdapter {
start: this._config.abrEwmaDefaultEstimate
};
}
NativeAdapter._logger.debug('options', options);
NativeAdapter._logger.debug('Setting mediaOption -', options);
const mediaOption = encodeURI(JSON.stringify(options));
source.setAttribute('type', mimetype + ';mediaOption=' + mediaOption);
}
Expand Down

0 comments on commit f05e978

Please sign in to comment.