@bitmovin/player-web-x 10.1.2 → 10.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/playerx-bitmovin-v8-core.js +2 -2
- package/bundles/playerx-bitmovin-v8.js +2 -2
- package/bundles/playerx-core.js +2 -2
- package/bundles/playerx-dash.js +2 -2
- package/bundles/playerx-hls.js +2 -2
- package/bundles/playerx-tv.js +2 -2
- package/package.json +1 -1
- package/packages/playerx-adaptation.package.js +2 -2
- package/packages/playerx-analytics.package.js +1 -1
- package/packages/playerx-bitmovin-source-api.package.js +2 -2
- package/packages/playerx-bitmovin-ui.package.js +1 -1
- package/packages/playerx-bitmovin-v8-core.package.js +1 -1
- package/packages/playerx-bitmovin-v8-static-api.package.js +2 -2
- package/packages/playerx-bitmovin-video-element-utils.package.js +1 -1
- package/packages/playerx-capabilities.package.js +1 -1
- package/packages/playerx-container-mp4.package.js +1 -1
- package/packages/playerx-container-ts.package.js +1 -1
- package/packages/playerx-core.package.js +2 -2
- package/packages/playerx-dash-parsing.package.js +1 -1
- package/packages/playerx-dash-translation.package.js +1 -1
- package/packages/playerx-dash.package.js +2 -2
- package/packages/playerx-data.package.js +2 -2
- package/packages/playerx-event-bus.package.js +1 -1
- package/packages/playerx-hls-parsing.package.js +1 -1
- package/packages/playerx-hls-translation.package.js +2 -2
- package/packages/playerx-hls.package.js +2 -2
- package/packages/playerx-network.package.js +2 -2
- package/packages/playerx-playback-api.package.js +1 -1
- package/packages/playerx-playback.package.js +1 -1
- package/packages/playerx-player-api.package.js +1 -1
- package/packages/playerx-presentation.package.js +2 -2
- package/packages/playerx-segment-processing.package.js +2 -2
- package/packages/playerx-source.package.js +2 -2
- package/packages/playerx-sources-api.package.js +1 -1
- package/packages/playerx-subtitle-api.package.d.ts +1 -0
- package/packages/playerx-subtitle-api.package.js +10 -0
- package/packages/playerx-subtitle-base.package.js +2 -2
- package/packages/playerx-subtitle-format-detection.package.js +2 -2
- package/packages/playerx-subtitle-native-renderer.package.d.ts +1 -0
- package/packages/playerx-subtitle-native-renderer.package.js +10 -0
- package/packages/playerx-subtitles.package.d.ts +1 -0
- package/packages/playerx-subtitles.package.js +10 -0
- package/packages/playerx-trick-play.package.js +2 -2
- package/packages/playerx-ts-transmuxer.package.js +1 -1
- package/packages/playerx-tv.package.js +1 -1
- package/packages/playerx-view-mode.package.js +1 -1
- package/packages/playerx-web-vtt.package.d.ts +1 -0
- package/packages/playerx-web-vtt.package.js +2 -2
- package/playerx-framework-utils.js +1 -1
- package/types/bundles/BitmovinV8.bundle.d.ts +1 -1
- package/types/bundles/Hls.bundle.d.ts +3 -2
- package/types/bundles/Tv.bundle.d.ts +1 -1
- package/types/packages/core/Types.d.ts +4 -0
- package/types/packages/core/state/data-ranges/DataRangesAtom.d.ts +1 -0
- package/types/packages/core/state/selection-group/SelectionGroupAtom.d.ts +1 -1
- package/types/packages/core/state/timeline/TimelineAtom.d.ts +2 -0
- package/types/packages/core/state/timeline/TimelineTrackerAtom.d.ts +10 -0
- package/types/packages/core/state/timeline/Types.d.ts +31 -0
- package/types/packages/core/state/track/TrackAtom.d.ts +1 -0
- package/types/packages/core/utils/DomUtils.d.ts +8 -0
- package/types/packages/core/utils/MapSubscribe.d.ts +10 -0
- package/types/packages/core/utils/MapUnsubscribedError.d.ts +4 -0
- package/types/packages/core/utils/StateUtils.d.ts +2 -7
- package/types/packages/core/utils/TypedArrayHelper.d.ts +2 -0
- package/types/packages/core/utils/Types.d.ts +2 -0
- package/types/packages/event-bus/Types.d.ts +1 -1
- package/types/packages/subtitles/Subtitles.package.d.ts +17 -0
- package/types/packages/subtitles/subtitle-api/SubtitleApi.package.d.ts +12 -0
- package/types/packages/subtitles/subtitle-api/Types.d.ts +93 -0
- package/types/packages/subtitles/subtitle-base/SubtitleBase.package.d.ts +9 -0
- package/types/packages/subtitles/subtitle-base/SubtitleBufferClearingTask.d.ts +3 -0
- package/types/packages/subtitles/subtitle-base/SubtitleCueAtom.d.ts +4 -2
- package/types/packages/subtitles/subtitle-base/SubtitleCueMapAtom.d.ts +14 -3
- package/types/packages/subtitles/subtitle-base/Types.d.ts +14 -1
- package/types/packages/subtitles/subtitle-format-detection/SubtitleFormatDetection.package.d.ts +12 -2
- package/types/packages/subtitles/subtitle-format-detection/Types.d.ts +9 -3
- package/types/packages/subtitles/subtitle-native-renderer/SubtitleNativeRenderer.package.d.ts +12 -0
- package/types/packages/subtitles/subtitle-native-renderer/Types.d.ts +20 -0
- package/types/packages/subtitles/webvtt/Types.d.ts +47 -0
- package/types/packages/subtitles/webvtt/WebVtt.package.d.ts +12 -0
- package/types/packages/subtitles/webvtt/WebVttParseTask.d.ts +3 -0
- package/types/packages/v8-compat/BitmovinV8StaticApi.package.d.ts +2 -0
- package/types/packages/v8-compat/source-api/BitmovinSourceApi.package.d.ts +7 -2
- package/types/packages/v8-compat/types/PlayerConfig.d.ts +8 -1
- package/types/packages/v8-compat/types/PlayerEventMap.d.ts +410 -0
- package/types/packages/v8-compat/types/Types.d.ts +12 -3
- package/types/packages/v8-compat/apis/SubtitleApi.d.ts +0 -9
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* source code is subject to the terms and conditions of the accompanying
|
|
6
6
|
* license agreement.
|
|
7
7
|
*
|
|
8
|
-
* Bitmovin Player X Version 10.1.
|
|
8
|
+
* Bitmovin Player X Version 10.1.3
|
|
9
9
|
*******************************************************************************/
|
|
10
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["web-vtt"]=t():(e.bitmovin=e.bitmovin||{},e.bitmovin.playerx=e.bitmovin.playerx||{},e.bitmovin.playerx["web-vtt"]=t())}(self,(()=>(()=>{var e={3576:e=>{!function(t,r){e.exports=r()}(self,(()=>(()=>{"use strict";var e={61:function(e,t,r){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.WebVttParser=void 0;var i=r(266);function o(e,t,r){return(t?a(t,"cue-past"):"")+e+(r?a(r,"cue-future"):"")}function a(e,t){return"<c.".concat(t,">").concat(e,"</c>")}t.WebVttParser={parse:function(e,t){void 0===t&&(t=0);var r=(e=e.replace(/\r\n/gm,"\n")).split(/\n{2,}|^[WEBVTT\n+]?X-TIMESTAMP-MAP=.*\n+|^WEBVTT\n+/m).filter((function(e){return null!=e&&""!==e})).map((function(e){return e.split("\n")})),a=function(e){var t=/X-TIMESTAMP-MAP=(.*)\n/.exec(e);if(null==(null==t?void 0:t[1]))return 0;var r=t[0],n=/LOCAL:((?:(\d{1,}):)?(\d{2}):(\d{2})\.(\d{3}))/m.exec(r),o=/MPEGTS:(\d+)/m.exec(r),a=0;if(null==n?void 0:n[1]){var u=i.parseTime(n[1]);null!=u&&(a=u)}var s=0;return null!=o&&(s=Number(o[1])),s/9e4-a}(e),u=function(e){for(var t=[],r=[],n=0,o=e;n<o.length;n++){var a=o[n],u=a[0];/^STYLE/.test(u.trim())&&r.push.apply(r,i.parseStyles(a)),/^region:?/i.test(u.trim())&&t.push.apply(t,i.parseRegions(a))}return{regions:t,styles:r}}(r);return function(e,t,r){var a=[],u=0,s=t.regions,c=function(e){var t={},r=[];return e.forEach((function(e){null==e.identifier&&(t=n(n({},t),e.style));var i=r.findIndex((function(t){return t.identifier===e.identifier}));-1!==i?r[i]={identifier:e.identifier,style:n(n({},r[i].style),e.style)}:r.push(e)})),i.getPlaceholderVttStyleProperties().forEach((function(e){r.find((function(t){return t.identifier===e.identifier}))||r.push(e)})),{globalStyle:t,contentStyles:r}}(t.styles),l=c.globalStyle,f=c.contentStyles;return e.filter((function(e){return t=e[0],r=/^NOTE/.test(t),n=/^STYLE/.test(t),i=/^region:?/i.test(t),!r&&!n&&!i;var t,r,n,i})).forEach((function(e){var t=void 0;e[0].includes("--\x3e")||(t=e[0].trim(),e.splice(0,1));var c,p=function(e,t){var r=Number(e);return null==e||isNaN(r)?t+1:r}(t,u);if(u=p,null!=(c=e[0])&&""!==c&&c.includes("--\x3e")){var d=i.parseOptions(e[0],s);d.id=t;var v=function(e,t,r){var n=/(<\d+:\d{2}:\d{2}[.,]\d{3}>)/g,a=[],u=function(e){var t=e[0].split(/[ \t]+-->[ \t]+/);return{start:i.parseTime(t[0]),end:i.parseTime(t[1])}}(e),s=u.start,c=u.end;if(null!==s&&null!==c){for(var l,f=function(e){return e.slice(1).join("\n").trim()}(e),p=f.split(n),d="",v=f.replace(n,""),m=s;p.length>0;){var b=p.shift(),y=p.shift(),g=y?i.parseTime(y):c,h=null!=g?g:c;if(m!==h){var x=o(b,d,v=v.substring(b.length));d+=b;var P=i.parseContents(x,r,t,(l=void 0,l="ReactNative"===window.navigator.product,!(window&&window.document&&"function"==typeof window.document.createElement)||l));a.push({updateTime:m,html:P}),m=h}}var A=a.shift();if(A)return{start:s,end:c,html:A.html,subCues:a}}}(e,f,r.base);if(void 0!==v){var m=function(e,t,r){var i=e.filter((function(e){return e.identifier==="#"+r})).reduce((function(e,t){return n(n({},e),t.style)}),{});return n(n({},t),i)}(f,l,t),b=function(e,t,r,o,a){var u,s,c={i:t,start:e.start+o.base,end:e.end+o.base,text:(null===(u=e.html)||void 0===u?void 0:u.textContent)||(null===(s=e.html)||void 0===s?void 0:s.innerText)||"",html:i.stringifyCueHtml(e.html),vtt:n({},a),updates:e.subCues.map((function(e){return{updateTime:e.updateTime+o.base,html:i.stringifyCueHtml(e.html)}}))},l=i.stringifyCssProperties(r);return 0!==o.vtt&&(c.offset=o.vtt),l&&(c.layout=l),c}(v,p,m,r,d);a.push(b)}}})),a}(r,u,{vtt:a,base:t})}},t.default=t.WebVttParser},156:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WebVttParser=void 0;var n=r(505),i=r(61);t.WebVttParser={parse:i.WebVttParser.parse,extractVttProperties:n.extractVttProperties},t.default=t.WebVttParser},853:function(e,t,r){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},i=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.parseContents=function(e,t,r,n){var i=function(e){var t;if(e){var r=(o||(o=new DOMParser),o).parseFromString("<span></span>","text/html");return(null===(t=r.body)||void 0===t?void 0:t.firstChild)||r.firstChild}return document.createElement("span")}(n);return v({input:e,root:i,current:i,tagStack:[],offset:t,styles:r})};var o,a=r(839),u=r(505),s={"&":"&","<":"<",">":">","‎":"","‏":""," ":" "},c={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},l={v:"title",lang:"lang"},f={rt:"ruby"},p={"cue-future":":future","cue-past":":past"},d=2;function v(e){var t=function(e){if(!e)return null;var t=/^([^<]*)(<[^>]+>?)?/.exec(e);if(!t)return null;var r=t[1],n=t[2];return r||n}(e.input);return null==t?e.root:(e.input=e.input.substring(t.length),function(e,t){if("<"!==e[0]){var r=t.current.ownerDocument.createTextNode((o=e,Object.keys(s).forEach((function(e){o=o.replace(new RegExp(e,"g"),s[e])})),o));return t.current.appendChild(r),v(t)}var o,m,b;if("/"===e[1])return m=e,(b=t.tagStack).length>0&&b[b.length-1]===m.substring(d).replace(">","")&&(t.tagStack.pop(),t.current=t.current.parentNode),v(t);var y=(0,u.parseTime)(e.substring(1,e.length-1));if(null!=y){var g=t.current.ownerDocument.createComment("time: ".concat(y+t.offset));return t.current.appendChild(g),v(t)}var h=/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/.exec(e);if(!h)return v(t);var x,P,A=h[0],N=h[1],_=h[2],S=h[3],C=function(e,t,r){var n=c[e];if(!n)return null;var i=r.createElement(n),o=l[e];return o&&t&&(i[o]=t.trim()),i}(N,S,t.current.ownerDocument);return C?(x=t.current,f[(P=C).localName]&&f[P.localName]!==x.localName||(function(e,t,r){var o=function(e,t){var r,o,s,c,l;e=i(i([],e,!0),a.webVttDefaultClassStyles,!0);var f="",d="",v={};if(t.type&&"v"!==t.type&&(v=null!==(o=null===(r=e.find((function(e){return e.identifier===t.type})))||void 0===r?void 0:r.style)&&void 0!==o?o:v),t.contents){var m=t.contents.substring(1).split(".").map((function(e){return p[e]||".".concat(e)})),b=[];m.forEach((function(t){var r,n=null===(r=e.find((function(e){return e.identifier===t})))||void 0===r?void 0:r.style;n&&b.push(n)})),v=b.reduce((function(e,t){return n(n({},e),t)}),{}),f=t.contents.split(".").join(" ").trim()}return"v"===t.type&&t.annotation&&(d=t.annotation.substring(1),v=null!==(c=null===(s=e.find((function(e){return e.identifier==="".concat(t.type,'[voice="').concat(d,'"]')})))||void 0===s?void 0:s.style)&&void 0!==c?c:v),{className:f,title:d,styleString:null!==(l=(0,u.stringifyCssProperties)(v))&&void 0!==l?l:""}}(t,r),s=o.className,c=o.title,l=o.styleString;c&&(e.title=c),s&&(e.className=s),l&&e.setAttribute("style",l)}(C,t.styles,{type:N,contents:_,annotation:S}),t.tagStack.push(A[1]),t.current.appendChild(C),t.current=C),v(t)):v(t)}(t,e))}},839:function(e,t){var r=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.webVttDefaultClassStyles=void 0;var n=["white","lime","cyan","red","yellow","magenta","blue","black"];t.webVttDefaultClassStyles=r(r([],n.map((function(e){return{identifier:".".concat(e),style:{color:e}}})),!0),n.map((function(e){return{identifier:".bg_".concat(e),style:{background:e}}})),!0)},499:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseOptions=function(e,t){var r=e.split(/\s/),n=(0,i.getDefaultVttProperties)();return r.forEach((function(e){o(e.split(":"),t,n)})),function(e){var t=(0,i.getDefaultVttProperties)();null!=e.region&&(e.vertical!==t.vertical||e.size!==t.size||e.line!==t.line)&&delete e.region}(n),n},t.setOptionProperty=o;var n=r(358),i=r(505);function o(e,t,r){var o=e[0],u=e[1];switch(o){case"region":!function(e,t,r){var n=t.find((function(t){return t.id===e}));null!=n&&(r.region=n)}(u,t,r);break;case"vertical":!function(e,t){var r=(0,i.ensureArray)(/^(lr|rl)$/.exec(e))[1];null!=r&&(t.vertical=r)}(u,r);break;case"align":!function(e,t){var r=(0,i.ensureArray)(/^(start|middle|center|end|left|right)$/.exec(e))[1];null!=r&&(t.align=r),t.positionAlign=a(void 0,t)}(u,r);break;case"size":!function(e,t){var r=(0,i.ensureArray)(/^([\d.]+)%$/.exec(e))[1];null!=r&&(t.size=Number(r))}(u,r);break;case"position":!function(e,t){var r=(0,i.ensureArray)(/^([\d.]+|auto)%?(?:,(line-left|line-right|center))?$/.exec(e)),n=r[1],o=r[2];"auto"===n?t.position="auto":void 0!==n&&(t.position=Number(n)),t.positionAlign=a(o,t)}(u,r);break;case"line":!function(e,t){var r=(0,i.ensureArray)(/^(-?[\d.]+|auto)(%)?(?:,(start|end|center|auto))?$/.exec(e)),o=r[1],a=r[2],u=r[3],s="%"===a;"auto"===o?t.line="auto":s?t.line="".concat(o,"%"):null!=e&&(t.line=Number(o)),null!=u&&(t.lineAlign=u),t.snapToLines=(0,n.isNumber)(t.line)}(u,r)}}function a(e,t){if(null!=e)return e;switch(t.align){case"start":case"left":return"line-left";case"end":case"right":return"line-right";default:return"center"}}},505:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultVttProperties=function(){return{vertical:"",align:"center",size:100,line:"auto",lineAlign:"start",position:"auto",positionAlign:"center",snapToLines:!1}},t.extractVttProperties=function(e){var t={vertical:"",align:"center",size:100,line:"auto",lineAlign:"start",position:"auto",positionAlign:"center",snapToLines:!1},r={id:null,width:100,lines:3,regionAnchorX:0,regionAnchorY:100,viewportAnchorX:0,viewportAnchorY:100,scroll:""};return Object.keys(t).forEach((function(o){return(0,i.setOptionProperty)(function(e,t,r){var i=[e,t[e]?"".concat(t[e]):r[e]],o="line"===e;return("position"===e&&(0,n.isNumber)(t[e])||o&&!1===t.snapToLines)&&(i[1]+="%"),i}(o,e,t),[r],t)})),t},t.getDefaultVttRegionProperties=function(){return{id:null,width:100,lines:3,regionAnchorX:0,regionAnchorY:100,viewportAnchorX:0,viewportAnchorY:100,scroll:""}},t.parseTime=function(e){var t=/(?:(\d{1,}):)?(\d{2}):(\d{2})[.,](\d{3})/g.exec(e);if(null==t)return null;var r=t[1],n=t[2],i=t[3],o=t[4];return Number(o)/1e3+Number(i)+60*Number(n)+3600*(Number(r)||0)},t.ensureArray=function(e){return Array.isArray(e)?e:[]},t.stringifyCssProperties=function(e){return e?Object.entries(e).map((function(e){return"".concat(e[0],":").concat(e[1],";")})).join(""):null},t.stringifyCueHtml=function(e){return function(e){return e.replace(/(\r\n|\r|\n)/g,"<br />")}((null==e?void 0:e.outerHTML)||"")};var n=r(358),i=r(499)},627:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseRegions=function(e){for(var t=[],r=0,n=e;r<n.length;r++){var a=n[r];if(a=a.trim(),/^REGION$/i.test(a)){t.push(o(e.slice(1),":"));break}/^Region:/i.test(a)&&t.push(i(a))}return t};var n=r(505);function i(e){return o(e.split(/[ \t]+/).slice(1),"=")}function o(e,t){var r=(0,n.getDefaultVttRegionProperties)();return e.forEach((function(e){!function(e,t){var r=e[0],i=e[1];switch(r){case"id":!function(e,t){null!=e&&(t.id=e)}(i,t);break;case"width":!function(e,t){var r=(0,n.ensureArray)(/^(\d{1,2}|100)%$/.exec(e))[1];null!=r&&(t.width=Number(r))}(i,t);break;case"lines":!function(e,t){var r=(0,n.ensureArray)(/^(\d+)$/.exec(e))[1];null!=r&&(t.lines=Number(r))}(i,t);break;case"regionanchor":!function(e,t){var r=(0,n.ensureArray)(/^(\d{1,2}|100)%,(\d{1,2}|100)%$/.exec(e)),i=r[1],o=r[2];null!=i&&(t.regionAnchorX=Number(i)),null!=o&&(t.regionAnchorY=Number(o))}(i,t);break;case"viewportanchor":!function(e,t){var r=(0,n.ensureArray)(/^(\d{1,2}|100)%,(\d{1,2}|100)%$/.exec(e)),i=r[1],o=r[2];null!=i&&(t.viewportAnchorX=Number(i)),null!=o&&(t.viewportAnchorY=Number(o))}(i,t);break;case"scroll":!function(e,t){var r=(0,n.ensureArray)(/^(up)$/.exec(e))[1];null!=r&&(t.scroll=r)}(i,t)}}(e.split(t),r)})),r}},393:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseStyles=function(e){var t=[],r=/::cue(\((.+)\))?(?= |{)/,n=/([a-zA-Z0-9-]+):(.+?(?=;|}|$))/g,i=r.exec(e[1]);if(!i)return t;for(var o=1;o<e.length;o++){for(var a=r.exec(e[o]),u=null!==a,s=(i=u?a:i)[2],c={},l=n.exec(e[o]);null!==l;){var f=l[1],p=l[2];c[f]=p.trim(),l=n.exec(e[o])}(u||Object.keys(c).length>0)&&t.push({identifier:s,style:c})}return t},t.getPlaceholderVttStyleProperties=function(){return[{identifier:":future",style:{visibility:"hidden"}}]}},266:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(853),t),i(r(499),t),i(r(505),t),i(r(627),t),i(r(393),t)},358:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isNumber=void 0,t.isNumber=function(e){return"number"==typeof e}}},t={};return function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}(156)})()))},7085:(e,t)=>{"use strict";function r(e,t,r){const n=t;return n._name=e,{onAdd:n,dependencies:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.createPackage=void 0,t.createPackage=r},1270:(e,t)=>{"use strict";function r(e,t){const r=t;return r._name=e,r}function n(e){return(...t)=>{const[n,i]=e(...t);return r(n,i)}}function i(e){var t;return null!==(t=e._name)&&void 0!==t?t:e.name}Object.defineProperty(t,"__esModule",{value:!0}),t.getTaskName=t.createTaskClosure=t.createTask=void 0,t.createTask=r,t.createTaskClosure=n,t.getTaskName=i},4809:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CoreExportNames=void 0,function(e){e.Utils="utils",e.Constants="constants",e.CoreEffects="core-effects",e.CoreStateAtoms="core-state-atoms"}(t.CoreExportNames||(t.CoreExportNames={}))},7269:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SourceExportNames=void 0,function(e){e.CreateSourceStateAtom="create-source-state-atom",e.CreateSourceReference="create-source-reference",e.SourceReferences="source-references",e.SourceState="source-state-atom"}(t.SourceExportNames||(t.SourceExportNames={}))},2411:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SubtitleBaseExportNames=void 0,function(e){e.SubtitleCueMapAtom="subtitle-cue-map-atom",e.CreateSubtitleCueAtom="create-subtitle-cue-atom"}(t.SubtitleBaseExportNames||(t.SubtitleBaseExportNames={}))},8465:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebVttExportNames=void 0,function(e){e.WebVttParseTask="web-vtt-parse-task"}(t.WebVttExportNames||(t.WebVttExportNames={}))},9565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebVttParseTask=void 0;const n=r(1270),i=r(3576),o=r(2411);function a(e,t){const r=t.registry.get(o.SubtitleBaseExportNames.CreateSubtitleCueAtom);return e.flatMap((e=>{const n=r(t,{start:e.start,end:e.end,html:e.html,text:e.text,metadata:{i:e.i,vttProperties:Object.assign({},e.vtt),offset:e.offset,layout:e.layout,updates:e.updates}});return[n,...u(n,t)]}))}function u(e,t){var r;const n=[],i=t.registry.get(o.SubtitleBaseExportNames.CreateSubtitleCueAtom),a=e.metadata;for(let o=0;o<a.updates.length;o++){const u=a.updates[o],s=a.updates[o+1],c=u.updateTime,l=u.html,f=null!==(r=null==s?void 0:s.updateTime)&&void 0!==r?r:e.end;n.push(i(t,{start:c,end:f,html:l,text:e.text,referenceCue:e,metadata:{i:a.i,vttProperties:Object.assign({},a.vttProperties),offset:a.offset,layout:a.layout}}))}return n}t.WebVttParseTask=(0,n.createTask)("web-vtt-parse",((e,t)=>a(i.default.parse(e),t)))}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}var n={};return(()=>{"use strict";var e=n;Object.defineProperty(e,"__esModule",{value:!0}),e.WebVttPackage=void 0;const t=r(7085),i=r(4809),o=r(7269),a=r(2411),u=r(8465),s=r(9565);e.WebVttPackage=(0,t.createPackage)("web-vtt-package",((e,t)=>{const{StateEffectFactory:r,EventListenerEffectFactory:n}=t.registry.get(i.CoreExportNames.CoreEffects);t.using(r,n).registry.maybeSet(u.WebVttExportNames.WebVttParseTask,s.WebVttParseTask)}),[i.CoreExportNames.CoreStateAtoms,i.CoreExportNames.CoreEffects,a.SubtitleBaseExportNames.SubtitleCueMapAtom,a.SubtitleBaseExportNames.CreateSubtitleCueAtom,o.SourceExportNames.SourceState])})(),n})()));
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["web-vtt"]=t():(e.bitmovin=e.bitmovin||{},e.bitmovin.playerx=e.bitmovin.playerx||{},e.bitmovin.playerx["web-vtt"]=t())}(self,(()=>(()=>{var e={3576:e=>{!function(t,r){e.exports=r()}(self,(()=>(()=>{"use strict";var e={61:function(e,t,r){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.WebVttParser=void 0;var i=r(266);function o(e,t,r){return(t?a(t,"cue-past"):"")+e+(r?a(r,"cue-future"):"")}function a(e,t){return"<c.".concat(t,">").concat(e,"</c>")}t.WebVttParser={parse:function(e,t){void 0===t&&(t=0);var r=(e=e.replace(/\r\n/gm,"\n")).split(/\n{2,}|^[WEBVTT\n+]?X-TIMESTAMP-MAP=.*\n+|^WEBVTT\n+/m).filter((function(e){return null!=e&&""!==e})).map((function(e){return e.split("\n")})),a=function(e){var t=/X-TIMESTAMP-MAP=(.*)\n/.exec(e);if(null==(null==t?void 0:t[1]))return 0;var r=t[0],n=/LOCAL:((?:(\d{1,}):)?(\d{2}):(\d{2})\.(\d{3}))/m.exec(r),o=/MPEGTS:(\d+)/m.exec(r),a=0;if(null==n?void 0:n[1]){var s=i.parseTime(n[1]);null!=s&&(a=s)}var u=0;return null!=o&&(u=Number(o[1])),u/9e4-a}(e),s=function(e){for(var t=[],r=[],n=0,o=e;n<o.length;n++){var a=o[n],s=a[0];/^STYLE/.test(s.trim())&&r.push.apply(r,i.parseStyles(a)),/^region:?/i.test(s.trim())&&t.push.apply(t,i.parseRegions(a))}return{regions:t,styles:r}}(r);return function(e,t,r){var a=[],s=0,u=t.regions,c=function(e){var t={},r=[];return e.forEach((function(e){null==e.identifier&&(t=n(n({},t),e.style));var i=r.findIndex((function(t){return t.identifier===e.identifier}));-1!==i?r[i]={identifier:e.identifier,style:n(n({},r[i].style),e.style)}:r.push(e)})),i.getPlaceholderVttStyleProperties().forEach((function(e){r.find((function(t){return t.identifier===e.identifier}))||r.push(e)})),{globalStyle:t,contentStyles:r}}(t.styles),l=c.globalStyle,f=c.contentStyles;return e.filter((function(e){return t=e[0],r=/^NOTE/.test(t),n=/^STYLE/.test(t),i=/^region:?/i.test(t),!r&&!n&&!i;var t,r,n,i})).forEach((function(e){var t=void 0;e[0].includes("--\x3e")||(t=e[0].trim(),e.splice(0,1));var c,p=function(e,t){var r=Number(e);return null==e||isNaN(r)?t+1:r}(t,s);if(s=p,null!=(c=e[0])&&""!==c&&c.includes("--\x3e")){var d=i.parseOptions(e[0],u);d.id=t;var v=function(e,t,r){var n=/(<\d+:\d{2}:\d{2}[.,]\d{3}>)/g,a=[],s=function(e){var t=e[0].split(/[ \t]+-->[ \t]+/);return{start:i.parseTime(t[0]),end:i.parseTime(t[1])}}(e),u=s.start,c=s.end;if(null!==u&&null!==c){for(var l,f=function(e){return e.slice(1).join("\n").trim()}(e),p=f.split(n),d="",v=f.replace(n,""),m=u;p.length>0;){var b=p.shift(),g=p.shift(),y=g?i.parseTime(g):c,h=null!=y?y:c;if(m!==h){var S=o(b,d,v=v.substring(b.length));d+=b;var x=i.parseContents(S,r,t,(l=void 0,l="ReactNative"===window.navigator.product,!(window&&window.document&&"function"==typeof window.document.createElement)||l));a.push({updateTime:m,html:x}),m=h}}var P=a.shift();if(P)return{start:u,end:c,html:P.html,subCues:a}}}(e,f,r.base);if(void 0!==v){var m=function(e,t,r){var i=e.filter((function(e){return e.identifier==="#"+r})).reduce((function(e,t){return n(n({},e),t.style)}),{});return n(n({},t),i)}(f,l,t),b=function(e,t,r,o,a){var s,u,c={i:t,start:e.start+o.base,end:e.end+o.base,text:(null===(s=e.html)||void 0===s?void 0:s.textContent)||(null===(u=e.html)||void 0===u?void 0:u.innerText)||"",html:i.stringifyCueHtml(e.html),vtt:n({},a),updates:e.subCues.map((function(e){return{updateTime:e.updateTime+o.base,html:i.stringifyCueHtml(e.html)}}))},l=i.stringifyCssProperties(r);return 0!==o.vtt&&(c.offset=o.vtt),l&&(c.layout=l),c}(v,p,m,r,d);a.push(b)}}})),a}(r,s,{vtt:a,base:t})}},t.default=t.WebVttParser},156:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WebVttParser=void 0;var n=r(505),i=r(61);t.WebVttParser={parse:i.WebVttParser.parse,extractVttProperties:n.extractVttProperties},t.default=t.WebVttParser},853:function(e,t,r){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},i=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.parseContents=function(e,t,r,n){var i=function(e){var t;if(e){var r=(o||(o=new DOMParser),o).parseFromString("<span></span>","text/html");return(null===(t=r.body)||void 0===t?void 0:t.firstChild)||r.firstChild}return document.createElement("span")}(n);return v({input:e,root:i,current:i,tagStack:[],offset:t,styles:r})};var o,a=r(839),s=r(505),u={"&":"&","<":"<",">":">","‎":"","‏":""," ":" "},c={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},l={v:"title",lang:"lang"},f={rt:"ruby"},p={"cue-future":":future","cue-past":":past"},d=2;function v(e){var t=function(e){if(!e)return null;var t=/^([^<]*)(<[^>]+>?)?/.exec(e);if(!t)return null;var r=t[1],n=t[2];return r||n}(e.input);return null==t?e.root:(e.input=e.input.substring(t.length),function(e,t){if("<"!==e[0]){var r=t.current.ownerDocument.createTextNode((o=e,Object.keys(u).forEach((function(e){o=o.replace(new RegExp(e,"g"),u[e])})),o));return t.current.appendChild(r),v(t)}var o,m,b;if("/"===e[1])return m=e,(b=t.tagStack).length>0&&b[b.length-1]===m.substring(d).replace(">","")&&(t.tagStack.pop(),t.current=t.current.parentNode),v(t);var g=(0,s.parseTime)(e.substring(1,e.length-1));if(null!=g){var y=t.current.ownerDocument.createComment("time: ".concat(g+t.offset));return t.current.appendChild(y),v(t)}var h=/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/.exec(e);if(!h)return v(t);var S,x,P=h[0],C=h[1],N=h[2],T=h[3],E=function(e,t,r){var n=c[e];if(!n)return null;var i=r.createElement(n),o=l[e];return o&&t&&(i[o]=t.trim()),i}(C,T,t.current.ownerDocument);return E?(S=t.current,f[(x=E).localName]&&f[x.localName]!==S.localName||(function(e,t,r){var o=function(e,t){var r,o,u,c,l;e=i(i([],e,!0),a.webVttDefaultClassStyles,!0);var f="",d="",v={};if(t.type&&"v"!==t.type&&(v=null!==(o=null===(r=e.find((function(e){return e.identifier===t.type})))||void 0===r?void 0:r.style)&&void 0!==o?o:v),t.contents){var m=t.contents.substring(1).split(".").map((function(e){return p[e]||".".concat(e)})),b=[];m.forEach((function(t){var r,n=null===(r=e.find((function(e){return e.identifier===t})))||void 0===r?void 0:r.style;n&&b.push(n)})),v=b.reduce((function(e,t){return n(n({},e),t)}),{}),f=t.contents.split(".").join(" ").trim()}return"v"===t.type&&t.annotation&&(d=t.annotation.substring(1),v=null!==(c=null===(u=e.find((function(e){return e.identifier==="".concat(t.type,'[voice="').concat(d,'"]')})))||void 0===u?void 0:u.style)&&void 0!==c?c:v),{className:f,title:d,styleString:null!==(l=(0,s.stringifyCssProperties)(v))&&void 0!==l?l:""}}(t,r),u=o.className,c=o.title,l=o.styleString;c&&(e.title=c),u&&(e.className=u),l&&e.setAttribute("style",l)}(E,t.styles,{type:C,contents:N,annotation:T}),t.tagStack.push(P[1]),t.current.appendChild(E),t.current=E),v(t)):v(t)}(t,e))}},839:function(e,t){var r=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.webVttDefaultClassStyles=void 0;var n=["white","lime","cyan","red","yellow","magenta","blue","black"];t.webVttDefaultClassStyles=r(r([],n.map((function(e){return{identifier:".".concat(e),style:{color:e}}})),!0),n.map((function(e){return{identifier:".bg_".concat(e),style:{background:e}}})),!0)},499:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseOptions=function(e,t){var r=e.split(/\s/),n=(0,i.getDefaultVttProperties)();return r.forEach((function(e){o(e.split(":"),t,n)})),function(e){var t=(0,i.getDefaultVttProperties)();null!=e.region&&(e.vertical!==t.vertical||e.size!==t.size||e.line!==t.line)&&delete e.region}(n),n},t.setOptionProperty=o;var n=r(358),i=r(505);function o(e,t,r){var o=e[0],s=e[1];switch(o){case"region":!function(e,t,r){var n=t.find((function(t){return t.id===e}));null!=n&&(r.region=n)}(s,t,r);break;case"vertical":!function(e,t){var r=(0,i.ensureArray)(/^(lr|rl)$/.exec(e))[1];null!=r&&(t.vertical=r)}(s,r);break;case"align":!function(e,t){var r=(0,i.ensureArray)(/^(start|middle|center|end|left|right)$/.exec(e))[1];null!=r&&(t.align=r),t.positionAlign=a(void 0,t)}(s,r);break;case"size":!function(e,t){var r=(0,i.ensureArray)(/^([\d.]+)%$/.exec(e))[1];null!=r&&(t.size=Number(r))}(s,r);break;case"position":!function(e,t){var r=(0,i.ensureArray)(/^([\d.]+|auto)%?(?:,(line-left|line-right|center))?$/.exec(e)),n=r[1],o=r[2];"auto"===n?t.position="auto":void 0!==n&&(t.position=Number(n)),t.positionAlign=a(o,t)}(s,r);break;case"line":!function(e,t){var r=(0,i.ensureArray)(/^(-?[\d.]+|auto)(%)?(?:,(start|end|center|auto))?$/.exec(e)),o=r[1],a=r[2],s=r[3],u="%"===a;"auto"===o?t.line="auto":u?t.line="".concat(o,"%"):null!=e&&(t.line=Number(o)),null!=s&&(t.lineAlign=s),t.snapToLines=(0,n.isNumber)(t.line)}(s,r)}}function a(e,t){if(null!=e)return e;switch(t.align){case"start":case"left":return"line-left";case"end":case"right":return"line-right";default:return"center"}}},505:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultVttProperties=function(){return{vertical:"",align:"center",size:100,line:"auto",lineAlign:"start",position:"auto",positionAlign:"center",snapToLines:!1}},t.extractVttProperties=function(e){var t={vertical:"",align:"center",size:100,line:"auto",lineAlign:"start",position:"auto",positionAlign:"center",snapToLines:!1},r={id:null,width:100,lines:3,regionAnchorX:0,regionAnchorY:100,viewportAnchorX:0,viewportAnchorY:100,scroll:""};return Object.keys(t).forEach((function(o){return(0,i.setOptionProperty)(function(e,t,r){var i=[e,t[e]?"".concat(t[e]):r[e]],o="line"===e;return("position"===e&&(0,n.isNumber)(t[e])||o&&!1===t.snapToLines)&&(i[1]+="%"),i}(o,e,t),[r],t)})),t},t.getDefaultVttRegionProperties=function(){return{id:null,width:100,lines:3,regionAnchorX:0,regionAnchorY:100,viewportAnchorX:0,viewportAnchorY:100,scroll:""}},t.parseTime=function(e){var t=/(?:(\d{1,}):)?(\d{2}):(\d{2})[.,](\d{3})/g.exec(e);if(null==t)return null;var r=t[1],n=t[2],i=t[3],o=t[4];return Number(o)/1e3+Number(i)+60*Number(n)+3600*(Number(r)||0)},t.ensureArray=function(e){return Array.isArray(e)?e:[]},t.stringifyCssProperties=function(e){return e?Object.entries(e).map((function(e){return"".concat(e[0],":").concat(e[1],";")})).join(""):null},t.stringifyCueHtml=function(e){return function(e){return e.replace(/(\r\n|\r|\n)/g,"<br />")}((null==e?void 0:e.outerHTML)||"")};var n=r(358),i=r(499)},627:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseRegions=function(e){for(var t=[],r=0,n=e;r<n.length;r++){var a=n[r];if(a=a.trim(),/^REGION$/i.test(a)){t.push(o(e.slice(1),":"));break}/^Region:/i.test(a)&&t.push(i(a))}return t};var n=r(505);function i(e){return o(e.split(/[ \t]+/).slice(1),"=")}function o(e,t){var r=(0,n.getDefaultVttRegionProperties)();return e.forEach((function(e){!function(e,t){var r=e[0],i=e[1];switch(r){case"id":!function(e,t){null!=e&&(t.id=e)}(i,t);break;case"width":!function(e,t){var r=(0,n.ensureArray)(/^(\d{1,2}|100)%$/.exec(e))[1];null!=r&&(t.width=Number(r))}(i,t);break;case"lines":!function(e,t){var r=(0,n.ensureArray)(/^(\d+)$/.exec(e))[1];null!=r&&(t.lines=Number(r))}(i,t);break;case"regionanchor":!function(e,t){var r=(0,n.ensureArray)(/^(\d{1,2}|100)%,(\d{1,2}|100)%$/.exec(e)),i=r[1],o=r[2];null!=i&&(t.regionAnchorX=Number(i)),null!=o&&(t.regionAnchorY=Number(o))}(i,t);break;case"viewportanchor":!function(e,t){var r=(0,n.ensureArray)(/^(\d{1,2}|100)%,(\d{1,2}|100)%$/.exec(e)),i=r[1],o=r[2];null!=i&&(t.viewportAnchorX=Number(i)),null!=o&&(t.viewportAnchorY=Number(o))}(i,t);break;case"scroll":!function(e,t){var r=(0,n.ensureArray)(/^(up)$/.exec(e))[1];null!=r&&(t.scroll=r)}(i,t)}}(e.split(t),r)})),r}},393:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseStyles=function(e){var t=[],r=/::cue(\((.+)\))?(?= |{)/,n=/([a-zA-Z0-9-]+):(.+?(?=;|}|$))/g,i=r.exec(e[1]);if(!i)return t;for(var o=1;o<e.length;o++){for(var a=r.exec(e[o]),s=null!==a,u=(i=s?a:i)[2],c={},l=n.exec(e[o]);null!==l;){var f=l[1],p=l[2];c[f]=p.trim(),l=n.exec(e[o])}(s||Object.keys(c).length>0)&&t.push({identifier:u,style:c})}return t},t.getPlaceholderVttStyleProperties=function(){return[{identifier:":future",style:{visibility:"hidden"}}]}},266:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(853),t),i(r(499),t),i(r(505),t),i(r(627),t),i(r(393),t)},358:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isNumber=void 0,t.isNumber=function(e){return"number"==typeof e}}},t={};return function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}(156)})()))},7085:(e,t)=>{"use strict";function r(e,t,r){const n=t;return n._name=e,{onAdd:n,dependencies:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.createPackage=void 0,t.createPackage=r},1270:(e,t)=>{"use strict";function r(e,t){const r=t;return r._name=e,r}function n(e){return(...t)=>{const[n,i]=e(...t);return r(n,i)}}function i(e){var t;return null!==(t=e._name)&&void 0!==t?t:e.name}Object.defineProperty(t,"__esModule",{value:!0}),t.getTaskName=t.createTaskClosure=t.createTask=void 0,t.createTask=r,t.createTaskClosure=n,t.getTaskName=i},4809:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CoreExportNames=void 0,function(e){e.Utils="utils",e.Constants="constants",e.CoreEffects="core-effects",e.CoreStateAtoms="core-state-atoms"}(t.CoreExportNames||(t.CoreExportNames={}))},1146:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataExportNames=void 0,function(e){e.StreamTimeline="stream-timeline"}(t.DataExportNames||(t.DataExportNames={}))},7269:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SourceExportNames=void 0,function(e){e.CreateSourceStateAtom="create-source-state-atom",e.CreateSourceReference="create-source-reference",e.SourceReferences="source-references",e.SourceState="source-state-atom"}(t.SourceExportNames||(t.SourceExportNames={}))},2411:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SubtitleBaseExportNames=void 0,function(e){e.SubtitleCueMapAtom="subtitle-cue-map-atom",e.CreateSubtitleCueAtom="create-subtitle-cue-map-atom",e.SubtitleBufferClearingTask="subtitle-buffer-clearing-task"}(t.SubtitleBaseExportNames||(t.SubtitleBaseExportNames={}))},1043:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){e.done?r(e.value):i(e.value).then(a,s)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){i(n,o,(t=e[r](t)).done,t.value)}))}}function i(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}};Object.defineProperty(t,"__esModule",{value:!0}),t.ParseAndSetSegmentCuesTask=void 0;const o=r(1270),a=r(4809),s=r(2411),u=r(8465);function c(e,t){return 0===e.entries().length?t:t.filter((t=>{const r=e.get(t);for(const e of r)if(e.html===t.html&&e.start===t.start&&e.end===t.end)return!1;return!0}))}t.ParseAndSetSegmentCuesTask=(0,o.createTask)("webvtt-segment-processing",(({segment:e,selectionGroup:t},r)=>n(void 0,void 0,void 0,(function*(){const n=r.registry.get(s.SubtitleBaseExportNames.SubtitleCueMapAtom),i=r.registry.get(u.WebVttExportNames.WebVttParseTask),o=n.get(t);if(!o)throw new Error(`Subtitle cue timeline not found for ${t.mediaId}`);const a=yield r.fork(l,e),f=c(o,yield r.fork(i,a));r.effects.state.dispatch(o.add,...f),r.effects.state.dispatch(n.add,t,o)}))));const l=(0,o.createTask)("get-segment-vtt-data",((e,t)=>n(void 0,void 0,void 0,(function*(){var r,n,o,s;const{merge:u}=t.registry.get(a.CoreExportNames.Utils).TypedArrays,c=[];try{for(var l,f=!0,p=i(e.data);!(r=(l=yield p.next()).done);){s=l.value,f=!1;try{const e=s;c.push(e)}finally{f=!0}}}catch(e){n={error:e}}finally{try{f||r||!(o=p.return)||(yield o.call(p))}finally{if(n)throw n.error}}const d=u(c);return new TextDecoder("UTF-8").decode(d)}))))},3255:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StreamTimelineSubscribeTask=void 0;const n=r(1270),i=r(4809),o=r(2411),a=r(1043);t.StreamTimelineSubscribeTask=(0,n.createTask)("stream-timeline-subscribe",((e,t)=>{const{mapSubscribe:r,subscribeAndRun:n}=t.registry.get(i.CoreExportNames.Utils).State;return r(t,e.streamSequenceMap,u),n(t,e.streamSequenceMap,s),t.effects.loop(t.abortSignal)}));const s=(0,n.createTask)("segment-cache-clear-task",((e,t)=>{const r=t.registry.get(o.SubtitleBaseExportNames.SubtitleCueMapAtom),n=[],a=t.effects.store.subtitleSegmentCache,s=Array.from(e.entries()),{SelectionGroups:{isSubtitleSelectionGroup:u}}=t.registry.get(i.CoreExportNames.CoreStateAtoms);s.forEach((([e])=>{u(e)&&n.push(e)}));for(const e of a.keys())if(!n.includes(e)){const n=r.get(e);n&&(t.effects.state.dispatch(n.clear),t.effects.state.dispatch(r.remove,e)),a.delete(e)}})),u=(0,n.createTask)("stream-sequence-map-subscribe",(([e,t],r)=>{const n=r.registry.get(o.SubtitleBaseExportNames.SubtitleCueMapAtom),{createTimelineAtom:a,SelectionGroups:{isSubtitleSelectionGroup:s}}=r.registry.get(i.CoreExportNames.CoreStateAtoms),{subscribeAndRun:u}=r.registry.get(i.CoreExportNames.Utils).State;if(s(e)){n.has(e)||r.effects.state.dispatch(n.add,e,a(r));const i=e.tracks[0];if(i){u(r,i.formatType,c(e,t))}}return r.effects.loop(r.abortSignal)})),c=(0,n.createTaskClosure)(((e,t)=>["track-format-type-subscribe",(r,n)=>{const o=n.registry.get(i.CoreExportNames.Constants),{subscribeAndRun:a}=n.registry.get(i.CoreExportNames.Utils).State;if(r.value===o.SubtitleFormatType.WebVTT)return a(n,t,l(e)),n.effects.loop(n.abortSignal)}])),l=(0,n.createTaskClosure)((e=>["vtt-segments-subscribe",(t,r)=>{var n;const i=(null!==(n=r.effects.store.subtitleSegmentCache.get(e))&&void 0!==n?n:[]).filter((e=>t.includes(e)));for(const n of t)i.includes(n)||r.fork(a.ParseAndSetSegmentCuesTask,{segment:n,selectionGroup:e}).then((()=>i.push(n))).catch((()=>{}));r.effects.store.subtitleSegmentCache.set(e,i)}]))},8465:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebVttExportNames=void 0,function(e){e.WebVttParseTask="web-vtt-parse-task"}(t.WebVttExportNames||(t.WebVttExportNames={}))},966:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebVttPackage=void 0;const n=r(7085),i=r(4809),o=r(1146),a=r(7269),s=r(2411),u=r(3255),c=r(8465),l=r(9565);t.WebVttPackage=(0,n.createPackage)("web-vtt-package",((e,t)=>{const{StateEffectFactory:r,EventListenerEffectFactory:n,StoreEffectFactory:a}=t.registry.get(i.CoreExportNames.CoreEffects),s=new Map,f=t.using(r,n,a("subtitleSegmentCache",s));f.registry.maybeSet(c.WebVttExportNames.WebVttParseTask,l.WebVttParseTask);const p=f.registry.get(o.DataExportNames.StreamTimeline),{mapSubscribe:d}=f.registry.get(i.CoreExportNames.Utils).State;d(f,p,u.StreamTimelineSubscribeTask)}),[i.CoreExportNames.CoreStateAtoms,i.CoreExportNames.CoreEffects,s.SubtitleBaseExportNames.SubtitleCueMapAtom,s.SubtitleBaseExportNames.CreateSubtitleCueAtom,a.SourceExportNames.SourceState,o.DataExportNames.StreamTimeline]),t.default=t.WebVttPackage},9565:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebVttParseTask=void 0;const n=r(1270),i=r(3576),o=r(4809),a=r(2411);function s(e,t){const r=t.registry.get(a.SubtitleBaseExportNames.CreateSubtitleCueAtom),{generateUuid:n}=t.registry.get(o.CoreExportNames.Utils).String;return e.flatMap((e=>{const i=r(t,{id:n(),start:e.start,end:e.end,html:e.html,text:e.text,metadata:{i:e.i,vttProperties:Object.assign({},e.vtt),offset:e.offset,layout:e.layout,updates:e.updates}});return[i,...u(i,t)]}))}function u(e,t){var r;const n=[],{generateUuid:i}=t.registry.get(o.CoreExportNames.Utils).String,s=t.registry.get(a.SubtitleBaseExportNames.CreateSubtitleCueAtom),u=e.metadata;for(let o=0;o<u.updates.length;o++){const a=u.updates[o],c=u.updates[o+1],l=a.updateTime,f=a.html,p=null!==(r=null==c?void 0:c.updateTime)&&void 0!==r?r:e.end;n.push(s(t,{id:i(),start:l,end:p,html:f,text:e.text,referenceCue:e,metadata:{i:u.i,vttProperties:Object.assign({},u.vttProperties),offset:u.offset,layout:u.layout}}))}return n}t.WebVttParseTask=(0,n.createTask)("web-vtt-parse",((e,t)=>s(i.default.parse(e),t)))}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}return r(966)})()));
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* source code is subject to the terms and conditions of the accompanying
|
|
6
6
|
* license agreement.
|
|
7
7
|
*
|
|
8
|
-
* Bitmovin Player X Version 10.1.
|
|
8
|
+
* Bitmovin Player X Version 10.1.3
|
|
9
9
|
*******************************************************************************/
|
|
10
10
|
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["framework-utils"]=t():(e.bitmovin=e.bitmovin||{},e.bitmovin.playerx=e.bitmovin.playerx||{},e.bitmovin.playerx["framework-utils"]=t())}(self,(()=>(()=>{"use strict";var e={281:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createEffectFactory=void 0;const r=e=>e;t.createEffectFactory=r},85:(e,t)=>{function r(e,t,r){const a=t;return a._name=e,{onAdd:a,dependencies:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.createPackage=void 0,t.createPackage=r},270:(e,t)=>{function r(e,t){const r=t;return r._name=e,r}function a(e){return(...t)=>{const[a,o]=e(...t);return r(a,o)}}function o(e){var t;return null!==(t=e._name)&&void 0!==t?t:e.name}Object.defineProperty(t,"__esModule",{value:!0}),t.getTaskName=t.createTaskClosure=t.createTask=void 0,t.createTask=r,t.createTaskClosure=a,t.getTaskName=o}},t={};function r(a){var o=t[a];if(void 0!==o)return o.exports;var n=t[a]={exports:{}};return e[a](n,n.exports,r),n.exports}var a={};return(()=>{var e=a;Object.defineProperty(e,"__esModule",{value:!0}),e.createTaskClosure=e.createTask=e.createPackage=e.createEffectFactory=void 0;var t=r(281);Object.defineProperty(e,"createEffectFactory",{enumerable:!0,get:function(){return t.createEffectFactory}});var o=r(85);Object.defineProperty(e,"createPackage",{enumerable:!0,get:function(){return o.createPackage}});var n=r(270);Object.defineProperty(e,"createTask",{enumerable:!0,get:function(){return n.createTask}}),Object.defineProperty(e,"createTaskClosure",{enumerable:!0,get:function(){return n.createTaskClosure}})})(),a})()));
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* The {@link framework-types/package-api/PackageApi!PackageApi | Package API} is still exposed, so it's possible to add additional packages just like with any other bundle.
|
|
9
9
|
*
|
|
10
10
|
* ### BitmovinV8.bundle used packages
|
|
11
|
-
* <svg aria-roledescription="flowchart-v2" role="graphics-document document" viewBox="-7.5 -8 430.40625 1766" style="max-width: 430.406px; background-color: transparent;" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="100%" id="my-svg"><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#ccc;}#my-svg .error-icon{fill:#a44141;}#my-svg .error-text{fill:#ddd;stroke:#ddd;}#my-svg .edge-thickness-normal{stroke-width:2px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:lightgrey;stroke:lightgrey;}#my-svg .marker.cross{stroke:lightgrey;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#ccc;}#my-svg .cluster-label text{fill:#F9FFFE;}#my-svg .cluster-label span,#my-svg p{color:#F9FFFE;}#my-svg .label text,#my-svg span,#my-svg p{fill:#ccc;color:#ccc;}#my-svg .node rect,#my-svg .node circle,#my-svg .node ellipse,#my-svg .node polygon,#my-svg .node path{fill:#1f2020;stroke:#81B1DB;stroke-width:1px;}#my-svg .flowchart-label text{text-anchor:middle;}#my-svg .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#my-svg .node .label{text-align:center;}#my-svg .node.clickable{cursor:pointer;}#my-svg .arrowheadPath{fill:lightgrey;}#my-svg .edgePath .path{stroke:lightgrey;stroke-width:2.0px;}#my-svg .flowchart-link{stroke:lightgrey;fill:none;}#my-svg .edgeLabel{background-color:hsl(0, 0%, 34.4117647059%);text-align:center;}#my-svg .edgeLabel rect{opacity:0.5;background-color:hsl(0, 0%, 34.4117647059%);fill:hsl(0, 0%, 34.4117647059%);}#my-svg .labelBkg{background-color:rgba(87.75, 87.75, 87.75, 0.5);}#my-svg .cluster rect{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:rgba(255, 255, 255, 0.25);stroke-width:1px;}#my-svg .cluster text{fill:#F9FFFE;}#my-svg .cluster span,#my-svg p{color:#F9FFFE;}#my-svg div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(20, 1.5873015873%, 12.3529411765%);border:1px solid rgba(255, 255, 255, 0.25);border-radius:2px;pointer-events:none;z-index:100;}#my-svg .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#ccc;}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="6" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointEnd"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 0 L 10 5 L 0 10 z"/></marker><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="4.5" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointStart"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 5 L 10 10 L 10 0 z"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="11" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleEnd"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="-1" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleStart"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="12" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossEnd"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="-1" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossStart"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><g class="root"><g class="clusters"/><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g transform="translate(-7.5, -8)" class="root"><g class="clusters"><g id="BitmovinV8.bundle" class="cluster default flowchart-label"><rect height="1750" width="414.40625" y="8" x="8" ry="0" rx="0" style=""/><g transform="translate(148.4921875, 8)" class="cluster-label"><foreignObject height="18" width="133.421875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinV8.bundle</span></div></foreignObject></g></g></g><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g transform="translate(25.5, 35)" class="root"><g class="clusters"><g id="BitmovinMonolithPackage" class="cluster default flowchart-label"><rect height="1680" width="364.40625" y="8" x="8" ry="0" rx="0" style=""/><g transform="translate(98.15625, 8)" class="cluster-label"><foreignObject height="18" width="184.09375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinMonolithPackage</span></div></foreignObject></g></g></g><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g transform="translate(190.203125, 59.5)" data-id="CorePackage" data-node="true" id="flowchart-CorePackage-1" class="node default default flowchart-label"><rect height="33" width="111.953125" y="-16.5" x="-55.9765625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-48.4765625, -9)" style="" class="label"><rect/><foreignObject height="18" width="96.953125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">CorePackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 142.5)" data-id="EventBusPackage" data-node="true" id="flowchart-EventBusPackage-2" class="node default default flowchart-label"><rect height="33" width="145.75" y="-16.5" x="-72.875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-65.375, -9)" style="" class="label"><rect/><foreignObject height="18" width="130.75"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">EventBusPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 225.5)" data-id="BitmovinV8PlayerCorePackage" data-node="true" id="flowchart-BitmovinV8PlayerCorePackage-3" class="node default default flowchart-label"><rect height="33" width="238.21875" y="-16.5" x="-119.109375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-111.609375, -9)" style="" class="label"><rect/><foreignObject height="18" width="223.21875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinV8PlayerCorePackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 308.5)" data-id="SegmentProcessingPackage" data-node="true" id="flowchart-SegmentProcessingPackage-4" class="node default default flowchart-label"><rect height="33" width="220.453125" y="-16.5" x="-110.2265625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-102.7265625, -9)" style="" class="label"><rect/><foreignObject height="18" width="205.453125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SegmentProcessingPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 391.5)" data-id="ContainerMp4Package" data-node="true" id="flowchart-ContainerMp4Package-5" class="node default default flowchart-label"><rect height="33" width="177.765625" y="-16.5" x="-88.8828125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-81.3828125, -9)" style="" class="label"><rect/><foreignObject height="18" width="162.765625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ContainerMp4Package</span></div></foreignObject></g></g><g transform="translate(190.203125, 474.5)" data-id="CapabilitiesPackage" data-node="true" id="flowchart-CapabilitiesPackage-6" class="node default default flowchart-label"><rect height="33" width="159.984375" y="-16.5" x="-79.9921875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-72.4921875, -9)" style="" class="label"><rect/><foreignObject height="18" width="144.984375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">CapabilitiesPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 557.5)" data-id="DataPackage" data-node="true" id="flowchart-DataPackage-7" class="node default default flowchart-label"><rect height="33" width="111.0625" y="-16.5" x="-55.53125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-48.03125, -9)" style="" class="label"><rect/><foreignObject height="18" width="96.0625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">DataPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 640.5)" data-id="NetworkPackage" data-node="true" id="flowchart-NetworkPackage-8" class="node default default flowchart-label"><rect height="33" width="135.953125" y="-16.5" x="-67.9765625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-60.4765625, -9)" style="" class="label"><rect/><foreignObject height="18" width="120.953125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">NetworkPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 723.5)" data-id="HlsParsingPackage" data-node="true" id="flowchart-HlsParsingPackage-9" class="node default default flowchart-label"><rect height="33" width="154.625" y="-16.5" x="-77.3125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-69.8125, -9)" style="" class="label"><rect/><foreignObject height="18" width="139.625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsParsingPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 806.5)" data-id="HlsTranslationPackage" data-node="true" id="flowchart-HlsTranslationPackage-10" class="node default default flowchart-label"><rect height="33" width="178.9375" y="-16.5" x="-89.46875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-81.96875, -9)" style="" class="label"><rect/><foreignObject height="18" width="163.9375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsTranslationPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 889.5)" data-id="HlsPackage" data-node="true" id="flowchart-HlsPackage-11" class="node default default flowchart-label"><rect height="33" width="100.375" y="-16.5" x="-50.1875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-42.6875, -9)" style="" class="label"><rect/><foreignObject height="18" width="85.375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 972.5)" data-id="PresentationPackage" data-node="true" id="flowchart-PresentationPackage-12" class="node default default flowchart-label"><rect height="33" width="167.109375" y="-16.5" x="-83.5546875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-76.0546875, -9)" style="" class="label"><rect/><foreignObject height="18" width="152.109375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PresentationPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 1055.5)" data-id="SourcePackage" data-node="true" id="flowchart-SourcePackage-13" class="node default default flowchart-label"><rect height="33" width="127.96875" y="-16.5" x="-63.984375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-56.484375, -9)" style="" class="label"><rect/><foreignObject height="18" width="112.96875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SourcePackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 1138.5)" data-id="BitmovinPlayerVideoElementUtilsPackage" data-node="true" id="flowchart-BitmovinPlayerVideoElementUtilsPackage-14" class="node default default flowchart-label"><rect height="33" width="314.40625" y="-16.5" x="-157.203125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-149.703125, -9)" style="" class="label"><rect/><foreignObject height="18" width="299.40625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinPlayerVideoElementUtilsPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 1221.5)" data-id="AdaptationPackage" data-node="true" id="flowchart-AdaptationPackage-15" class="node default default flowchart-label"><rect height="33" width="153.78125" y="-16.5" x="-76.890625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-69.390625, -9)" style="" class="label"><rect/><foreignObject height="18" width="138.78125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">AdaptationPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 1304.5)" data-id="ViewModePackage" data-node="true" id="flowchart-ViewModePackage-16" class="node default default flowchart-label"><rect height="33" width="151.6875" y="-16.5" x="-75.84375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-68.34375, -9)" style="" class="label"><rect/><foreignObject height="18" width="136.6875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ViewModePackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 1387.5)" data-id="BitmovinV8PlayerStaticApiPackage" data-node="true" id="flowchart-BitmovinV8PlayerStaticApiPackage-17" class="node default default flowchart-label"><rect height="33" width="266.6875" y="-16.5" x="-133.34375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-125.84375, -9)" style="" class="label"><rect/><foreignObject height="18" width="251.6875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinV8PlayerStaticApiPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 1470.5)" data-id="BitmovinPlayerSourceApiPackage" data-node="true" id="flowchart-BitmovinPlayerSourceApiPackage-18" class="node default default flowchart-label"><rect height="33" width="257.796875" y="-16.5" x="-128.8984375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-121.3984375, -9)" style="" class="label"><rect/><foreignObject height="18" width="242.796875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinPlayerSourceApiPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 1553.5)" data-id="BitmovinPlayerUiPackage" data-node="true" id="flowchart-BitmovinPlayerUiPackage-19" class="node default default flowchart-label"><rect height="33" width="199.078125" y="-16.5" x="-99.5390625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-92.0390625, -9)" style="" class="label"><rect/><foreignObject height="18" width="184.078125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinPlayerUiPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 1636.5)" data-id="PlaybackPackage" data-node="true" id="flowchart-PlaybackPackage-20" class="node default default flowchart-label"><rect height="33" width="142.1875" y="-16.5" x="-71.09375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-63.59375, -9)" style="" class="label"><rect/><foreignObject height="18" width="127.1875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlaybackPackage</span></div></foreignObject></g></g></g></g></g></g></g></g></g></svg>
|
|
11
|
+
* <svg aria-roledescription="flowchart-v2" role="graphics-document document" viewBox="-7.5 -8 430.40625 2264" style="max-width: 430.406px; background-color: transparent;" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="100%" id="my-svg"><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#ccc;}#my-svg .error-icon{fill:#a44141;}#my-svg .error-text{fill:#ddd;stroke:#ddd;}#my-svg .edge-thickness-normal{stroke-width:2px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:lightgrey;stroke:lightgrey;}#my-svg .marker.cross{stroke:lightgrey;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#ccc;}#my-svg .cluster-label text{fill:#F9FFFE;}#my-svg .cluster-label span,#my-svg p{color:#F9FFFE;}#my-svg .label text,#my-svg span,#my-svg p{fill:#ccc;color:#ccc;}#my-svg .node rect,#my-svg .node circle,#my-svg .node ellipse,#my-svg .node polygon,#my-svg .node path{fill:#1f2020;stroke:#81B1DB;stroke-width:1px;}#my-svg .flowchart-label text{text-anchor:middle;}#my-svg .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#my-svg .node .label{text-align:center;}#my-svg .node.clickable{cursor:pointer;}#my-svg .arrowheadPath{fill:lightgrey;}#my-svg .edgePath .path{stroke:lightgrey;stroke-width:2.0px;}#my-svg .flowchart-link{stroke:lightgrey;fill:none;}#my-svg .edgeLabel{background-color:hsl(0, 0%, 34.4117647059%);text-align:center;}#my-svg .edgeLabel rect{opacity:0.5;background-color:hsl(0, 0%, 34.4117647059%);fill:hsl(0, 0%, 34.4117647059%);}#my-svg .labelBkg{background-color:rgba(87.75, 87.75, 87.75, 0.5);}#my-svg .cluster rect{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:rgba(255, 255, 255, 0.25);stroke-width:1px;}#my-svg .cluster text{fill:#F9FFFE;}#my-svg .cluster span,#my-svg p{color:#F9FFFE;}#my-svg div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(20, 1.5873015873%, 12.3529411765%);border:1px solid rgba(255, 255, 255, 0.25);border-radius:2px;pointer-events:none;z-index:100;}#my-svg .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#ccc;}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="6" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointEnd"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 0 L 10 5 L 0 10 z"/></marker><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="4.5" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointStart"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 5 L 10 10 L 10 0 z"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="11" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleEnd"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="-1" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleStart"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="12" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossEnd"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="-1" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossStart"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><g class="root"><g class="clusters"/><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g transform="translate(-7.5, -8)" class="root"><g class="clusters"><g id="BitmovinV8.bundle" class="cluster default flowchart-label"><rect height="2248" width="414.40625" y="8" x="8" ry="0" rx="0" style=""/><g transform="translate(148.4921875, 8)" class="cluster-label"><foreignObject height="18" width="133.421875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinV8.bundle</span></div></foreignObject></g></g></g><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g transform="translate(25.5, 35)" class="root"><g class="clusters"><g id="BitmovinMonolithPackage" class="cluster default flowchart-label"><rect height="2178" width="364.40625" y="8" x="8" ry="0" rx="0" style=""/><g transform="translate(98.15625, 8)" class="cluster-label"><foreignObject height="18" width="184.09375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinMonolithPackage</span></div></foreignObject></g></g></g><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g transform="translate(190.203125, 59.5)" data-id="CorePackage" data-node="true" id="flowchart-CorePackage-1" class="node default default flowchart-label"><rect height="33" width="111.953125" y="-16.5" x="-55.9765625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-48.4765625, -9)" style="" class="label"><rect/><foreignObject height="18" width="96.953125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">CorePackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 142.5)" data-id="EventBusPackage" data-node="true" id="flowchart-EventBusPackage-2" class="node default default flowchart-label"><rect height="33" width="145.75" y="-16.5" x="-72.875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-65.375, -9)" style="" class="label"><rect/><foreignObject height="18" width="130.75"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">EventBusPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 225.5)" data-id="BitmovinV8PlayerCorePackage" data-node="true" id="flowchart-BitmovinV8PlayerCorePackage-3" class="node default default flowchart-label"><rect height="33" width="238.21875" y="-16.5" x="-119.109375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-111.609375, -9)" style="" class="label"><rect/><foreignObject height="18" width="223.21875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinV8PlayerCorePackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 308.5)" data-id="SegmentProcessingPackage" data-node="true" id="flowchart-SegmentProcessingPackage-4" class="node default default flowchart-label"><rect height="33" width="220.453125" y="-16.5" x="-110.2265625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-102.7265625, -9)" style="" class="label"><rect/><foreignObject height="18" width="205.453125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SegmentProcessingPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 391.5)" data-id="ContainerMp4Package" data-node="true" id="flowchart-ContainerMp4Package-5" class="node default default flowchart-label"><rect height="33" width="177.765625" y="-16.5" x="-88.8828125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-81.3828125, -9)" style="" class="label"><rect/><foreignObject height="18" width="162.765625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ContainerMp4Package</span></div></foreignObject></g></g><g transform="translate(190.203125, 474.5)" data-id="ContainerTsPackage" data-node="true" id="flowchart-ContainerTsPackage-6" class="node default default flowchart-label"><rect height="33" width="162.640625" y="-16.5" x="-81.3203125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-73.8203125, -9)" style="" class="label"><rect/><foreignObject height="18" width="147.640625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ContainerTsPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 557.5)" data-id="CapabilitiesPackage" data-node="true" id="flowchart-CapabilitiesPackage-7" class="node default default flowchart-label"><rect height="33" width="159.984375" y="-16.5" x="-79.9921875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-72.4921875, -9)" style="" class="label"><rect/><foreignObject height="18" width="144.984375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">CapabilitiesPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 640.5)" data-id="TsTransmuxerPackage" data-node="true" id="flowchart-TsTransmuxerPackage-8" class="node default default flowchart-label"><rect height="33" width="178.03125" y="-16.5" x="-89.015625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-81.515625, -9)" style="" class="label"><rect/><foreignObject height="18" width="163.03125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">TsTransmuxerPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 723.5)" data-id="DataPackage" data-node="true" id="flowchart-DataPackage-9" class="node default default flowchart-label"><rect height="33" width="111.0625" y="-16.5" x="-55.53125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-48.03125, -9)" style="" class="label"><rect/><foreignObject height="18" width="96.0625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">DataPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 806.5)" data-id="NetworkPackage" data-node="true" id="flowchart-NetworkPackage-10" class="node default default flowchart-label"><rect height="33" width="135.953125" y="-16.5" x="-67.9765625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-60.4765625, -9)" style="" class="label"><rect/><foreignObject height="18" width="120.953125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">NetworkPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 889.5)" data-id="HlsParsingPackage" data-node="true" id="flowchart-HlsParsingPackage-11" class="node default default flowchart-label"><rect height="33" width="154.625" y="-16.5" x="-77.3125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-69.8125, -9)" style="" class="label"><rect/><foreignObject height="18" width="139.625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsParsingPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 972.5)" data-id="HlsTranslationPackage" data-node="true" id="flowchart-HlsTranslationPackage-12" class="node default default flowchart-label"><rect height="33" width="178.9375" y="-16.5" x="-89.46875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-81.96875, -9)" style="" class="label"><rect/><foreignObject height="18" width="163.9375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsTranslationPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 1055.5)" data-id="HlsPackage" data-node="true" id="flowchart-HlsPackage-13" class="node default default flowchart-label"><rect height="33" width="100.375" y="-16.5" x="-50.1875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-42.6875, -9)" style="" class="label"><rect/><foreignObject height="18" width="85.375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 1138.5)" data-id="PresentationPackage" data-node="true" id="flowchart-PresentationPackage-14" class="node default default flowchart-label"><rect height="33" width="167.109375" y="-16.5" x="-83.5546875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-76.0546875, -9)" style="" class="label"><rect/><foreignObject height="18" width="152.109375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PresentationPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 1221.5)" data-id="SourcePackage" data-node="true" id="flowchart-SourcePackage-15" class="node default default flowchart-label"><rect height="33" width="127.96875" y="-16.5" x="-63.984375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-56.484375, -9)" style="" class="label"><rect/><foreignObject height="18" width="112.96875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SourcePackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 1304.5)" data-id="BitmovinPlayerVideoElementUtilsPackage" data-node="true" id="flowchart-BitmovinPlayerVideoElementUtilsPackage-16" class="node default default flowchart-label"><rect height="33" width="314.40625" y="-16.5" x="-157.203125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-149.703125, -9)" style="" class="label"><rect/><foreignObject height="18" width="299.40625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinPlayerVideoElementUtilsPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 1387.5)" data-id="AdaptationPackage" data-node="true" id="flowchart-AdaptationPackage-17" class="node default default flowchart-label"><rect height="33" width="153.78125" y="-16.5" x="-76.890625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-69.390625, -9)" style="" class="label"><rect/><foreignObject height="18" width="138.78125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">AdaptationPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 1470.5)" data-id="ViewModePackage" data-node="true" id="flowchart-ViewModePackage-18" class="node default default flowchart-label"><rect height="33" width="151.6875" y="-16.5" x="-75.84375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-68.34375, -9)" style="" class="label"><rect/><foreignObject height="18" width="136.6875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ViewModePackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 1553.5)" data-id="BitmovinV8PlayerStaticApiPackage" data-node="true" id="flowchart-BitmovinV8PlayerStaticApiPackage-19" class="node default default flowchart-label"><rect height="33" width="266.6875" y="-16.5" x="-133.34375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-125.84375, -9)" style="" class="label"><rect/><foreignObject height="18" width="251.6875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinV8PlayerStaticApiPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 1636.5)" data-id="BitmovinPlayerSourceApiPackage" data-node="true" id="flowchart-BitmovinPlayerSourceApiPackage-20" class="node default default flowchart-label"><rect height="33" width="257.796875" y="-16.5" x="-128.8984375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-121.3984375, -9)" style="" class="label"><rect/><foreignObject height="18" width="242.796875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinPlayerSourceApiPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 1719.5)" data-id="BitmovinPlayerUiPackage" data-node="true" id="flowchart-BitmovinPlayerUiPackage-21" class="node default default flowchart-label"><rect height="33" width="199.078125" y="-16.5" x="-99.5390625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-92.0390625, -9)" style="" class="label"><rect/><foreignObject height="18" width="184.078125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">BitmovinPlayerUiPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 1802.5)" data-id="PlaybackPackage" data-node="true" id="flowchart-PlaybackPackage-22" class="node default default flowchart-label"><rect height="33" width="142.1875" y="-16.5" x="-71.09375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-63.59375, -9)" style="" class="label"><rect/><foreignObject height="18" width="127.1875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlaybackPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 1885.5)" data-id="SubtitleApiPackage" data-node="true" id="flowchart-SubtitleApiPackage-23" class="node default default flowchart-label"><rect height="33" width="153.765625" y="-16.5" x="-76.8828125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-69.3828125, -9)" style="" class="label"><rect/><foreignObject height="18" width="138.765625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SubtitleApiPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 1968.5)" data-id="SubtitleBasePackage" data-node="true" id="flowchart-SubtitleBasePackage-24" class="node default default flowchart-label"><rect height="33" width="167.109375" y="-16.5" x="-83.5546875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-76.0546875, -9)" style="" class="label"><rect/><foreignObject height="18" width="152.109375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SubtitleBasePackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 2051.5)" data-id="WebVttPackage" data-node="true" id="flowchart-WebVttPackage-25" class="node default default flowchart-label"><rect height="33" width="129.4375" y="-16.5" x="-64.71875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-57.21875, -9)" style="" class="label"><rect/><foreignObject height="18" width="114.4375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">WebVttPackage</span></div></foreignObject></g></g><g transform="translate(190.203125, 2134.5)" data-id="SubtitleFormatDetectionPackage" data-node="true" id="flowchart-SubtitleFormatDetectionPackage-26" class="node default default flowchart-label"><rect height="33" width="248.90625" y="-16.5" x="-124.453125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-116.953125, -9)" style="" class="label"><rect/><foreignObject height="18" width="233.90625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SubtitleFormatDetectionPackage</span></div></foreignObject></g></g></g></g></g></g></g></g></g></svg>
|
|
12
12
|
*/
|
|
13
13
|
import { PlayerEvent as PlayerEvents } from '../packages/v8-compat/enums/PlayerExports';
|
|
14
14
|
import type { BitmovinV8PlayerApi, PlayerConfig } from '../packages/v8-compat/types/Types';
|
|
@@ -7,12 +7,13 @@
|
|
|
7
7
|
* on main thread. It extends API with `SourceApi`.
|
|
8
8
|
*
|
|
9
9
|
* ### Hls.bundle used packages
|
|
10
|
-
* <svg aria-roledescription="flowchart-v2" role="graphics-document document" viewBox="-7.5 -8 336.453125 1766" style="max-width: 336.453px; background-color: transparent;" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="100%" id="my-svg"><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#ccc;}#my-svg .error-icon{fill:#a44141;}#my-svg .error-text{fill:#ddd;stroke:#ddd;}#my-svg .edge-thickness-normal{stroke-width:2px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:lightgrey;stroke:lightgrey;}#my-svg .marker.cross{stroke:lightgrey;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#ccc;}#my-svg .cluster-label text{fill:#F9FFFE;}#my-svg .cluster-label span,#my-svg p{color:#F9FFFE;}#my-svg .label text,#my-svg span,#my-svg p{fill:#ccc;color:#ccc;}#my-svg .node rect,#my-svg .node circle,#my-svg .node ellipse,#my-svg .node polygon,#my-svg .node path{fill:#1f2020;stroke:#81B1DB;stroke-width:1px;}#my-svg .flowchart-label text{text-anchor:middle;}#my-svg .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#my-svg .node .label{text-align:center;}#my-svg .node.clickable{cursor:pointer;}#my-svg .arrowheadPath{fill:lightgrey;}#my-svg .edgePath .path{stroke:lightgrey;stroke-width:2.0px;}#my-svg .flowchart-link{stroke:lightgrey;fill:none;}#my-svg .edgeLabel{background-color:hsl(0, 0%, 34.4117647059%);text-align:center;}#my-svg .edgeLabel rect{opacity:0.5;background-color:hsl(0, 0%, 34.4117647059%);fill:hsl(0, 0%, 34.4117647059%);}#my-svg .labelBkg{background-color:rgba(87.75, 87.75, 87.75, 0.5);}#my-svg .cluster rect{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:rgba(255, 255, 255, 0.25);stroke-width:1px;}#my-svg .cluster text{fill:#F9FFFE;}#my-svg .cluster span,#my-svg p{color:#F9FFFE;}#my-svg div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(20, 1.5873015873%, 12.3529411765%);border:1px solid rgba(255, 255, 255, 0.25);border-radius:2px;pointer-events:none;z-index:100;}#my-svg .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#ccc;}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="6" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointEnd"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 0 L 10 5 L 0 10 z"/></marker><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="4.5" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointStart"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 5 L 10 10 L 10 0 z"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="11" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleEnd"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="-1" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleStart"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="12" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossEnd"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="-1" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossStart"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><g class="root"><g class="clusters"/><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g transform="translate(-7.5, -8)" class="root"><g class="clusters"><g id="Hls.bundle" class="cluster default flowchart-label"><rect height="1750" width="320.453125" y="8" x="8" ry="0" rx="0" style=""/><g transform="translate(130.421875, 8)" class="cluster-label"><foreignObject height="18" width="75.609375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Hls.bundle</span></div></foreignObject></g></g></g><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g transform="translate(25.5, 35)" class="root"><g class="clusters"><g id="HlsBundlePackage" class="cluster default flowchart-label"><rect height="1680" width="270.453125" y="8" x="8" ry="0" rx="0" style=""/><g transform="translate(75.625, 8)" class="cluster-label"><foreignObject height="18" width="135.203125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsBundlePackage</span></div></foreignObject></g></g></g><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g transform="translate(143.2265625, 59.5)" data-id="CorePackage" data-node="true" id="flowchart-CorePackage-1" class="node default default flowchart-label"><rect height="33" width="111.953125" y="-16.5" x="-55.9765625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-48.4765625, -9)" style="" class="label"><rect/><foreignObject height="18" width="96.953125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">CorePackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 142.5)" data-id="EventBusPackage" data-node="true" id="flowchart-EventBusPackage-2" class="node default default flowchart-label"><rect height="33" width="145.75" y="-16.5" x="-72.875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-65.375, -9)" style="" class="label"><rect/><foreignObject height="18" width="130.75"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">EventBusPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 225.5)" data-id="PlayerApiPackage" data-node="true" id="flowchart-PlayerApiPackage-3" class="node default default flowchart-label"><rect height="33" width="145.75" y="-16.5" x="-72.875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-65.375, -9)" style="" class="label"><rect/><foreignObject height="18" width="130.75"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlayerApiPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 308.5)" data-id="CapabilitiesPackage" data-node="true" id="flowchart-CapabilitiesPackage-4" class="node default default flowchart-label"><rect height="33" width="159.984375" y="-16.5" x="-79.9921875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-72.4921875, -9)" style="" class="label"><rect/><foreignObject height="18" width="144.984375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">CapabilitiesPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 391.5)" data-id="SegmentProcessingPackage" data-node="true" id="flowchart-SegmentProcessingPackage-5" class="node default default flowchart-label"><rect height="33" width="220.453125" y="-16.5" x="-110.2265625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-102.7265625, -9)" style="" class="label"><rect/><foreignObject height="18" width="205.453125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SegmentProcessingPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 474.5)" data-id="ContainerMp4Package" data-node="true" id="flowchart-ContainerMp4Package-6" class="node default default flowchart-label"><rect height="33" width="177.765625" y="-16.5" x="-88.8828125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-81.3828125, -9)" style="" class="label"><rect/><foreignObject height="18" width="162.765625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ContainerMp4Package</span></div></foreignObject></g></g><g transform="translate(143.2265625, 557.5)" data-id="ContainerTsPackage" data-node="true" id="flowchart-ContainerTsPackage-7" class="node default default flowchart-label"><rect height="33" width="162.640625" y="-16.5" x="-81.3203125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-73.8203125, -9)" style="" class="label"><rect/><foreignObject height="18" width="147.640625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ContainerTsPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 640.5)" data-id="TsTransmuxerPackage" data-node="true" id="flowchart-TsTransmuxerPackage-8" class="node default default flowchart-label"><rect height="33" width="178.03125" y="-16.5" x="-89.015625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-81.515625, -9)" style="" class="label"><rect/><foreignObject height="18" width="163.03125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">TsTransmuxerPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 723.5)" data-id="DataPackage" data-node="true" id="flowchart-DataPackage-9" class="node default default flowchart-label"><rect height="33" width="111.0625" y="-16.5" x="-55.53125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-48.03125, -9)" style="" class="label"><rect/><foreignObject height="18" width="96.0625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">DataPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 806.5)" data-id="NetworkPackage" data-node="true" id="flowchart-NetworkPackage-10" class="node default default flowchart-label"><rect height="33" width="135.953125" y="-16.5" x="-67.9765625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-60.4765625, -9)" style="" class="label"><rect/><foreignObject height="18" width="120.953125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">NetworkPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 889.5)" data-id="HlsTranslationPackage" data-node="true" id="flowchart-HlsTranslationPackage-11" class="node default default flowchart-label"><rect height="33" width="178.9375" y="-16.5" x="-89.46875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-81.96875, -9)" style="" class="label"><rect/><foreignObject height="18" width="163.9375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsTranslationPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 972.5)" data-id="HlsParsingPackage" data-node="true" id="flowchart-HlsParsingPackage-12" class="node default default flowchart-label"><rect height="33" width="154.625" y="-16.5" x="-77.3125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-69.8125, -9)" style="" class="label"><rect/><foreignObject height="18" width="139.625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsParsingPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1055.5)" data-id="HlsPackage" data-node="true" id="flowchart-HlsPackage-13" class="node default default flowchart-label"><rect height="33" width="100.375" y="-16.5" x="-50.1875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-42.6875, -9)" style="" class="label"><rect/><foreignObject height="18" width="85.375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1138.5)" data-id="PresentationPackage" data-node="true" id="flowchart-PresentationPackage-14" class="node default default flowchart-label"><rect height="33" width="167.109375" y="-16.5" x="-83.5546875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-76.0546875, -9)" style="" class="label"><rect/><foreignObject height="18" width="152.109375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PresentationPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1221.5)" data-id="SourcePackage" data-node="true" id="flowchart-SourcePackage-15" class="node default default flowchart-label"><rect height="33" width="127.96875" y="-16.5" x="-63.984375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-56.484375, -9)" style="" class="label"><rect/><foreignObject height="18" width="112.96875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SourcePackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1304.5)" data-id="SourcesApiPackage" data-node="true" id="flowchart-SourcesApiPackage-16" class="node default default flowchart-label"><rect height="33" width="159.09375" y="-16.5" x="-79.546875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-72.046875, -9)" style="" class="label"><rect/><foreignObject height="18" width="144.09375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SourcesApiPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1387.5)" data-id="AdaptationPackage" data-node="true" id="flowchart-AdaptationPackage-17" class="node default default flowchart-label"><rect height="33" width="153.78125" y="-16.5" x="-76.890625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-69.390625, -9)" style="" class="label"><rect/><foreignObject height="18" width="138.78125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">AdaptationPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1470.5)" data-id="PlaybackPackage" data-node="true" id="flowchart-PlaybackPackage-18" class="node default default flowchart-label"><rect height="33" width="142.1875" y="-16.5" x="-71.09375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-63.59375, -9)" style="" class="label"><rect/><foreignObject height="18" width="127.1875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlaybackPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1553.5)" data-id="PlaybackApiPackage" data-node="true" id="flowchart-PlaybackApiPackage-19" class="node default default flowchart-label"><rect height="33" width="165.3125" y="-16.5" x="-82.65625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-75.15625, -9)" style="" class="label"><rect/><foreignObject height="18" width="150.3125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlaybackApiPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1636.5)" data-id="ViewModePackage" data-node="true" id="flowchart-ViewModePackage-20" class="node default default flowchart-label"><rect height="33" width="151.6875" y="-16.5" x="-75.84375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-68.34375, -9)" style="" class="label"><rect/><foreignObject height="18" width="136.6875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ViewModePackage</span></div></foreignObject></g></g></g></g></g></g></g></g></g></svg>
|
|
10
|
+
* <svg aria-roledescription="flowchart-v2" role="graphics-document document" viewBox="-7.5 -8 336.453125 1849" style="max-width: 336.453px; background-color: transparent;" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="100%" id="my-svg"><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#ccc;}#my-svg .error-icon{fill:#a44141;}#my-svg .error-text{fill:#ddd;stroke:#ddd;}#my-svg .edge-thickness-normal{stroke-width:2px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:lightgrey;stroke:lightgrey;}#my-svg .marker.cross{stroke:lightgrey;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#ccc;}#my-svg .cluster-label text{fill:#F9FFFE;}#my-svg .cluster-label span,#my-svg p{color:#F9FFFE;}#my-svg .label text,#my-svg span,#my-svg p{fill:#ccc;color:#ccc;}#my-svg .node rect,#my-svg .node circle,#my-svg .node ellipse,#my-svg .node polygon,#my-svg .node path{fill:#1f2020;stroke:#81B1DB;stroke-width:1px;}#my-svg .flowchart-label text{text-anchor:middle;}#my-svg .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#my-svg .node .label{text-align:center;}#my-svg .node.clickable{cursor:pointer;}#my-svg .arrowheadPath{fill:lightgrey;}#my-svg .edgePath .path{stroke:lightgrey;stroke-width:2.0px;}#my-svg .flowchart-link{stroke:lightgrey;fill:none;}#my-svg .edgeLabel{background-color:hsl(0, 0%, 34.4117647059%);text-align:center;}#my-svg .edgeLabel rect{opacity:0.5;background-color:hsl(0, 0%, 34.4117647059%);fill:hsl(0, 0%, 34.4117647059%);}#my-svg .labelBkg{background-color:rgba(87.75, 87.75, 87.75, 0.5);}#my-svg .cluster rect{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:rgba(255, 255, 255, 0.25);stroke-width:1px;}#my-svg .cluster text{fill:#F9FFFE;}#my-svg .cluster span,#my-svg p{color:#F9FFFE;}#my-svg div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(20, 1.5873015873%, 12.3529411765%);border:1px solid rgba(255, 255, 255, 0.25);border-radius:2px;pointer-events:none;z-index:100;}#my-svg .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#ccc;}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="6" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointEnd"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 0 L 10 5 L 0 10 z"/></marker><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="4.5" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointStart"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 5 L 10 10 L 10 0 z"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="11" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleEnd"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="-1" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleStart"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="12" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossEnd"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="-1" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossStart"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><g class="root"><g class="clusters"/><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g transform="translate(-7.5, -8)" class="root"><g class="clusters"><g id="Hls.bundle" class="cluster default flowchart-label"><rect height="1833" width="320.453125" y="8" x="8" ry="0" rx="0" style=""/><g transform="translate(130.421875, 8)" class="cluster-label"><foreignObject height="18" width="75.609375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Hls.bundle</span></div></foreignObject></g></g></g><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g transform="translate(25.5, 35)" class="root"><g class="clusters"><g id="HlsBundlePackage" class="cluster default flowchart-label"><rect height="1763" width="270.453125" y="8" x="8" ry="0" rx="0" style=""/><g transform="translate(75.625, 8)" class="cluster-label"><foreignObject height="18" width="135.203125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsBundlePackage</span></div></foreignObject></g></g></g><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g transform="translate(143.2265625, 59.5)" data-id="CorePackage" data-node="true" id="flowchart-CorePackage-1" class="node default default flowchart-label"><rect height="33" width="111.953125" y="-16.5" x="-55.9765625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-48.4765625, -9)" style="" class="label"><rect/><foreignObject height="18" width="96.953125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">CorePackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 142.5)" data-id="EventBusPackage" data-node="true" id="flowchart-EventBusPackage-2" class="node default default flowchart-label"><rect height="33" width="145.75" y="-16.5" x="-72.875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-65.375, -9)" style="" class="label"><rect/><foreignObject height="18" width="130.75"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">EventBusPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 225.5)" data-id="PlayerApiPackage" data-node="true" id="flowchart-PlayerApiPackage-3" class="node default default flowchart-label"><rect height="33" width="145.75" y="-16.5" x="-72.875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-65.375, -9)" style="" class="label"><rect/><foreignObject height="18" width="130.75"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlayerApiPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 308.5)" data-id="CapabilitiesPackage" data-node="true" id="flowchart-CapabilitiesPackage-4" class="node default default flowchart-label"><rect height="33" width="159.984375" y="-16.5" x="-79.9921875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-72.4921875, -9)" style="" class="label"><rect/><foreignObject height="18" width="144.984375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">CapabilitiesPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 391.5)" data-id="SegmentProcessingPackage" data-node="true" id="flowchart-SegmentProcessingPackage-5" class="node default default flowchart-label"><rect height="33" width="220.453125" y="-16.5" x="-110.2265625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-102.7265625, -9)" style="" class="label"><rect/><foreignObject height="18" width="205.453125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SegmentProcessingPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 474.5)" data-id="ContainerMp4Package" data-node="true" id="flowchart-ContainerMp4Package-6" class="node default default flowchart-label"><rect height="33" width="177.765625" y="-16.5" x="-88.8828125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-81.3828125, -9)" style="" class="label"><rect/><foreignObject height="18" width="162.765625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ContainerMp4Package</span></div></foreignObject></g></g><g transform="translate(143.2265625, 557.5)" data-id="ContainerTsPackage" data-node="true" id="flowchart-ContainerTsPackage-7" class="node default default flowchart-label"><rect height="33" width="162.640625" y="-16.5" x="-81.3203125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-73.8203125, -9)" style="" class="label"><rect/><foreignObject height="18" width="147.640625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ContainerTsPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 640.5)" data-id="TsTransmuxerPackage" data-node="true" id="flowchart-TsTransmuxerPackage-8" class="node default default flowchart-label"><rect height="33" width="178.03125" y="-16.5" x="-89.015625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-81.515625, -9)" style="" class="label"><rect/><foreignObject height="18" width="163.03125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">TsTransmuxerPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 723.5)" data-id="DataPackage" data-node="true" id="flowchart-DataPackage-9" class="node default default flowchart-label"><rect height="33" width="111.0625" y="-16.5" x="-55.53125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-48.03125, -9)" style="" class="label"><rect/><foreignObject height="18" width="96.0625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">DataPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 806.5)" data-id="NetworkPackage" data-node="true" id="flowchart-NetworkPackage-10" class="node default default flowchart-label"><rect height="33" width="135.953125" y="-16.5" x="-67.9765625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-60.4765625, -9)" style="" class="label"><rect/><foreignObject height="18" width="120.953125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">NetworkPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 889.5)" data-id="HlsTranslationPackage" data-node="true" id="flowchart-HlsTranslationPackage-11" class="node default default flowchart-label"><rect height="33" width="178.9375" y="-16.5" x="-89.46875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-81.96875, -9)" style="" class="label"><rect/><foreignObject height="18" width="163.9375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsTranslationPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 972.5)" data-id="HlsParsingPackage" data-node="true" id="flowchart-HlsParsingPackage-12" class="node default default flowchart-label"><rect height="33" width="154.625" y="-16.5" x="-77.3125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-69.8125, -9)" style="" class="label"><rect/><foreignObject height="18" width="139.625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsParsingPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1055.5)" data-id="HlsPackage" data-node="true" id="flowchart-HlsPackage-13" class="node default default flowchart-label"><rect height="33" width="100.375" y="-16.5" x="-50.1875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-42.6875, -9)" style="" class="label"><rect/><foreignObject height="18" width="85.375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1138.5)" data-id="PresentationPackage" data-node="true" id="flowchart-PresentationPackage-14" class="node default default flowchart-label"><rect height="33" width="167.109375" y="-16.5" x="-83.5546875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-76.0546875, -9)" style="" class="label"><rect/><foreignObject height="18" width="152.109375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PresentationPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1221.5)" data-id="SourcePackage" data-node="true" id="flowchart-SourcePackage-15" class="node default default flowchart-label"><rect height="33" width="127.96875" y="-16.5" x="-63.984375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-56.484375, -9)" style="" class="label"><rect/><foreignObject height="18" width="112.96875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SourcePackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1304.5)" data-id="SourcesApiPackage" data-node="true" id="flowchart-SourcesApiPackage-16" class="node default default flowchart-label"><rect height="33" width="159.09375" y="-16.5" x="-79.546875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-72.046875, -9)" style="" class="label"><rect/><foreignObject height="18" width="144.09375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SourcesApiPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1387.5)" data-id="AdaptationPackage" data-node="true" id="flowchart-AdaptationPackage-17" class="node default default flowchart-label"><rect height="33" width="153.78125" y="-16.5" x="-76.890625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-69.390625, -9)" style="" class="label"><rect/><foreignObject height="18" width="138.78125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">AdaptationPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1470.5)" data-id="PlaybackPackage" data-node="true" id="flowchart-PlaybackPackage-18" class="node default default flowchart-label"><rect height="33" width="142.1875" y="-16.5" x="-71.09375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-63.59375, -9)" style="" class="label"><rect/><foreignObject height="18" width="127.1875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlaybackPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1553.5)" data-id="PlaybackApiPackage" data-node="true" id="flowchart-PlaybackApiPackage-19" class="node default default flowchart-label"><rect height="33" width="165.3125" y="-16.5" x="-82.65625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-75.15625, -9)" style="" class="label"><rect/><foreignObject height="18" width="150.3125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlaybackApiPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1636.5)" data-id="ViewModePackage" data-node="true" id="flowchart-ViewModePackage-20" class="node default default flowchart-label"><rect height="33" width="151.6875" y="-16.5" x="-75.84375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-68.34375, -9)" style="" class="label"><rect/><foreignObject height="18" width="136.6875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ViewModePackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1719.5)" data-id="SubtitlesPackage" data-node="true" id="flowchart-SubtitlesPackage-21" class="node default default flowchart-label"><rect height="33" width="138.640625" y="-16.5" x="-69.3203125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-61.8203125, -9)" style="" class="label"><rect/><foreignObject height="18" width="123.640625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SubtitlesPackage</span></div></foreignObject></g></g></g></g></g></g></g></g></g></svg>
|
|
11
11
|
*/
|
|
12
12
|
import { Logger } from '../packages/core/utils/Logger';
|
|
13
13
|
import type { PlaybackApi } from '../packages/playback-api/Types';
|
|
14
14
|
import type { PlayerApi } from '../packages/player-api/Types';
|
|
15
15
|
import type { SourceApiBase, SourcesApi } from '../packages/sources-api/Types';
|
|
16
|
+
import type { SubtitleSourceApi } from '../packages/subtitles/subtitle-api/Types';
|
|
16
17
|
import type { ViewModeApi } from '../packages/view-mode/Types';
|
|
17
18
|
import type { EmptyObject } from '../Types';
|
|
18
19
|
import type { BundleExportNames, PlayerConfig } from './Types';
|
|
@@ -20,7 +21,7 @@ type MonolithExports = {
|
|
|
20
21
|
[BundleExportNames.Logger]: Logger;
|
|
21
22
|
[BundleExportNames.PlayerConfig]: PlayerConfig;
|
|
22
23
|
};
|
|
23
|
-
type SourceApi = SourceApiBase & PlaybackApi & ViewModeApi;
|
|
24
|
+
type SourceApi = SourceApiBase & PlaybackApi & ViewModeApi & SubtitleSourceApi;
|
|
24
25
|
export type HlsBundleApi = PlayerApi & SourcesApi<SourceApi>;
|
|
25
26
|
export declare const HlsBundlePackage: (config: PlayerConfig) => import("../../framework-types/package-api/Package").Package<EmptyObject, MonolithExports, HlsBundleApi>;
|
|
26
27
|
export declare function Player(config: PlayerConfig): import("../../framework-types/framework").WithBaseApi<HlsBundleApi>;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* on some SmartTVs.
|
|
7
7
|
*
|
|
8
8
|
* ### Tv.bundle used packages
|
|
9
|
-
* <svg aria-roledescription="flowchart-v2" role="graphics-document document" viewBox="-7.5 -8 336.453125 1950" style="max-width: 336.453px; background-color: transparent;" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="100%" id="my-svg"><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#ccc;}#my-svg .error-icon{fill:#a44141;}#my-svg .error-text{fill:#ddd;stroke:#ddd;}#my-svg .edge-thickness-normal{stroke-width:2px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:lightgrey;stroke:lightgrey;}#my-svg .marker.cross{stroke:lightgrey;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#ccc;}#my-svg .cluster-label text{fill:#F9FFFE;}#my-svg .cluster-label span,#my-svg p{color:#F9FFFE;}#my-svg .label text,#my-svg span,#my-svg p{fill:#ccc;color:#ccc;}#my-svg .node rect,#my-svg .node circle,#my-svg .node ellipse,#my-svg .node polygon,#my-svg .node path{fill:#1f2020;stroke:#81B1DB;stroke-width:1px;}#my-svg .flowchart-label text{text-anchor:middle;}#my-svg .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#my-svg .node .label{text-align:center;}#my-svg .node.clickable{cursor:pointer;}#my-svg .arrowheadPath{fill:lightgrey;}#my-svg .edgePath .path{stroke:lightgrey;stroke-width:2.0px;}#my-svg .flowchart-link{stroke:lightgrey;fill:none;}#my-svg .edgeLabel{background-color:hsl(0, 0%, 34.4117647059%);text-align:center;}#my-svg .edgeLabel rect{opacity:0.5;background-color:hsl(0, 0%, 34.4117647059%);fill:hsl(0, 0%, 34.4117647059%);}#my-svg .labelBkg{background-color:rgba(87.75, 87.75, 87.75, 0.5);}#my-svg .cluster rect{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:rgba(255, 255, 255, 0.25);stroke-width:1px;}#my-svg .cluster text{fill:#F9FFFE;}#my-svg .cluster span,#my-svg p{color:#F9FFFE;}#my-svg div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(20, 1.5873015873%, 12.3529411765%);border:1px solid rgba(255, 255, 255, 0.25);border-radius:2px;pointer-events:none;z-index:100;}#my-svg .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#ccc;}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="6" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointEnd"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 0 L 10 5 L 0 10 z"/></marker><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="4.5" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointStart"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 5 L 10 10 L 10 0 z"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="11" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleEnd"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="-1" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleStart"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="12" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossEnd"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="-1" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossStart"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><g class="root"><g class="clusters"/><g class="edgePaths"><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-Tv.bundle LE-Hls.bundle" id="L-Tv.bundle-Hls.bundle-0" d="M160.227,1833L160.227,1838.667C160.227,1844.333,160.227,1855.667,160.227,1866.117C160.227,1876.567,160.227,1886.133,160.227,1890.917L160.227,1895.7"/></g><g class="edgeLabels"><g transform="translate(160.2265625, 1867)" class="edgeLabel"><g transform="translate(-48.03125, -9)" class="label"><foreignObject height="18" width="96.0625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel">created using</span></div></foreignObject></g></g></g><g class="nodes"><g transform="translate(-7.5, -8)" class="root"><g class="clusters"><g id="Tv.bundle" class="cluster default flowchart-label"><rect height="1833" width="320.453125" y="8" x="8" ry="0" rx="0" style=""/><g transform="translate(133.6875, 8)" class="cluster-label"><foreignObject height="18" width="69.078125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Tv.bundle</span></div></foreignObject></g></g></g><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g transform="translate(25.5, 35)" class="root"><g class="clusters"><g id="HlsBundlePackage" class="cluster default flowchart-label"><rect height="1680" width="270.453125" y="8" x="8" ry="0" rx="0" style=""/><g transform="translate(75.625, 8)" class="cluster-label"><foreignObject height="18" width="135.203125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsBundlePackage</span></div></foreignObject></g></g></g><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g transform="translate(143.2265625, 59.5)" data-id="CorePackage" data-node="true" id="flowchart-CorePackage-2" class="node default default flowchart-label"><rect height="33" width="111.953125" y="-16.5" x="-55.9765625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-48.4765625, -9)" style="" class="label"><rect/><foreignObject height="18" width="96.953125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">CorePackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 142.5)" data-id="EventBusPackage" data-node="true" id="flowchart-EventBusPackage-3" class="node default default flowchart-label"><rect height="33" width="145.75" y="-16.5" x="-72.875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-65.375, -9)" style="" class="label"><rect/><foreignObject height="18" width="130.75"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">EventBusPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 225.5)" data-id="PlayerApiPackage" data-node="true" id="flowchart-PlayerApiPackage-4" class="node default default flowchart-label"><rect height="33" width="145.75" y="-16.5" x="-72.875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-65.375, -9)" style="" class="label"><rect/><foreignObject height="18" width="130.75"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlayerApiPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 308.5)" data-id="CapabilitiesPackage" data-node="true" id="flowchart-CapabilitiesPackage-5" class="node default default flowchart-label"><rect height="33" width="159.984375" y="-16.5" x="-79.9921875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-72.4921875, -9)" style="" class="label"><rect/><foreignObject height="18" width="144.984375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">CapabilitiesPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 391.5)" data-id="SegmentProcessingPackage" data-node="true" id="flowchart-SegmentProcessingPackage-6" class="node default default flowchart-label"><rect height="33" width="220.453125" y="-16.5" x="-110.2265625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-102.7265625, -9)" style="" class="label"><rect/><foreignObject height="18" width="205.453125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SegmentProcessingPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 474.5)" data-id="ContainerMp4Package" data-node="true" id="flowchart-ContainerMp4Package-7" class="node default default flowchart-label"><rect height="33" width="177.765625" y="-16.5" x="-88.8828125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-81.3828125, -9)" style="" class="label"><rect/><foreignObject height="18" width="162.765625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ContainerMp4Package</span></div></foreignObject></g></g><g transform="translate(143.2265625, 557.5)" data-id="ContainerTsPackage" data-node="true" id="flowchart-ContainerTsPackage-8" class="node default default flowchart-label"><rect height="33" width="162.640625" y="-16.5" x="-81.3203125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-73.8203125, -9)" style="" class="label"><rect/><foreignObject height="18" width="147.640625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ContainerTsPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 640.5)" data-id="TsTransmuxerPackage" data-node="true" id="flowchart-TsTransmuxerPackage-9" class="node default default flowchart-label"><rect height="33" width="178.03125" y="-16.5" x="-89.015625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-81.515625, -9)" style="" class="label"><rect/><foreignObject height="18" width="163.03125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">TsTransmuxerPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 723.5)" data-id="DataPackage" data-node="true" id="flowchart-DataPackage-10" class="node default default flowchart-label"><rect height="33" width="111.0625" y="-16.5" x="-55.53125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-48.03125, -9)" style="" class="label"><rect/><foreignObject height="18" width="96.0625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">DataPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 806.5)" data-id="NetworkPackage" data-node="true" id="flowchart-NetworkPackage-11" class="node default default flowchart-label"><rect height="33" width="135.953125" y="-16.5" x="-67.9765625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-60.4765625, -9)" style="" class="label"><rect/><foreignObject height="18" width="120.953125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">NetworkPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 889.5)" data-id="HlsTranslationPackage" data-node="true" id="flowchart-HlsTranslationPackage-12" class="node default default flowchart-label"><rect height="33" width="178.9375" y="-16.5" x="-89.46875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-81.96875, -9)" style="" class="label"><rect/><foreignObject height="18" width="163.9375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsTranslationPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 972.5)" data-id="HlsParsingPackage" data-node="true" id="flowchart-HlsParsingPackage-13" class="node default default flowchart-label"><rect height="33" width="154.625" y="-16.5" x="-77.3125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-69.8125, -9)" style="" class="label"><rect/><foreignObject height="18" width="139.625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsParsingPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1055.5)" data-id="HlsPackage" data-node="true" id="flowchart-HlsPackage-14" class="node default default flowchart-label"><rect height="33" width="100.375" y="-16.5" x="-50.1875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-42.6875, -9)" style="" class="label"><rect/><foreignObject height="18" width="85.375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1138.5)" data-id="PresentationPackage" data-node="true" id="flowchart-PresentationPackage-15" class="node default default flowchart-label"><rect height="33" width="167.109375" y="-16.5" x="-83.5546875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-76.0546875, -9)" style="" class="label"><rect/><foreignObject height="18" width="152.109375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PresentationPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1221.5)" data-id="SourcePackage" data-node="true" id="flowchart-SourcePackage-16" class="node default default flowchart-label"><rect height="33" width="127.96875" y="-16.5" x="-63.984375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-56.484375, -9)" style="" class="label"><rect/><foreignObject height="18" width="112.96875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SourcePackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1304.5)" data-id="SourcesApiPackage" data-node="true" id="flowchart-SourcesApiPackage-17" class="node default default flowchart-label"><rect height="33" width="159.09375" y="-16.5" x="-79.546875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-72.046875, -9)" style="" class="label"><rect/><foreignObject height="18" width="144.09375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SourcesApiPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1387.5)" data-id="AdaptationPackage" data-node="true" id="flowchart-AdaptationPackage-18" class="node default default flowchart-label"><rect height="33" width="153.78125" y="-16.5" x="-76.890625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-69.390625, -9)" style="" class="label"><rect/><foreignObject height="18" width="138.78125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">AdaptationPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1470.5)" data-id="PlaybackPackage" data-node="true" id="flowchart-PlaybackPackage-19" class="node default default flowchart-label"><rect height="33" width="142.1875" y="-16.5" x="-71.09375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-63.59375, -9)" style="" class="label"><rect/><foreignObject height="18" width="127.1875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlaybackPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1553.5)" data-id="PlaybackApiPackage" data-node="true" id="flowchart-PlaybackApiPackage-20" class="node default default flowchart-label"><rect height="33" width="165.3125" y="-16.5" x="-82.65625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-75.15625, -9)" style="" class="label"><rect/><foreignObject height="18" width="150.3125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlaybackApiPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1636.5)" data-id="ViewModePackage" data-node="true" id="flowchart-ViewModePackage-21" class="node default default flowchart-label"><rect height="33" width="151.6875" y="-16.5" x="-75.84375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-68.34375, -9)" style="" class="label"><rect/><foreignObject height="18" width="136.6875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ViewModePackage</span></div></foreignObject></g></g></g></g><g transform="translate(168.2265625, 1789.5)" data-id="TvPackage" data-node="true" id="flowchart-TvPackage-1" class="node default default flowchart-label"><rect height="33" width="95.046875" y="-16.5" x="-47.5234375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-40.0234375, -9)" style="" class="label"><rect/><foreignObject height="18" width="80.046875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">TvPackage</span></div></foreignObject></g></g></g></g><g transform="translate(160.2265625, 1917.5)" data-id="Hls.bundle" data-node="true" id="flowchart-Hls.bundle-23" class="node default default flowchart-label"><rect height="33" width="90.609375" y="-16.5" x="-45.3046875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-37.8046875, -9)" style="" class="label"><rect/><foreignObject height="18" width="75.609375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Hls.bundle</span></div></foreignObject></g></g></g></g></g></svg>
|
|
9
|
+
* <svg aria-roledescription="flowchart-v2" role="graphics-document document" viewBox="-7.5 -8 336.453125 2033" style="max-width: 336.453px; background-color: transparent;" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="100%" id="my-svg"><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#ccc;}#my-svg .error-icon{fill:#a44141;}#my-svg .error-text{fill:#ddd;stroke:#ddd;}#my-svg .edge-thickness-normal{stroke-width:2px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:lightgrey;stroke:lightgrey;}#my-svg .marker.cross{stroke:lightgrey;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#ccc;}#my-svg .cluster-label text{fill:#F9FFFE;}#my-svg .cluster-label span,#my-svg p{color:#F9FFFE;}#my-svg .label text,#my-svg span,#my-svg p{fill:#ccc;color:#ccc;}#my-svg .node rect,#my-svg .node circle,#my-svg .node ellipse,#my-svg .node polygon,#my-svg .node path{fill:#1f2020;stroke:#81B1DB;stroke-width:1px;}#my-svg .flowchart-label text{text-anchor:middle;}#my-svg .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#my-svg .node .label{text-align:center;}#my-svg .node.clickable{cursor:pointer;}#my-svg .arrowheadPath{fill:lightgrey;}#my-svg .edgePath .path{stroke:lightgrey;stroke-width:2.0px;}#my-svg .flowchart-link{stroke:lightgrey;fill:none;}#my-svg .edgeLabel{background-color:hsl(0, 0%, 34.4117647059%);text-align:center;}#my-svg .edgeLabel rect{opacity:0.5;background-color:hsl(0, 0%, 34.4117647059%);fill:hsl(0, 0%, 34.4117647059%);}#my-svg .labelBkg{background-color:rgba(87.75, 87.75, 87.75, 0.5);}#my-svg .cluster rect{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:rgba(255, 255, 255, 0.25);stroke-width:1px;}#my-svg .cluster text{fill:#F9FFFE;}#my-svg .cluster span,#my-svg p{color:#F9FFFE;}#my-svg div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(20, 1.5873015873%, 12.3529411765%);border:1px solid rgba(255, 255, 255, 0.25);border-radius:2px;pointer-events:none;z-index:100;}#my-svg .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#ccc;}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="6" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointEnd"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 0 L 10 5 L 0 10 z"/></marker><marker orient="auto" markerHeight="12" markerWidth="12" markerUnits="userSpaceOnUse" refY="5" refX="4.5" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-pointStart"><path style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 0 5 L 10 10 L 10 0 z"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="11" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleEnd"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5" refX="-1" viewBox="0 0 10 10" class="marker flowchart" id="my-svg_flowchart-circleStart"><circle style="stroke-width: 1; stroke-dasharray: 1, 0;" class="arrowMarkerPath" r="5" cy="5" cx="5"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="12" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossEnd"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><marker orient="auto" markerHeight="11" markerWidth="11" markerUnits="userSpaceOnUse" refY="5.2" refX="-1" viewBox="0 0 11 11" class="marker cross flowchart" id="my-svg_flowchart-crossStart"><path style="stroke-width: 2; stroke-dasharray: 1, 0;" class="arrowMarkerPath" d="M 1,1 l 9,9 M 10,1 l -9,9"/></marker><g class="root"><g class="clusters"/><g class="edgePaths"><path marker-end="url(#my-svg_flowchart-pointEnd)" style="fill:none;" class="edge-thickness-normal edge-pattern-solid flowchart-link LS-Tv.bundle LE-Hls.bundle" id="L-Tv.bundle-Hls.bundle-0" d="M160.227,1916L160.227,1921.667C160.227,1927.333,160.227,1938.667,160.227,1949.117C160.227,1959.567,160.227,1969.133,160.227,1973.917L160.227,1978.7"/></g><g class="edgeLabels"><g transform="translate(160.2265625, 1950)" class="edgeLabel"><g transform="translate(-48.03125, -9)" class="label"><foreignObject height="18" width="96.0625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="edgeLabel">created using</span></div></foreignObject></g></g></g><g class="nodes"><g transform="translate(-7.5, -8)" class="root"><g class="clusters"><g id="Tv.bundle" class="cluster default flowchart-label"><rect height="1916" width="320.453125" y="8" x="8" ry="0" rx="0" style=""/><g transform="translate(133.6875, 8)" class="cluster-label"><foreignObject height="18" width="69.078125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Tv.bundle</span></div></foreignObject></g></g></g><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g transform="translate(25.5, 35)" class="root"><g class="clusters"><g id="HlsBundlePackage" class="cluster default flowchart-label"><rect height="1763" width="270.453125" y="8" x="8" ry="0" rx="0" style=""/><g transform="translate(75.625, 8)" class="cluster-label"><foreignObject height="18" width="135.203125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsBundlePackage</span></div></foreignObject></g></g></g><g class="edgePaths"/><g class="edgeLabels"/><g class="nodes"><g transform="translate(143.2265625, 59.5)" data-id="CorePackage" data-node="true" id="flowchart-CorePackage-2" class="node default default flowchart-label"><rect height="33" width="111.953125" y="-16.5" x="-55.9765625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-48.4765625, -9)" style="" class="label"><rect/><foreignObject height="18" width="96.953125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">CorePackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 142.5)" data-id="EventBusPackage" data-node="true" id="flowchart-EventBusPackage-3" class="node default default flowchart-label"><rect height="33" width="145.75" y="-16.5" x="-72.875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-65.375, -9)" style="" class="label"><rect/><foreignObject height="18" width="130.75"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">EventBusPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 225.5)" data-id="PlayerApiPackage" data-node="true" id="flowchart-PlayerApiPackage-4" class="node default default flowchart-label"><rect height="33" width="145.75" y="-16.5" x="-72.875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-65.375, -9)" style="" class="label"><rect/><foreignObject height="18" width="130.75"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlayerApiPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 308.5)" data-id="CapabilitiesPackage" data-node="true" id="flowchart-CapabilitiesPackage-5" class="node default default flowchart-label"><rect height="33" width="159.984375" y="-16.5" x="-79.9921875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-72.4921875, -9)" style="" class="label"><rect/><foreignObject height="18" width="144.984375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">CapabilitiesPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 391.5)" data-id="SegmentProcessingPackage" data-node="true" id="flowchart-SegmentProcessingPackage-6" class="node default default flowchart-label"><rect height="33" width="220.453125" y="-16.5" x="-110.2265625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-102.7265625, -9)" style="" class="label"><rect/><foreignObject height="18" width="205.453125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SegmentProcessingPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 474.5)" data-id="ContainerMp4Package" data-node="true" id="flowchart-ContainerMp4Package-7" class="node default default flowchart-label"><rect height="33" width="177.765625" y="-16.5" x="-88.8828125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-81.3828125, -9)" style="" class="label"><rect/><foreignObject height="18" width="162.765625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ContainerMp4Package</span></div></foreignObject></g></g><g transform="translate(143.2265625, 557.5)" data-id="ContainerTsPackage" data-node="true" id="flowchart-ContainerTsPackage-8" class="node default default flowchart-label"><rect height="33" width="162.640625" y="-16.5" x="-81.3203125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-73.8203125, -9)" style="" class="label"><rect/><foreignObject height="18" width="147.640625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ContainerTsPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 640.5)" data-id="TsTransmuxerPackage" data-node="true" id="flowchart-TsTransmuxerPackage-9" class="node default default flowchart-label"><rect height="33" width="178.03125" y="-16.5" x="-89.015625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-81.515625, -9)" style="" class="label"><rect/><foreignObject height="18" width="163.03125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">TsTransmuxerPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 723.5)" data-id="DataPackage" data-node="true" id="flowchart-DataPackage-10" class="node default default flowchart-label"><rect height="33" width="111.0625" y="-16.5" x="-55.53125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-48.03125, -9)" style="" class="label"><rect/><foreignObject height="18" width="96.0625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">DataPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 806.5)" data-id="NetworkPackage" data-node="true" id="flowchart-NetworkPackage-11" class="node default default flowchart-label"><rect height="33" width="135.953125" y="-16.5" x="-67.9765625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-60.4765625, -9)" style="" class="label"><rect/><foreignObject height="18" width="120.953125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">NetworkPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 889.5)" data-id="HlsTranslationPackage" data-node="true" id="flowchart-HlsTranslationPackage-12" class="node default default flowchart-label"><rect height="33" width="178.9375" y="-16.5" x="-89.46875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-81.96875, -9)" style="" class="label"><rect/><foreignObject height="18" width="163.9375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsTranslationPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 972.5)" data-id="HlsParsingPackage" data-node="true" id="flowchart-HlsParsingPackage-13" class="node default default flowchart-label"><rect height="33" width="154.625" y="-16.5" x="-77.3125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-69.8125, -9)" style="" class="label"><rect/><foreignObject height="18" width="139.625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsParsingPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1055.5)" data-id="HlsPackage" data-node="true" id="flowchart-HlsPackage-14" class="node default default flowchart-label"><rect height="33" width="100.375" y="-16.5" x="-50.1875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-42.6875, -9)" style="" class="label"><rect/><foreignObject height="18" width="85.375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">HlsPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1138.5)" data-id="PresentationPackage" data-node="true" id="flowchart-PresentationPackage-15" class="node default default flowchart-label"><rect height="33" width="167.109375" y="-16.5" x="-83.5546875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-76.0546875, -9)" style="" class="label"><rect/><foreignObject height="18" width="152.109375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PresentationPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1221.5)" data-id="SourcePackage" data-node="true" id="flowchart-SourcePackage-16" class="node default default flowchart-label"><rect height="33" width="127.96875" y="-16.5" x="-63.984375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-56.484375, -9)" style="" class="label"><rect/><foreignObject height="18" width="112.96875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SourcePackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1304.5)" data-id="SourcesApiPackage" data-node="true" id="flowchart-SourcesApiPackage-17" class="node default default flowchart-label"><rect height="33" width="159.09375" y="-16.5" x="-79.546875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-72.046875, -9)" style="" class="label"><rect/><foreignObject height="18" width="144.09375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SourcesApiPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1387.5)" data-id="AdaptationPackage" data-node="true" id="flowchart-AdaptationPackage-18" class="node default default flowchart-label"><rect height="33" width="153.78125" y="-16.5" x="-76.890625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-69.390625, -9)" style="" class="label"><rect/><foreignObject height="18" width="138.78125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">AdaptationPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1470.5)" data-id="PlaybackPackage" data-node="true" id="flowchart-PlaybackPackage-19" class="node default default flowchart-label"><rect height="33" width="142.1875" y="-16.5" x="-71.09375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-63.59375, -9)" style="" class="label"><rect/><foreignObject height="18" width="127.1875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlaybackPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1553.5)" data-id="PlaybackApiPackage" data-node="true" id="flowchart-PlaybackApiPackage-20" class="node default default flowchart-label"><rect height="33" width="165.3125" y="-16.5" x="-82.65625" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-75.15625, -9)" style="" class="label"><rect/><foreignObject height="18" width="150.3125"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">PlaybackApiPackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1636.5)" data-id="ViewModePackage" data-node="true" id="flowchart-ViewModePackage-21" class="node default default flowchart-label"><rect height="33" width="151.6875" y="-16.5" x="-75.84375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-68.34375, -9)" style="" class="label"><rect/><foreignObject height="18" width="136.6875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">ViewModePackage</span></div></foreignObject></g></g><g transform="translate(143.2265625, 1719.5)" data-id="SubtitlesPackage" data-node="true" id="flowchart-SubtitlesPackage-22" class="node default default flowchart-label"><rect height="33" width="138.640625" y="-16.5" x="-69.3203125" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-61.8203125, -9)" style="" class="label"><rect/><foreignObject height="18" width="123.640625"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">SubtitlesPackage</span></div></foreignObject></g></g></g></g><g transform="translate(168.2265625, 1872.5)" data-id="TvPackage" data-node="true" id="flowchart-TvPackage-1" class="node default default flowchart-label"><rect height="33" width="95.046875" y="-16.5" x="-47.5234375" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-40.0234375, -9)" style="" class="label"><rect/><foreignObject height="18" width="80.046875"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">TvPackage</span></div></foreignObject></g></g></g></g><g transform="translate(160.2265625, 2000.5)" data-id="Hls.bundle" data-node="true" id="flowchart-Hls.bundle-24" class="node default default flowchart-label"><rect height="33" width="90.609375" y="-16.5" x="-45.3046875" ry="0" rx="0" style="" class="basic label-container"/><g transform="translate(-37.8046875, -9)" style="" class="label"><rect/><foreignObject height="18" width="75.609375"><div style="display: inline-block; white-space: nowrap;" xmlns="http://www.w3.org/1999/xhtml"><span class="nodeLabel">Hls.bundle</span></div></foreignObject></g></g></g></g></g></svg>
|
|
10
10
|
*/
|
|
11
11
|
import type { HlsBundleApi } from './Hls.bundle';
|
|
12
12
|
import type { PlayerConfig } from './Types';
|
|
@@ -24,6 +24,8 @@ import type { createStreamAtom, StreamType } from './state/stream/StreamAtom';
|
|
|
24
24
|
import type { createStreamSectionAtom } from './state/stream-timeline/StreamSectionAtom';
|
|
25
25
|
import type { createStreamSequenceMapAtom } from './state/stream-timeline/StreamSequenceMapAtom';
|
|
26
26
|
import type { createStreamTimelineAtom } from './state/stream-timeline/StreamTimelineMapAtom';
|
|
27
|
+
import type { createTimelineAtom } from './state/timeline/TimelineAtom';
|
|
28
|
+
import type { createTimelineTrackerAtom } from './state/timeline/TimelineTrackerAtom';
|
|
27
29
|
import type { createAudioTrackAtom, createMuxedTrackAtom, createSubtitleTrackAtom, createUnknownTrackAtom, createVideoTrackAtom } from './state/track/TrackAtom';
|
|
28
30
|
import type { isAudioTrack, isMediaOrSubtitleTrack, isMediaTrack, isMuxedTrack, isSubtitleTrack, isVideoTrack } from './state/track/TrackTypeGuards';
|
|
29
31
|
import type { CoreUtils } from './utils/Types';
|
|
@@ -67,6 +69,8 @@ export type CoreStateAtoms = {
|
|
|
67
69
|
createArrayAtom: typeof createArrayAtom;
|
|
68
70
|
createMapStateAtom: typeof createMapStateAtom;
|
|
69
71
|
createPrimitiveAtom: typeof createPrimitiveAtom;
|
|
72
|
+
createTimelineAtom: typeof createTimelineAtom;
|
|
73
|
+
createTimelineTrackerAtom: typeof createTimelineTrackerAtom;
|
|
70
74
|
Queue: {
|
|
71
75
|
createQueueAtom: typeof createQueueAtom;
|
|
72
76
|
QueueItemRemovedError: typeof QueueItemRemovedError;
|
|
@@ -25,6 +25,7 @@ export declare const createDataRangesAtom: (ctx: ExtendedContext) => import("../
|
|
|
25
25
|
addSegment: (dataRanges: DataRanges, mediaId: string, sourceId: string, segment: DataOrSelfInitSegmentAtom) => boolean;
|
|
26
26
|
removeSegment: (dataRanges: DataRanges, mediaId: string, sourceId: string, segment: DataOrSelfInitSegmentAtom) => boolean;
|
|
27
27
|
clear: (dataRanges: DataRanges) => boolean;
|
|
28
|
+
deleteMediaId: (dataRanges: DataRanges, mediaId: string) => boolean;
|
|
28
29
|
deleteSource: (dataRanges: DataRanges, mediaId: string, sourceId: string) => boolean;
|
|
29
30
|
}>;
|
|
30
31
|
export {};
|
|
@@ -60,7 +60,7 @@ declare const SubtitleSelectionGroupModifiers: {
|
|
|
60
60
|
setSequenceNumber: (selectionGroup: SelectionGroup, sequenceNumber: number) => boolean;
|
|
61
61
|
setLanguage: (selectionGroup: AudioSelectionGroup | SubtitleSelectionGroup, language: string) => boolean;
|
|
62
62
|
};
|
|
63
|
-
export declare const createSubtitleSelectionGroupAtom: (context: ContextT, initialValue: PartialRequired<SubtitleSelectionGroup, 'tracks' | 'language'
|
|
63
|
+
export declare const createSubtitleSelectionGroupAtom: (context: ContextT, initialValue: PartialRequired<SubtitleSelectionGroup, 'tracks' | 'language'>, label: string) => SubtitleSelectionGroupAtom;
|
|
64
64
|
declare const UnknownSelectionGroupModifiers: {
|
|
65
65
|
setSequenceNumber: (selectionGroup: SelectionGroup, sequenceNumber: number) => boolean;
|
|
66
66
|
};
|