You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
letmyHls=null;// https://airensoft.gitbook.io/ovenplayer/api-reference/events#on-hlsprepared// Get an hlsjs instance from OvenPlayer.player.on('hlsPrepared',function(hls){myHls=hls;});// If you change the config value of hlsjs, it will be applied in real time.yourWebSocket.addEventListener("message",(event)=>{myHls.config.liveSyncDuration=2;});
Hello everyone,
I'm looking for a way to dynamically change the liveSyncDuration parameter.
I have a websocket that sends a liveSyncDuration value and I'm looking for a way to put it in my ovenplayer.
Thanks to all
The text was updated successfully, but these errors were encountered: