It would be nice to be able to change the HLS config dynamically via msg.ui_update.hlsConfig. Whilst that would work similar to the other dynamic properties, there is a big difference: the HLS player is being created in the mounted event when the widget is being created, and then the initial HLS settings are set. So we need to override these intial settings afterwards.
Not sure yet if we can live override the settings, or we need to destroy the old player and create a new one.
Normally you pass an object of custom config parameters to the Hls constructor, will merge it automatically with the default Hls config parameters.
There is NO method availableout of the box in Hls.js which can be called to update the config (seehere), because not all parameters can be simply updated on the fly.
This might be solved by destroying the old hls player and create a new one (and pass the updated config to the constructor of the new Hls player instance.
It would be nice to be able to change the HLS config dynamically via
msg.ui_update.hlsConfig
. Whilst that would work similar to the other dynamic properties, there is a big difference: the HLS player is being created in themounted
event when the widget is being created, and then the initial HLS settings are set. So we need to override these intial settings afterwards.Not sure yet if we can live override the settings, or we need to destroy the old player and create a new one.