Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug().setLogToBrowserConsole(false) is not working #3018

Closed
bharath-exads opened this issue Jul 5, 2019 · 2 comments
Closed

debug().setLogToBrowserConsole(false) is not working #3018

bharath-exads opened this issue Jul 5, 2019 · 2 comments

Comments

@bharath-exads
Copy link

bharath-exads commented Jul 5, 2019

Steps to reproduce

var dashPlayer = dashjs.MediaPlayer().create();
dashPlayer.getDebug().setLogToBrowserConsole(false);

Observed behaviour

In players built using latest dash js 'https://cdn.dashjs.org/latest/dash.mediaplayer.min.js'

Console output

Uncaught TypeError: t.getDebug(...).setLogToBrowserConsole is not a function
at Object.initialiseDash (fluidplayer.min.js:1)

Like to know this API is change

@epiclabsDASH
Copy link
Contributor

@bharath-exads, we deprecated setLogToBrowserConsole in dash.js v2.9.1 and has been finally removed in dash.js v3.0.0.

To do the same you should do:

dashPlayer.updateSettings({ 'debug': { 'logLevel': dashjs.Debug.LOG_LEVEL_NONE }});

@pixelomo
Copy link

pixelomo commented Jul 27, 2020

...or revert your version of dashjs to v2.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants