Embed: Support for subtitles and metadata tracks over websocket

LSP: Preview tab: Show meta information for metadata tracks
LSP/embed: use new inclzero flag to receive sources that are enabled, but that don't currently have active tracks; and bugfix for metadata update for tracks not firing if sources have also changed
Embed: dashjs: disable stock subtitles unless activated
This commit is contained in:
Cat 2022-11-09 10:41:21 +01:00 committed by Thulinma
parent f3ba13d6bb
commit c337fff614
11 changed files with 514 additions and 85 deletions

View file

@ -177,6 +177,9 @@ p.prototype.build = function (MistVideo,callback) {
MistVideo.player.dash.attachSource(url);
};
if (MistVideo.options.controls != "stock"){
me.dash.updateSettings({streaming:{text:{defaultEnabled:false}}});
}
var subsloaded = false;
me.dash.on("allTextTracksAdded",function(){
subsloaded = true;