<video> tag on the page There's a zillion log lines
I know that if I'm directly instantiating a MediaPlayer instance I can call mediaPlayer.getDebug().setLogToBrowserConsole(false). How do I do that if I'm just dropping dashjs on the page and letting it automatically upgrade <video> elements to use DASH?
I would look favorably on dash.js emitting less noisy log output in general. Even when I care about dash.js logs as I am interacting with the player or debugging something, the zillion log entries about buffering states makes it very hard to actually find anything useful.
@iameli, when dash.js is associated with HTML5 video elements it creates the property _dashjs_player on them so you can easily get a reference to each dash.js MediaPlayer instance.
For example, in case you have just one video element in your webpage, you will be able to deactivate logs in this way:
document.getElementsByTagName("video")[0]._dashjs_player.getDebug().setLogToBrowserConsole(false)
Most helpful comment
I would look favorably on dash.js emitting less noisy log output in general. Even when I care about dash.js logs as I am interacting with the player or debugging something, the zillion log entries about buffering states makes it very hard to actually find anything useful.