shaka-player 4.9.13 → 4.9.14
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/dist/locales.js +36 -36
- package/dist/shaka-player.compiled.d.ts +1 -1
- package/dist/shaka-player.compiled.debug.d.ts +1 -1
- package/dist/shaka-player.compiled.debug.js +13 -13
- package/dist/shaka-player.compiled.debug.map +2 -2
- package/dist/shaka-player.compiled.js +29 -28
- package/dist/shaka-player.compiled.map +3 -3
- package/dist/shaka-player.ui.d.ts +1 -1
- package/dist/shaka-player.ui.debug.d.ts +1 -1
- package/dist/shaka-player.ui.debug.js +17 -17
- package/dist/shaka-player.ui.debug.map +2 -2
- package/dist/shaka-player.ui.js +41 -40
- package/dist/shaka-player.ui.map +3 -3
- package/externs/shaka/player.js +7 -1
- package/lib/abr/simple_abr_manager.js +11 -8
- package/lib/hls/hls_parser.js +4 -3
- package/lib/player.js +6 -3
- package/lib/util/player_configuration.js +1 -0
- package/package.json +1 -1
- package/ui/locales/fr.json +1 -1
|
@@ -172,19 +172,19 @@ function jf(a){return{id:a.id,active:!1,type:Sd,bandwidth:0,language:a.language,
|
|
|
172
172
|
videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:a.originalId,originalImageId:null,accessibilityPurpose:a.accessibilityPurpose,originalLanguage:a.originalLanguage}}
|
|
173
173
|
function kf(a){var b=a.width||null,c=a.height||null,d=null;a.segmentIndex&&(d=a.segmentIndex.get(0));var e=a.tilesLayout;d&&(e=d.tilesLayout||e);e&&null!=b&&(b/=Number(e.split("x")[0]));e&&null!=c&&(c/=Number(e.split("x")[1]));return{id:a.id,active:!1,type:"image",bandwidth:a.bandwidth||0,language:"",label:null,kind:null,width:b,height:c,frameRate:null,pixelAspectRatio:null,hdr:null,colorGamut:null,videoLayout:null,mimeType:a.mimeType,audioMimeType:null,videoMimeType:null,codecs:a.codecs||null,audioCodec:null,
|
|
174
174
|
videoCodec:null,primary:!1,roles:[],audioRoles:null,forced:!1,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,tilesLayout:e||null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:null,originalImageId:a.originalId,accessibilityPurpose:null,originalLanguage:null}}function lf(a){a.__shaka_id||(a.__shaka_id=mf++);return a.__shaka_id}
|
|
175
|
-
function nf(a){var b=of(a);b.active="disabled"!=a.mode;b.type="text";b.originalTextId=a.id;"captions"==a.kind&&(b.mimeType="unknown");"subtitles"==a.kind&&(b.mimeType="text/vtt");a.kind&&(b.roles=[a.kind]);"forced"==a.kind&&(b.forced=!0);return b}function
|
|
175
|
+
function nf(a){var b=of(a);b.active="disabled"!=a.mode;b.type="text";b.originalTextId=a.id;"captions"==a.kind&&(b.mimeType="unknown");"subtitles"==a.kind&&(b.mimeType="text/vtt");a.kind&&(b.roles=[a.kind]);"forced"==a.kind&&(b.forced=!0);return b}function pf(a){var b=of(a);b.active=a.enabled;b.type="variant";b.originalAudioId=a.id;"main"==a.kind&&(b.primary=!0);a.kind&&(b.roles=[a.kind],b.audioRoles=[a.kind],b.label=a.label);return b}
|
|
176
176
|
function of(a){var b=a.language;return{id:lf(a),active:!1,type:"",bandwidth:0,language:Be(b||"und"),label:a.label,kind:a.kind,width:null,height:null,frameRate:null,pixelAspectRatio:null,hdr:null,colorGamut:null,videoLayout:null,mimeType:null,audioMimeType:null,videoMimeType:null,codecs:null,audioCodec:null,videoCodec:null,primary:!1,roles:[],forced:!1,audioRoles:null,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,tilesLayout:null,audioBandwidth:null,videoBandwidth:null,
|
|
177
177
|
originalVideoId:null,originalAudioId:null,originalTextId:null,originalImageId:null,accessibilityPurpose:null,originalLanguage:b}}function uf(a){return a.allowedByApplication&&a.allowedByKeySystem&&0==a.disabledUntilTime}function vf(a){return a.filter(function(b){return uf(b)})}
|
|
178
178
|
function wf(a,b,c,d){var e=a,f=a.filter(function(k){return k.primary});f.length&&(e=f);var g=e.length?e[0].language:"";e=e.filter(function(k){return k.language==g});if(b){var h=Ie(Be(b),a.map(function(k){return k.language}));h&&(e=a.filter(function(k){return Be(k.language)==h}))}e=e.filter(function(k){return k.forced==d});if(c){if(a=xf(e,c),a.length)return a}else if(a=e.filter(function(k){return 0==k.roles.length}),a.length)return a;a=e.map(function(k){return k.roles}).reduce(we,[]);return a.length?
|
|
179
179
|
xf(e,a[0]):e}function xf(a,b){return a.filter(function(c){return c.roles.includes(b)})}function Xe(a){return"audio"==a.type?"type=audio codecs="+a.codecs+" bandwidth="+a.bandwidth+" channelsCount="+a.channelsCount+" audioSamplingRate="+a.audioSamplingRate:"video"==a.type?"type=video codecs="+a.codecs+" bandwidth="+a.bandwidth+" frameRate="+a.frameRate+" width="+a.width+" height="+a.height:"unexpected stream type"}S("shaka.util.StreamUtils",Le);Le.meetsRestrictions=Pe;
|
|
180
|
-
var bf={},mf=0,ef=(new Map).set("image/svg+xml",!0).set("image/png",!0).set("image/jpeg",!0).set("image/jpg",!0),ff=(new Map).set("image/webp","data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA").set("image/avif","data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAAB0AAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAIAAAACAAAAEHBpeGkAAAAAAwgICAAAAAxhdjFDgQ0MAAAAABNjb2xybmNseAACAAIAAYAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAACVtZGF0EgAKCBgANogQEAwgMg8f8D///8WfhwB8+ErK42A=");function yf(){var a=this;this.
|
|
181
|
-
b&&a.
|
|
182
|
-
r.chooseVariant=function(a){a=void 0===a?!1:a;var b=Infinity,c=Infinity;this.g.restrictToScreenSize&&(c=this.g.ignoreDevicePixelRatio?1:window.devicePixelRatio,b=window.screen.height*c,c*=window.screen.width);if(this.h&&this.g.restrictToElementSize){var d=this.g.ignoreDevicePixelRatio?1:window.devicePixelRatio;b=Math.min(b,this.
|
|
183
|
-
(e=this.
|
|
184
|
-
0;d<a.length;d++){e=a[d];for(var f=isNaN(this.B)?1:Math.abs(this.B),g=f*e.bandwidth/this.g.bandwidthDowngradeTarget,h={bandwidth:Infinity},k=d+1;k<a.length;k++)if(e.bandwidth!=a[k].bandwidth){h=a[k];break}f=f*h.bandwidth/this.g.bandwidthUpgradeTarget;b>=g&&b<=f&&(c.bandwidth!=e.bandwidth||c.bandwidth==e.bandwidth&&c.video&&e.video&&(c.video.width<e.video.width||c.video.height<e.video.height))&&(c=e)}this.
|
|
185
|
-
r.segmentDownloaded=function(a,b,c){a<this.g.cacheLoadThreshold||(this.i.sample(a,b),c&&null!=this.
|
|
186
|
-
r.playbackRateChanged=function(a){this.B=a};r.setMediaElement=function(a){var b=this;this.
|
|
187
|
-
function Bf(a){if(!a.G){var b=a.i;if(!(b.g>=b.i))return;a.G=!0}
|
|
180
|
+
var bf={},mf=0,ef=(new Map).set("image/svg+xml",!0).set("image/png",!0).set("image/jpeg",!0).set("image/jpg",!0),ff=(new Map).set("image/webp","data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA").set("image/avif","data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAAB0AAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAIAAAACAAAAEHBpeGkAAAAAAwgICAAAAAxhdjFDgQ0MAAAAABNjb2xybmNseAACAAIAAYAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAACVtZGF0EgAKCBgANogQEAwgMg8f8D///8WfhwB8+ErK42A=");function yf(){var a=this;this.A=null;this.s=!1;this.i=new Xa;this.F=new hb;navigator.connection&&navigator.connection.addEventListener&&this.F.D(navigator.connection,"change",function(){if(a.s&&a.g.useNetworkInformation){a.i=new Xa;a.g&&a.i.configure(a.g.advanced);var b=a.chooseVariant();b&&navigator.onLine&&a.A(b,a.g.clearBufferSwitch,a.g.safeMarginSwitch)}});this.o=[];this.B=1;this.G=!1;this.h=this.m=this.g=this.j=null;this.C=new Tc(function(){if(a.g.restrictToElementSize){var b=a.chooseVariant();
|
|
181
|
+
b&&a.A(b,a.g.clearBufferSwitch,a.g.safeMarginSwitch)}});this.l=null}r=yf.prototype;r.stop=function(){this.A=null;this.s=!1;this.o=[];this.B=1;this.m=this.j=null;this.h&&(this.h.disconnect(),this.h=null);this.C.stop();this.l=null};r.release=function(){this.F.release();this.C=null};r.init=function(a){this.A=a};
|
|
182
|
+
r.chooseVariant=function(a){a=void 0===a?!1:a;var b=Infinity,c=Infinity;this.g.restrictToScreenSize&&(c=this.g.ignoreDevicePixelRatio?1:window.devicePixelRatio,b=window.screen.height*c,c*=window.screen.width);if(this.h&&this.g.restrictToElementSize){var d=this.g.ignoreDevicePixelRatio?1:window.devicePixelRatio;b=Math.min(b,this.m.clientHeight*d);c=Math.min(c,this.m.clientWidth*d)}var e=this.o.filter(function(l){return l&&!(l.audio&&l.audio.fastSwitching||l.video&&l.video.fastSwitching)});e.length||
|
|
183
|
+
(e=this.o);d=e;a&&e.length!=this.o.length&&(d=this.o.filter(function(l){return l&&(l.audio&&l.audio.fastSwitching||l.video&&l.video.fastSwitching?!0:!1)}));a=zf(this,this.g.restrictions,d,Infinity,Infinity);if(Infinity!=b||Infinity!=c){a=Af(a);a=t(a);for(e=a.next();!e.done;e=a.next())if(e=e.value,e.height>=b&&e.width>=c){b=e.height;c=e.width;break}a=zf(this,this.g.restrictions,d,b,c)}b=this.getBandwidthEstimate();d.length&&!a.length&&(a=zf(this,null,d,Infinity,Infinity),a=[a[0]]);c=a[0]||null;for(d=
|
|
184
|
+
0;d<a.length;d++){e=a[d];for(var f=isNaN(this.B)?1:Math.abs(this.B),g=f*e.bandwidth/this.g.bandwidthDowngradeTarget,h={bandwidth:Infinity},k=d+1;k<a.length;k++)if(e.bandwidth!=a[k].bandwidth){h=a[k];break}f=f*h.bandwidth/this.g.bandwidthUpgradeTarget;b>=g&&b<=f&&(c.bandwidth!=e.bandwidth||c.bandwidth==e.bandwidth&&c.video&&e.video&&(c.video.width<e.video.width||c.video.height<e.video.height))&&(c=e)}this.j=Date.now();return c};r.enable=function(){this.s=!0};r.disable=function(){this.s=!1};
|
|
185
|
+
r.segmentDownloaded=function(a,b,c){a<this.g.cacheLoadThreshold||(this.i.sample(a,b),c&&null!=this.j&&this.s&&Bf(this))};r.trySuggestStreams=function(){null!=this.j&&this.s&&Bf(this)};r.getBandwidthEstimate=function(){var a=this.g.defaultBandwidthEstimate;navigator.connection&&navigator.connection.downlink&&this.g.useNetworkInformation&&(a=1E6*navigator.connection.downlink);a=this.i.getBandwidthEstimate(a);return this.l?this.l.getBandwidthEstimate(a):a};r.setVariants=function(a){this.o=a};
|
|
186
|
+
r.playbackRateChanged=function(a){this.B=a};r.setMediaElement=function(a){var b=this;this.m=a;this.h&&(this.h.disconnect(),this.h=null);this.m&&"ResizeObserver"in window&&(this.h=new ResizeObserver(function(){b.C.X(Cf)}),this.h.observe(this.m))};r.setCmsdManager=function(a){this.l=a};r.configure=function(a){this.g=a;this.i&&this.g&&this.i.configure(this.g.advanced)};
|
|
187
|
+
function Bf(a){if(!a.G){var b=a.i;if(!(b.g>=b.i))return;a.G=!0;a.j-=1E3*(a.g.switchInterval-a.g.minTimeToSwitch)}Date.now()-a.j<1E3*a.g.switchInterval||(b=a.chooseVariant(),a.getBandwidthEstimate(),b&&a.A(b,a.g.clearBufferSwitch,a.g.safeMarginSwitch))}function zf(a,b,c,d,e){if(a.l){var f=a.l.vg();f&&(c=c.filter(function(g){return g.bandwidth&&f?g.bandwidth<=f:!0}))}b&&(c=c.filter(function(g){return Pe(g,b,{width:e,height:d})}));return c.sort(function(g,h){return g.bandwidth-h.bandwidth})}
|
|
188
188
|
function Af(a){var b=[];a=t(a);for(var c=a.next();!c.done;c=a.next())(c=c.value.video)&&c.height&&c.width&&b.push({height:c.height,width:c.width});return b.sort(function(d,e){return d.width-e.width})}S("shaka.abr.SimpleAbrManager",yf);yf.prototype.configure=yf.prototype.configure;yf.prototype.setCmsdManager=yf.prototype.setCmsdManager;yf.prototype.setMediaElement=yf.prototype.setMediaElement;yf.prototype.playbackRateChanged=yf.prototype.playbackRateChanged;yf.prototype.setVariants=yf.prototype.setVariants;
|
|
189
189
|
yf.prototype.getBandwidthEstimate=yf.prototype.getBandwidthEstimate;yf.prototype.trySuggestStreams=yf.prototype.trySuggestStreams;yf.prototype.segmentDownloaded=yf.prototype.segmentDownloaded;yf.prototype.disable=yf.prototype.disable;yf.prototype.enable=yf.prototype.enable;yf.prototype.chooseVariant=yf.prototype.chooseVariant;yf.prototype.init=yf.prototype.init;yf.prototype.release=yf.prototype.release;yf.prototype.stop=yf.prototype.stop;var Cf=1;S("shaka.config.AutoShowText",{NEVER:0,ALWAYS:1,IF_PREFERRED_TEXT_LANGUAGE:2,IF_SUBTITLES_MAY_BE_NEEDED:3});S("shaka.config.CodecSwitchingStrategy",{yj:"reload",gh:"smooth"});function Df(a,b,c,d){c=void 0===c?!0:c;d=void 0===d?!1:d;this.h=a;this.g=new Set([a]);b=b||[];a=t(b);for(b=a.next();!b.done;b=a.next())this.add(b.value,c,d)}Df.prototype.add=function(a,b,c){return Ef(this.h,a,void 0===b?!0:b,void 0===c?!1:c)?(this.g.add(a),!0):!1};
|
|
190
190
|
function Ef(a,b,c,d){var e;if(!(e=!!a.audio!=!!b.audio||!!a.video!=!!b.video||a.language!=b.language)&&(e=a.audio&&b.audio)){e=a.audio;var f=b.audio;e=!!((!e.channelsCount||!f.channelsCount||2<e.channelsCount||2<f.channelsCount)&&e.channelsCount!=f.channelsCount||c&&!Ff(e,f)||!Gf(e.roles,f.roles)||d&&e.groupId!==f.groupId)}!(d=e)&&(d=a.video&&b.video)&&(a=a.video,b=b.video,d=!((!c||Ff(a,b))&&Gf(a.roles,b.roles)));return d?!1:!0}Df.prototype.values=function(){return this.g.values()};
|
|
@@ -490,10 +490,10 @@ rebufferingGoal:2,bufferingGoal:10,bufferBehind:30,evictionGoal:1,ignoreTextStre
|
|
|
490
490
|
maxDisabledTime:30,parsePrftBox:!1,segmentPrefetchLimit:0,prefetchAudioLanguages:[],disableAudioPrefetch:!1,disableTextPrefetch:!1,disableVideoPrefetch:!1,liveSync:!1,liveSyncTargetLatencyTolerance:.5,liveSyncMaxLatency:1,liveSyncPlaybackRate:1.1,liveSyncMinLatency:0,liveSyncMinPlaybackRate:.95,liveSyncPanicMode:!1,liveSyncPanicThreshold:60,allowMediaSourceRecoveries:!0,minTimeBetweenRecoveries:5,vodDynamicPlaybackRate:!1,vodDynamicPlaybackRateLowBufferRate:.95,vodDynamicPlaybackRateBufferRatio:.5,
|
|
491
491
|
infiniteLiveStreamDuration:!1,preloadNextUrlWindow:30,loadTimeout:30,clearDecodingCache:id()||jd()};if(cd()||$c()||fd()||kd())e.stallSkip=0;var f={trackSelectionCallback:function(m){return O(function(n){return n.return(m)})},downloadSizeCallback:function(m){var n;return O(function(p){if(1==p.g)return navigator.storage&&navigator.storage.estimate?E(p,navigator.storage.estimate(),3):p.return(!0);n=p.h;return p.return(n.usage+m<.95*n.quota)})},progressCallback:function(m,n){return em([m,n])},usePersistentLicense:!0,
|
|
492
492
|
numberOfParallelDownloads:5};a={enabled:!0,useNetworkInformation:!0,defaultBandwidthEstimate:1E6,switchInterval:8,bandwidthUpgradeTarget:.85,bandwidthDowngradeTarget:.95,restrictions:{minWidth:0,maxWidth:Infinity,minHeight:0,maxHeight:a,minPixels:0,maxPixels:Infinity,minFrameRate:0,maxFrameRate:Infinity,minBandwidth:0,maxBandwidth:Infinity,minChannelsCount:0,maxChannelsCount:Infinity},advanced:{minTotalBytes:128E3,minBytes:16E3,fastHalfLife:2,slowHalfLife:5},restrictToElementSize:!1,restrictToScreenSize:!1,
|
|
493
|
-
ignoreDevicePixelRatio:!1,clearBufferSwitch:!1,safeMarginSwitch:0,cacheLoadThreshold:20};c={codecSwitchingStrategy:c,addExtraFeaturesToSourceBuffer:function(m){return em([m],"")},forceTransmux:!1,insertFakeEncryptionInInit:!0,modifyCueCallback:function(m,n){return em([m,n])}};var g=!1,h=!1,k=!0;if($c()||cd()||Yc()||id()||jd()||Zc("AFT")||Zc("PC=EOS")||Zc("PC=APL")||Zc("VirginMedia")||hd()||Zc("WPE")||fd()||kd()||Zc("DT_STB_BCM"))h=g=!0,k=!1;var l={drm:b,manifest:d,streaming:e,
|
|
494
|
-
abrFactory:function(){return new yf},abr:a,autoShowText:3,preferredAudioLanguage:"",preferredAudioLabel:"",preferredTextLanguage:"",preferredVariantRole:"",preferredTextRole:"",preferredAudioChannelCount:2,preferredVideoHdrLevel:"AUTO",preferredVideoLayout:"",preferredVideoLabel:"",preferredVideoCodecs:[],preferredAudioCodecs:[],preferForcedSubs:!1,preferSpatialAudio:!1,preferredDecodingAttributes:[],restrictions:{minWidth:0,maxWidth:Infinity,minHeight:0,maxHeight:Infinity,
|
|
495
|
-
minFrameRate:0,maxFrameRate:Infinity,minBandwidth:0,maxBandwidth:Infinity,minChannelsCount:0,maxChannelsCount:Infinity},playRangeStart:0,playRangeEnd:Infinity,textDisplayer:{captionsUpdatePeriod:.25},textDisplayFactory:function(){return null},cmcd:{enabled:!1,sessionId:"",contentId:"",rtpSafetyFactor:5,useHeaders:!1,includeKeys:[]},cmsd:{enabled:!0,applyMaximumSuggestedBitrate:!0,estimatedThroughputWeightRatio:.5},lcevc:{enabled:!1,dynamicPerformanceScaling:!0,logLevel:0,
|
|
496
|
-
skipPlayDetection:h,supportsMultipleMediaElements:k}};f.trackSelectionCallback=function(m){return O(function(n){return n.return(pm(m,l.preferredAudioLanguage,l.preferredVideoHdrLevel))})};return l}
|
|
493
|
+
ignoreDevicePixelRatio:!1,clearBufferSwitch:!1,safeMarginSwitch:0,cacheLoadThreshold:20,minTimeToSwitch:gd()?.5:0};c={codecSwitchingStrategy:c,addExtraFeaturesToSourceBuffer:function(m){return em([m],"")},forceTransmux:!1,insertFakeEncryptionInInit:!0,modifyCueCallback:function(m,n){return em([m,n])}};var g=!1,h=!1,k=!0;if($c()||cd()||Yc()||id()||jd()||Zc("AFT")||Zc("PC=EOS")||Zc("PC=APL")||Zc("VirginMedia")||hd()||Zc("WPE")||fd()||kd()||Zc("DT_STB_BCM"))h=g=!0,k=!1;var l={drm:b,manifest:d,streaming:e,
|
|
494
|
+
mediaSource:c,offline:f,abrFactory:function(){return new yf},abr:a,autoShowText:3,preferredAudioLanguage:"",preferredAudioLabel:"",preferredTextLanguage:"",preferredVariantRole:"",preferredTextRole:"",preferredAudioChannelCount:2,preferredVideoHdrLevel:"AUTO",preferredVideoLayout:"",preferredVideoLabel:"",preferredVideoCodecs:[],preferredAudioCodecs:[],preferForcedSubs:!1,preferSpatialAudio:!1,preferredDecodingAttributes:[],restrictions:{minWidth:0,maxWidth:Infinity,minHeight:0,maxHeight:Infinity,
|
|
495
|
+
minPixels:0,maxPixels:Infinity,minFrameRate:0,maxFrameRate:Infinity,minBandwidth:0,maxBandwidth:Infinity,minChannelsCount:0,maxChannelsCount:Infinity},playRangeStart:0,playRangeEnd:Infinity,textDisplayer:{captionsUpdatePeriod:.25},textDisplayFactory:function(){return null},cmcd:{enabled:!1,sessionId:"",contentId:"",rtpSafetyFactor:5,useHeaders:!1,includeKeys:[]},cmsd:{enabled:!0,applyMaximumSuggestedBitrate:!0,estimatedThroughputWeightRatio:.5},lcevc:{enabled:!1,dynamicPerformanceScaling:!0,logLevel:0,
|
|
496
|
+
drawLogo:!1},ads:{customPlayheadTracker:g,skipPlayDetection:h,supportsMultipleMediaElements:k}};f.trackSelectionCallback=function(m){return O(function(n){return n.return(pm(m,l.preferredAudioLanguage,l.preferredVideoHdrLevel))})};return l}
|
|
497
497
|
function qm(a,b,c){var d={".drm.keySystemsMapping":"",".drm.servers":"",".drm.clearKeys":"",".drm.advanced":{distinctiveIdentifierRequired:!1,persistentStateRequired:!1,videoRobustness:"",audioRobustness:"",sessionType:"",serverCertificate:new Uint8Array(0),serverCertificateUri:"",individualizationServer:"",headers:{}}};return cm(a,b,c||mm(),d,"")}
|
|
498
498
|
function pm(a,b,c){var d=c;"AUTO"==d&&(d=window.matchMedia("(color-gamut: p3)").matches?"PQ":"SDR");var e=a.filter(function(h){return"variant"!=h.type||h.hdr&&h.hdr!=d?!1:!0});c=[];var f=Ie(b,e.map(function(h){return h.language}));f&&(c=e.filter(function(h){return Be(h.language)==f}));0==c.length&&(c=e.filter(function(h){return h.primary}));0==c.length&&(e.map(function(h){return h.language}),c=e);var g=c.filter(function(h){return h.height&&480>=h.height});g.length&&(g.sort(function(h,k){return k.height-
|
|
499
499
|
h.height}),c=g.filter(function(h){return h.height==g[0].height}));b=[];c.length&&(e=Math.floor(c.length/2),c.sort(function(h,k){return h.bandwidth-k.bandwidth}),b.push(c[e]));a=t(a);for(c=a.next();!c.done;c=a.next())c=c.value,c.type!=Sd&&"image"!=c.type||b.push(c);return b}function nm(a){return em([a],a)}function om(a){return em([a],a)}S("shaka.util.PlayerConfiguration",lm);lm.mergeConfigObjects=qm;lm.createDefault=mm;function rm(a,b,c,d,e){hg.call(this);this.K=a;this.T=b;this.Ka=e.networkingEngine;this.W=d;this.o=null;this.rb=c;this.wa=0;this.hb=e.tc;this.B=e.ki;this.ib=e.li;this.g=e.config;this.j=this.C=this.h=null;this.da=!1;this.F=e.vi;this.oa=!1;this.l=null;this.ca=!1;this.i=this.A=null;this.aa=!1;this.J=new Map;this.pa=!1;this.La=e.ui;this.$=new al;this.m=new Yf;this.L=null;this.s=!1;this.Wa=e.nh;this.fa=null;this.Xa=e.mh;this.N=!1;this.H=[];this.G=[]}pa(rm,hg);
|
|
@@ -582,8 +582,8 @@ function lo(a){var b,c,d,e,f;return O(function(g){if(1==g.g)return ho(a,"media-s
|
|
|
582
582
|
function ro(a,b,c,d){var e,f,g,h,k,l,m,n,p,q,u,v,w,A,z,B,y,C,D,K,I,J;return O(function(H){switch(H.g){case 1:ho(a,"load");e=a.h;a.H=new Sk({$d:function(){return e.playbackRate},Xb:function(){return e.defaultPlaybackRate},Tf:function(F){e.playbackRate=F},Fg:function(F){e.currentTime+=F}});f=function(){return Do(a)};g=function(){return Eo(a)};a.m.D(e,"playing",f);a.m.D(e,"pause",f);a.m.D(e,"ended",f);a.m.D(e,"ratechange",g);eo(a,a.g);a.Wa=a.g.preferredTextLanguage;a.rd=a.g.preferredTextRole;a.od=a.g.preferForcedSubs;
|
|
583
583
|
Fo(a.i.presentationTimeline,a.g.playRangeStart,a.g.playRangeEnd);a.o.init(function(F,N,L){a.i&&a.j&&F!=a.j.j&&Go(a,F,!0,void 0===N?!1:N,void 0===L?0:L)});a.o.setMediaElement(e);a.o.setCmsdManager(a.aa);a.j=Ho(a);a.j.configure(a.g.streaming);a.l=Io;e.textTracks&&a.m.D(e.textTracks,"addtrack",function(F){if(F.track)switch(F=F.track,F.kind){case "chapters":Jo(a,F)}});a.dispatchEvent(fo("streaming"));h=c;(k=a.j.j)||h||(h=Ko(a,!0));l=[];m=k||h;n=t([m.video,m.audio]);for(p=n.next();!p.done;p=n.next())(q=
|
|
584
584
|
p.value)&&!q.segmentIndex&&l.push(q.createSegmentIndex());if(!(0<l.length)){H.u(2);break}return E(H,Promise.all(l),2);case 2:if(a.J&&a.J.onInitialVariantChosen)a.J.onInitialVariantChosen(m);Fo(a.i.presentationTimeline,a.g.playRangeStart,a.g.playRangeEnd);zl(a.j,a.g.playRangeStart,a.g.playRangeEnd);u=function(F){a.C=Lo(a,F);a.ib=Mo(a,F);No(a,e,Math.max(a.i.minBufferTime,a.g.streaming.rebufferingGoal))};a.g.streaming.startAtSegmentBoundary||u(a.fa);if(k){H.u(4);break}if(!a.g.streaming.startAtSegmentBoundary){H.u(5);
|
|
585
|
-
break}v=a.i.presentationTimeline;w=a.fa||a.h.currentTime;A=v.$b();z=v.vb();w<A?w=A:w>z&&(w=z);return E(H,Oo(h,w),6);case 6:B=H.h,u(B);case 5:Go(a,h,!0,!1,0);case 4:return a.C.Ke(),y=a.yc().find(function(F){return F.active}),y||((C=wf(a.i.textStreams,a.Wa,a.rd,a.od)[0]||null)&&$k(a.s.h,C,!0),h&&(C?(
|
|
586
|
-
|
|
585
|
+
break}v=a.i.presentationTimeline;w=a.fa||a.h.currentTime;A=v.$b();z=v.vb();w<A?w=A:w>z&&(w=z);return E(H,Oo(h,w),6);case 6:B=H.h,u(B);case 5:Go(a,h,!0,!1,0);case 4:return a.C.Ke(),y=a.yc().find(function(F){return F.active}),y||((C=wf(a.i.textStreams,a.Wa,a.rd,a.od)[0]||null)&&$k(a.s.h,C,!0),h&&(C?(Po(a,h.audio,C)&&(a.da=!0),a.da&&a.F.F.setTextVisibility(!0),Qo(a)):a.da=!1),C&&(a.g.streaming.alwaysStreamText||a.qf())&&Il(a.j,C)),E(H,a.j.start(d),7);case 7:a.g.abr.enabled&&(a.o.enable(),Ro(a));yo(a);
|
|
586
|
+
zo(a);a.i.variants.some(function(F){return F.primary});if((D=a.U())&&(a.g.streaming.liveSync||a.i.serviceDescription||a.g.streaming.liveSyncPanicMode)||a.g.streaming.vodDynamicPlaybackRate)K=function(){return So(a)},a.m.D(e,"timeupdate",K);D||(I=function(){return To(a)},a.m.D(e,"timeupdate",I),To(a),a.i.nextUrl&&(0<a.g.streaming.preloadNextUrlWindow&&(J=function(){var F,N;return O(function(L){if(1==L.g){F=a.h.duration-a.h.currentTime;if(isNaN(F)||!(F<=a.g.streaming.preloadNextUrlWindow))return L.u(0);
|
|
587
587
|
a.m.Hb(e,"timeupdate",J);N=a;return E(L,a.preload(a.i.nextUrl),4)}N.pa=L.h;G(L)})},a.m.D(e,"timeupdate",J)),a.m.D(e,"ended",function(){a.load(a.pa||a.i.nextUrl)})));if(a.B)a.B.onManifestUpdated(D);a.hb=!0;a.m.sa(e,"loadedmetadata",function(){a.s.m=Date.now()/1E3-b});G(H)}})}
|
|
588
588
|
function po(a,b){var c,d,e,f,g;return O(function(h){return 1==h.g?(c=Ud,d=Date.now()/1E3,e=!0,a.A=a.tc({Db:a.G,onError:function(k){ko(a,k)},re:function(){},onExpirationUpdated:function(){var k=fo("expirationupdated");a.dispatchEvent(k)},onEvent:function(k){a.dispatchEvent(k);"drmsessionupdate"==k.type&&e&&(e=!1,a.s.j=Date.now()/1E3-d)}}),a.A.configure(a.g.drm),f={id:0,language:"und",disabledUntilTime:0,primary:!1,audio:null,video:null,bandwidth:100,allowedByApplication:!0,allowedByKeySystem:!0,decodingInfos:[]},
|
|
589
589
|
g={id:0,originalId:null,groupId:null,createSegmentIndex:function(){return Promise.resolve()},segmentIndex:null,mimeType:b?ke(b):"",codecs:b?me(b):"",encrypted:!0,drmInfos:[],keyIds:new Set,language:"und",originalLanguage:null,label:null,type:c.ga,primary:!1,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],forced:!1,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,closedCaptions:null,accessibilityPurpose:null,external:!1,fastSwitching:!1,fullMimeTypes:new Set},g.fullMimeTypes.add(Wd(g.mimeType,
|
|
@@ -624,7 +624,7 @@ r.Nb=function(){if(this.i){if(!this.hb&&"HLS"==this.i.type)return{start:0,end:0}
|
|
|
624
624
|
r.hf=function(){return this.A?this.A.hf():[]};r.Yd=function(){return this.A?this.A.Yd():{}};r.pf=function(){return this.L?this.L.g==Tf:!1};r.$a=function(){return this.h?this.H?this.H.i:1:0};
|
|
625
625
|
r.Ed=function(a){var b=this;0==a?ab("A trick play rate of 0 is unsupported!"):(this.La.ob(),this.h.paused&&this.h.play(),this.H.set(a),this.l==Io&&(this.o.playbackRateChanged(a),Fl(this.j,1<Math.abs(a))),this.U()&&this.La.D(this.h,"timeupdate",function(){var c=b.h.currentTime,d=b.Nb(),e=b.g.streaming.safeSeekOffset;0<a?Math.floor(c)>=Math.floor(d.end)&&b.ad():Math.floor(c)<=Math.floor(d.start+e)&&b.ad()}))};
|
|
626
626
|
r.ad=function(){var a=this.H.Xb();this.l==Vo&&this.H.set(a);this.l==Io&&(this.H.set(a),this.o.playbackRateChanged(a),Fl(this.j,!1));this.La.ob()};
|
|
627
|
-
r.cc=function(){if(this.i){for(var a=this.j?this.j.j:null,b=[],c=0,d=t(this.i.variants),e=d.next();!e.done;e=d.next())if(e=e.value,uf(e)){var f=hf(e);f.active=e==a;f.active||1==c||null==a||e.video!=a.video||e.audio!=a.audio||(f.active=!0);f.active&&c++;b.push(f)}return b}return this.h&&this.h.audioTracks?Array.from(this.h.audioTracks).map(function(g){return
|
|
627
|
+
r.cc=function(){if(this.i){for(var a=this.j?this.j.j:null,b=[],c=0,d=t(this.i.variants),e=d.next();!e.done;e=d.next())if(e=e.value,uf(e)){var f=hf(e);f.active=e==a;f.active||1==c||null==a||e.video!=a.video||e.audio!=a.audio||(f.active=!0);f.active&&c++;b.push(f)}return b}return this.h&&this.h.audioTracks?Array.from(this.h.audioTracks).map(function(g){return pf(g)}):[]};
|
|
628
628
|
r.yc=function(){if(this.i){for(var a=this.j?this.j.s:null,b=[],c=t(this.i.textStreams),d=c.next();!d.done;d=c.next()){d=d.value;var e=jf(d);e.active=d==a;b.push(e)}return b}return this.h&&this.h.src&&this.h.textTracks?Xo(this).map(function(f){return nf(f)}):[]};r.Eh=function(){var a=this.vd;this.i&&(a=this.i.imageStreams);return a.map(function(b){return kf(b)})};
|
|
629
629
|
r.xh=function(a){var b=this,c,d,e,f;return O(function(g){if(1==g.g){if(b.l!=Io&&b.l!=Vo)return g.return(null);c=b.vd;b.i&&(c=b.i.imageStreams);return(d=c.find(function(h){return h.id==a}))?d.segmentIndex?g.u(2):E(g,d.createSegmentIndex(),2):g.return(null)}if(4!=g.g)return e=[],d.segmentIndex.vc(function(h){var k=cp(h.tilesLayout||d.tilesLayout);if(k){k=k.rows*k.Ub;for(var l=h.i-h.startTime,m=0;m<k;m++)e.push(b.xg(a,h.startTime+l*m/k))}}),E(g,Promise.all(e),4);f=g.h;return g.return(f.filter(function(h){return h}))})};
|
|
630
630
|
function cp(a){return a?(a=/(\d+)x(\d+)/.exec(a))?{Ub:parseInt(a[1],10),rows:parseInt(a[2],10)}:null:null}
|
|
@@ -673,8 +673,9 @@ d>f?b!=g&&a.Ed(g):h&&k&&c-d<h?b!=k&&a.Ed(k):b!==a.H.Xb()&&a.ad()}}function To(a)
|
|
|
673
673
|
function zo(a){try{oi(a.ee,a.i)}catch(c){return ko(a,c),!1}var b=vf(a.i.variants);b=a.Ka.create(b);a.o.setVariants(Array.from(b.values()));return!0}function Ko(a,b){b=void 0===b?!1:b;return zo(a)?a.o.chooseVariant(b):null}
|
|
674
674
|
function bo(a){function b(g){var h="";g.video&&(h+="video:"+g.video.id);g.audio&&(h=h+(h?"&":"")+("audio:"+g.audio.id));return h}for(var c=Date.now()/1E3,d=!1,e=t(a.i.variants),f=e.next();!f.done;f=e.next())f=f.value,0<f.disabledUntilTime&&f.disabledUntilTime<=c&&(f.disabledUntilTime=0,d=!0,fb("Re-enabled variant with "+b(f)));a.i.variants.every(function(g){return 0===g.disabledUntilTime})&&a.oe.stop();d&&Ao(a,!1,void 0,!1,!1)}
|
|
675
675
|
function Ao(a,b,c,d,e){b=void 0===b?!0:b;c=void 0===c?0:c;d=void 0===d?!1:d;e=void 0===e?!0:e;var f=Ko(a);f&&Go(a,f,e,b,c,d)}function Go(a,b,c,d,e,f){f=void 0===f?!1:f;var g=a.j.j;if(b==g)d&&Hl(a.j,b,d,e,!0);else{var h=a.s.h;h.h!=b&&(h.h=b,h.g.push({timestamp:Date.now()/1E3,id:b.id,type:"variant",fromAdaptation:c,bandwidth:b.bandwidth}));Hl(a.j,b,d,e,f,c);d=null;g&&(d=hf(g));b=hf(b);c?(c=(new Map).set("oldTrack",d).set("newTrack",b),a.K&&Dj(a.K,b,a.kf()),c=fo("adaptation",c),mp(a,c)):np(a,d,b)}}
|
|
676
|
-
function ep(a,b){var c=Array.from(a.h.audioTracks).find(function(d){return d.enabled});b.enabled=!0;c&&(b.id!==c.id&&(c.enabled=!1),c=
|
|
677
|
-
function np(a,b,c){b=(new Map).set("oldTrack",b).set("newTrack",c);a.K&&Dj(a.K,c,a.kf());c=fo("variantchanged",b);mp(a,c)}function dp(a){var b=fo("textchanged");mp(a,b)}function Qo(a){var b=fo("texttrackvisibility");mp(a,b)}function Ro(a){a.g.abr.enabled||ao(a);var b=(new Map).set("newStatus",a.g.abr.enabled);mp(a,fo("abrstatuschanged",b))}
|
|
676
|
+
function ep(a,b){var c=Array.from(a.h.audioTracks).find(function(d){return d.enabled});b.enabled=!0;c&&(b.id!==c.id&&(c.enabled=!1),c=pf(c),b=pf(b),np(a,c,b))}function Po(a,b,c){if(0==a.g.autoShowText)return!1;if(1==a.g.autoShowText)return!0;var d=Be(a.g.preferredTextLanguage);c=Be(c.language);if(2==a.g.autoShowText)return Ae(c,d);if(3==a.g.autoShowText){if(!b)return!1;a=Be(b.language);return Ae(c,d)&&!Ae(a,c)}ab("Invalid autoShowText setting!");return!1}
|
|
677
|
+
function yo(a){var b=fo("trackschanged");mp(a,b)}function np(a,b,c){b=(new Map).set("oldTrack",b).set("newTrack",c);a.K&&Dj(a.K,c,a.kf());c=fo("variantchanged",b);mp(a,c)}function dp(a){var b=fo("textchanged");mp(a,b)}function Qo(a){var b=fo("texttrackvisibility");mp(a,b)}function Ro(a){a.g.abr.enabled||ao(a);var b=(new Map).set("newStatus",a.g.abr.enabled);mp(a,fo("abrstatuschanged",b))}
|
|
678
|
+
function ao(a,b){b=void 0===b?!0:b;if(a.l==Io){a.oe.stop();for(var c=t(a.i.variants),d=c.next();!d.done;d=c.next())d.value.disabledUntilTime=0;b&&zo(a)}}
|
|
678
679
|
r.Xd=function(a,b){if(!this.g.abr.enabled||this.l===go||!navigator.onLine)return!1;if(this.i.variants.some(function(f){return(f=f[a.type])&&f.id!==a.id?"audio"==a.type?a.language===f.language:!0:!1})){for(var c=t(this.i.variants),d=c.next();!d.done;d=c.next()){d=d.value;var e=d[a.type];e&&e.id===a.id&&(d.disabledUntilTime=Date.now()/1E3+b)}this.oe.Ua(1);b=this.ub().video.reduce(function(f,g){return f+g.end-g.start},0);Ao(this,!1,b,!0,!1);return!0}return!1};
|
|
679
680
|
function ko(a,b){var c,d,e;return O(function(f){switch(f.g){case 1:if(a.l==go)return f.return();c=!0;if(!(a.hb&&a.i&&a.j)||3016!=b.code&&3014!=b.code&&3015!=b.code&&3018!=b.code){f.u(2);break}ta(f,3);return E(f,am(a.j),5);case 5:d=f.h;c=!d;wa(f,2);break;case 3:xa(f),c=!0;case 2:if(!c)return f.return();2===b.severity&&ao(a,!1);e=fo("error",(new Map).set("detail",b));a.dispatchEvent(e);e.defaultPrevented&&(b.handled=!0);G(f)}})}
|
|
680
681
|
function xo(a,b,c,d){d=void 0===d?a:d;a=(new Map).set("detail",{schemeIdUri:c.schemeIdUri,value:c.value,startTime:c.startTime,endTime:c.endTime,id:c.id,eventElement:c.eventElement,eventNode:c.eventNode});d.dispatchEvent(fo(b,a))}function jo(a){if(!a.h.error)return null;var b=a.h.error.code;if(1==b)return null;var c=a.h.error.msExtendedCode;c&&(0>c&&(c+=Math.pow(2,32)),c=c.toString(16));return new T(2,3,3016,b,c,a.h.error.message)}
|
|
@@ -689,14 +690,14 @@ X.prototype.getConfiguration=X.prototype.getConfiguration;X.prototype.configure=
|
|
|
689
690
|
X.probeSupport=function(a){a=void 0===a?!0:a;var b,c,d,e,f,g,h;return O(function(k){switch(k.g){case 1:b={};if(!a){k.u(2);break}return E(k,hi(),3);case 3:b=k.h;case 2:var l={};if(Uc())for(var m in si)l[m]=!0;m=t(["application/dash+xml","application/x-mpegurl","application/vnd.apple.mpegurl","application/vnd.ms-sstr+xml"]);for(var n=m.next();!n.done;n=m.next())n=n.value,l[n]=Uc()?!!si[n]:Vc(n);c=l;m='video/mp4; codecs="avc1.42E01E",video/mp4; codecs="avc3.42E01E",video/mp4; codecs="hev1.1.6.L93.90",video/mp4; codecs="hvc1.1.6.L93.90",video/mp4; codecs="hev1.2.4.L153.B0"; eotf="smpte2084",video/mp4; codecs="hvc1.2.4.L153.B0"; eotf="smpte2084",video/mp4; codecs="vp9",video/mp4; codecs="vp09.00.10.08",video/mp4; codecs="av01.0.01M.08",video/mp4; codecs="dvh1.20.01",audio/mp4; codecs="mp4a.40.2",audio/mp4; codecs="ac-3",audio/mp4; codecs="ec-3",audio/mp4; codecs="ac-4.02.01.01",audio/mp4; codecs="opus",audio/mp4; codecs="flac",audio/mp4; codecs="dtsc",audio/mp4; codecs="dtse",audio/mp4; codecs="dtsx",video/webm; codecs="vp8",video/webm; codecs="vp9",video/webm; codecs="vp09.00.10.08",audio/webm; codecs="vorbis",audio/webm; codecs="opus",video/mp2t; codecs="avc1.42E01E",video/mp2t; codecs="avc3.42E01E",video/mp2t; codecs="hvc1.1.6.L93.90",video/mp2t; codecs="mp4a.40.2",video/mp2t; codecs="ac-3",video/mp2t; codecs="ec-3",text/vtt,application/mp4; codecs="wvtt",application/ttml+xml,application/mp4; codecs="stpp"'.split(",").concat(x(Xd));
|
|
690
691
|
l={};m=t(m);for(n=m.next();!n.done;n=m.next()){n=n.value;l[n]=pe(n)?!0:Uc()?mb(n)||(mc(n)?!0:!1):Vc(n);var p=n.split(";")[0];l[p]=l[p]||l[n]}d=l;return E(k,qd(),4);case 4:e=k.h;f={manifest:c,media:d,drm:b,hardwareResolution:e};g=op;for(h in g)f[h]=g[h]();return k.return(f)}})};
|
|
691
692
|
X.isBrowserSupported=function(){window.Promise||ab("A Promise implementation or polyfill is required");if(!(window.Promise&&window.Uint8Array&&Array.prototype.forEach)||Zc("Trident/"))return!1;var a=ld();return a&&9>a||!(window.MediaKeys&&window.navigator&&window.navigator.requestMediaKeySystemAccess&&window.MediaKeySystemAccess&&window.MediaKeySystemAccess.prototype.getConfiguration)?!1:Uc()?!0:Vc("application/x-mpegurl")};X.setAdManagerFactory=function(a){$n=a};
|
|
692
|
-
X.registerSupportPlugin=function(a,b){op[a]=b};X.prototype.destroy=X.prototype.destroy;var go=0,Wn=1,Io=2,Vo=3;X.LoadMode={DESTROYED:go,NOT_LOADED:Wn,MEDIA_SOURCE:Io,SRC_EQUALS:Vo};X.version="v4.9.
|
|
693
|
+
X.registerSupportPlugin=function(a,b){op[a]=b};X.prototype.destroy=X.prototype.destroy;var go=0,Wn=1,Io=2,Vo=3;X.LoadMode={DESTROYED:go,NOT_LOADED:Wn,MEDIA_SOURCE:Io,SRC_EQUALS:Vo};X.version="v4.9.14";var pp=["4","9"];sb=new function(a){this.g=a;this.i=tb;this.h=ub}(new qb(Number(pp[0]),Number(pp[1])));var op={},$n=null;function qp(){this.h=[];this.j=this.i=this.g=0};function rp(a,b,c){var d=this;this.g=a;this.h=b;this.j=c;this.i=!1;this.l=this.h.getVolume();this.m=new hb;this.m.D(this.h,google.ima.AdEvent.Type.PAUSED,function(){d.i=!0});this.m.D(this.h,google.ima.AdEvent.Type.RESUMED,function(){d.i=!1})}r=rp.prototype;r.getDuration=function(){return this.g.getDuration()};r.getMinSuggestedDuration=function(){return this.g.getMinSuggestedDuration()};r.getRemainingTime=function(){return this.h.getRemainingTime()};r.isPaused=function(){return this.i};
|
|
693
694
|
r.isSkippable=function(){return 0<=this.g.getSkipTimeOffset()};r.getTimeUntilSkippable=function(){var a=this.g.getSkipTimeOffset();a=this.getRemainingTime()-a;return Math.max(a,0)};r.canSkipNow=function(){return this.h.getAdSkippableState()};r.skip=function(){return this.h.skip()};r.pause=function(){return this.h.pause()};r.play=function(){return this.h.resume()};r.getVolume=function(){return this.h.getVolume()};r.setVolume=function(a){this.j.volume=a;return this.h.setVolume(a)};
|
|
694
695
|
r.isMuted=function(){return 0==this.h.getVolume()};r.isLinear=function(){return this.g.isLinear()};r.resize=function(a,b){var c=!1,d=this.j;document.fullscreenEnabled?c=!!document.fullscreenElement:d.webkitSupportsFullscreen&&(c=d.webkitDisplayingFullscreen);this.h.resize(a,b,c?google.ima.ViewMode.FULLSCREEN:google.ima.ViewMode.NORMAL)};r.setMuted=function(a){(this.j.muted=a)?(this.l=this.getVolume(),this.h.setVolume(0)):this.h.setVolume(this.l)};
|
|
695
696
|
r.getSequenceLength=function(){var a=this.g.getAdPodInfo();return null==a?1:a.getTotalAds()};r.getPositionInSequence=function(){var a=this.g.getAdPodInfo();return null==a?1:a.getAdPosition()};r.getTitle=function(){return this.g.getTitle()};r.getDescription=function(){return this.g.getDescription()};r.getVastMediaBitrate=function(){return this.g.getVastMediaBitrate()};r.getVastMediaHeight=function(){return this.g.getVastMediaHeight()};r.getVastMediaWidth=function(){return this.g.getVastMediaWidth()};
|
|
696
697
|
r.getAdId=function(){return this.g.getAdId()};r.getCreativeAdId=function(){return this.g.getCreativeAdId()};r.getAdvertiserName=function(){return this.g.getAdvertiserName()};r.getMediaUrl=function(){return this.g.getMediaUrl()};r.getTimeOffset=function(){var a=this.g.getAdPodInfo();return null==a?0:a.getTimeOffset()};r.getPodIndex=function(){var a=this.g.getAdPodInfo();return null==a?0:a.getPodIndex()};r.release=function(){this.h=this.g=null};S("shaka.ads.ClientSideAd",rp);rp.prototype.release=rp.prototype.release;
|
|
697
698
|
rp.prototype.getPodIndex=rp.prototype.getPodIndex;rp.prototype.getTimeOffset=rp.prototype.getTimeOffset;rp.prototype.getMediaUrl=rp.prototype.getMediaUrl;rp.prototype.getAdvertiserName=rp.prototype.getAdvertiserName;rp.prototype.getCreativeAdId=rp.prototype.getCreativeAdId;rp.prototype.getAdId=rp.prototype.getAdId;rp.prototype.getVastMediaWidth=rp.prototype.getVastMediaWidth;rp.prototype.getVastMediaHeight=rp.prototype.getVastMediaHeight;rp.prototype.getVastMediaBitrate=rp.prototype.getVastMediaBitrate;
|
|
698
699
|
rp.prototype.getDescription=rp.prototype.getDescription;rp.prototype.getTitle=rp.prototype.getTitle;rp.prototype.getPositionInSequence=rp.prototype.getPositionInSequence;rp.prototype.getSequenceLength=rp.prototype.getSequenceLength;rp.prototype.setMuted=rp.prototype.setMuted;rp.prototype.resize=rp.prototype.resize;rp.prototype.isLinear=rp.prototype.isLinear;rp.prototype.isMuted=rp.prototype.isMuted;rp.prototype.setVolume=rp.prototype.setVolume;rp.prototype.getVolume=rp.prototype.getVolume;
|
|
699
|
-
rp.prototype.play=rp.prototype.play;rp.prototype.pause=rp.prototype.pause;rp.prototype.skip=rp.prototype.skip;rp.prototype.canSkipNow=rp.prototype.canSkipNow;rp.prototype.getTimeUntilSkippable=rp.prototype.getTimeUntilSkippable;rp.prototype.isSkippable=rp.prototype.isSkippable;rp.prototype.isPaused=rp.prototype.isPaused;rp.prototype.getRemainingTime=rp.prototype.getRemainingTime;rp.prototype.getMinSuggestedDuration=rp.prototype.getMinSuggestedDuration;rp.prototype.getDuration=rp.prototype.getDuration;function sp(a,b,c,d,e){var f=this;this.o=a;this.i=b;this.F=!1;this.A=this.s=null;this.G=NaN;this.m=e;this.j=null;this.h=new hb;google.ima.settings.setLocale(c);google.ima.settings.setDisableCustomPlaybackForIOS10Plus(!0);this.C=new google.ima.AdDisplayContainer(this.o,this.i);this.C.initialize();this.l=new google.ima.AdsLoader(this.C);this.l.getSettings().setPlayerType("shaka-player");this.l.getSettings().setPlayerVersion("v4.9.
|
|
700
|
+
rp.prototype.play=rp.prototype.play;rp.prototype.pause=rp.prototype.pause;rp.prototype.skip=rp.prototype.skip;rp.prototype.canSkipNow=rp.prototype.canSkipNow;rp.prototype.getTimeUntilSkippable=rp.prototype.getTimeUntilSkippable;rp.prototype.isSkippable=rp.prototype.isSkippable;rp.prototype.isPaused=rp.prototype.isPaused;rp.prototype.getRemainingTime=rp.prototype.getRemainingTime;rp.prototype.getMinSuggestedDuration=rp.prototype.getMinSuggestedDuration;rp.prototype.getDuration=rp.prototype.getDuration;function sp(a,b,c,d,e){var f=this;this.o=a;this.i=b;this.F=!1;this.A=this.s=null;this.G=NaN;this.m=e;this.j=null;this.h=new hb;google.ima.settings.setLocale(c);google.ima.settings.setDisableCustomPlaybackForIOS10Plus(!0);this.C=new google.ima.AdDisplayContainer(this.o,this.i);this.C.initialize();this.l=new google.ima.AdsLoader(this.C);this.l.getSettings().setPlayerType("shaka-player");this.l.getSettings().setPlayerVersion("v4.9.14");this.g=null;this.B=d||new google.ima.AdsRenderingSettings;this.h.D(this.l,
|
|
700
701
|
google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,function(g){tp(f,g)});this.h.D(this.l,google.ima.AdErrorEvent.Type.AD_ERROR,function(g){up(f,g)});this.h.D(this.i,"ended",function(){f.l.contentComplete()});this.h.sa(this.i,"play",function(){f.F=!0})}sp.prototype.configure=function(a){this.s=a};sp.prototype.stop=function(){this.g&&this.g.stop();this.o&&jn(this.o)};
|
|
701
702
|
sp.prototype.release=function(){this.stop();this.A&&this.A.disconnect();this.h&&this.h.release();this.g&&this.g.destroy();this.l.destroy();this.C.destroy()};function up(a,b){b.getError();b=(new Map).set("originalEvent",b);a.m(new U("ad-error",b));vp(a,null);a.m(new U("ad-cue-points-changed",(new Map).set("cuepoints",[])))}
|
|
702
703
|
function tp(a,b){a.m(new U("ads-loaded",(new Map).set("loadTime",Date.now()/1E3-a.G)));if(a.s.customPlayheadTracker){var c={currentTime:a.i.currentTime};a.g=b.getAdsManager(c,a.B);a.i.muted?a.g.setVolume(0):a.g.setVolume(a.i.volume);a.h.D(a.i,"timeupdate",function(){a.i.duration&&(c.currentTime=a.i.currentTime)});a.h.D(a.i,"volumechange",function(){a.j&&(a.j.setVolume(a.i.volume),a.i.muted&&a.j.setMuted(!0))})}else a.g=b.getAdsManager(a.i,a.B);a.m(new U("ima-ad-manager-loaded",(new Map).set("imaAdManager",
|
|
@@ -748,8 +749,8 @@ function Sp(a,b){a.i(new U("ads-loaded",(new Map).set("loadTime",Date.now()/1E3-
|
|
|
748
749
|
r.release=function(){this.i&&(this.i.release(),this.i=null);this.h&&(this.h.release(),this.h=null);this.g&&(this.g.release(),this.g=null);hg.prototype.release.call(this)};r.onAssetUnload=function(){this.i&&this.i.stop();this.h&&this.h.stop();this.g&&this.g.stop();this.dispatchEvent(new U("ad-stopped"));this.j=new qp};r.requestClientSideAds=function(a){if(!this.i)throw new T(1,10,10001);var b=this.i;b.g&&b.g.destroy();b.l&&b.l.contentComplete();b.G=Date.now()/1E3;b.l.requestAds(a)};
|
|
749
750
|
r.updateClientSideAdsRenderingSettings=function(a){if(!this.i)throw new T(1,10,10001);var b=this.i;b.B=a;b.g&&b.g.updateAdsRenderingSettings(b.B)};r.initMediaTailor=function(a,b,c){var d=this;this.h&&this.h.release();this.h=new Fp(a,b,c,function(e){return Tp(d,e)})};r.requestMediaTailorStream=function(a,b,c){if(!this.h)throw new T(1,10,10005);var d=this.h;c=void 0===c?"":c;d.l?a=Promise.reject(new T(1,10,10004)):(d.l=new Yf,Ip(d,a,b),d.H=c||"",d.W=Date.now()/1E3,a=d.l);return a};
|
|
750
751
|
r.addMediaTailorTrackingUrl=function(a){if(!this.h)throw new T(1,10,10005);var b=this.h;b.G=a;b.i(new U("ads-loaded",(new Map).set("loadTime",0)))};r.initServerSide=function(a,b){var c=this;if(!window.google||!google.ima||!google.ima.dai)throw new T(2,10,10002);this.g&&this.g.release();this.g=new Rp(a,b,this.m,function(d){return Tp(c,d)});this.g.configure(this.l)};
|
|
751
|
-
r.requestServerSideStream=function(a,b){b=void 0===b?"":b;if(!this.g)throw new T(1,10,10003);a.adTagParameters||(a.adTagParameters={});var c=a.adTagParameters;(c.mpt||c.mpv)&&ab('You have attempted to set "mpt" and/or "mpv" parameters of the ad tag. Please note that those parameters are used for Shaka adoption tracking and will be overriden.');a.adTagParameters.mpt="shaka-player";a.adTagParameters.mpv="v4.9.
|
|
752
|
-
(c.G=!0),c.j=new Yf,c.g.requestStream(a),c.B=b||"",c.F=Date.now()/1E3,a=c.j);return a};r.replaceServerSideAdTagParameters=function(a){if(!this.g)throw new T(1,10,10003);(a.mpt||a.mpv)&&ab('You have attempted to set "mpt" and/or "mpv" parameters of the ad tag. Please note that those parameters are used for Shaka adoption tracking and will be overriden.');a.mpt="Shaka Player";a.mpv="v4.9.
|
|
752
|
+
r.requestServerSideStream=function(a,b){b=void 0===b?"":b;if(!this.g)throw new T(1,10,10003);a.adTagParameters||(a.adTagParameters={});var c=a.adTagParameters;(c.mpt||c.mpv)&&ab('You have attempted to set "mpt" and/or "mpv" parameters of the ad tag. Please note that those parameters are used for Shaka adoption tracking and will be overriden.');a.adTagParameters.mpt="shaka-player";a.adTagParameters.mpv="v4.9.14";c=this.g;c.j?a=Promise.reject(new T(1,10,10004)):(a instanceof google.ima.dai.api.LiveStreamRequest&&
|
|
753
|
+
(c.G=!0),c.j=new Yf,c.g.requestStream(a),c.B=b||"",c.F=Date.now()/1E3,a=c.j);return a};r.replaceServerSideAdTagParameters=function(a){if(!this.g)throw new T(1,10,10003);(a.mpt||a.mpv)&&ab('You have attempted to set "mpt" and/or "mpv" parameters of the ad tag. Please note that those parameters are used for Shaka adoption tracking and will be overriden.');a.mpt="Shaka Player";a.mpv="v4.9.14";this.g.g.replaceAdTagParameters(a)};
|
|
753
754
|
r.getServerSideCuePoints=function(){rb("AdManager.getServerSideCuePoints","Please use getCuePoints function.");return this.getCuePoints()};r.getCuePoints=function(){var a=[];this.g&&(a=a.concat(this.g.getCuePoints()));this.h&&(a=a.concat(this.h.getCuePoints()));return a};r.getStats=function(){var a=this.j;return{loadTimes:a.h,started:a.g,playedCompletely:a.i,skipped:a.j}};r.onManifestUpdated=function(a){if(this.h)this.h.onManifestUpdated(a)};
|
|
754
755
|
r.onDashTimedMetadata=function(a){this.g&&"urn:google:dai:2018"==a.schemeIdUri&&this.g.g.processMetadata(a.schemeIdUri,a.eventNode?a.eventNode.attributes.messageData:null,a.startTime)};r.onHlsTimedMetadata=function(a,b){this.g&&this.g.g.processMetadata("ID3",a.data,b)};r.onCueMetadataChange=function(a){if(this.g)this.g.onCueMetadataChange(a)};
|
|
755
756
|
function Tp(a,b){if(b&&b.type)switch(b.type){case "ads-loaded":a.j.h.push(b.loadTime);break;case "ad-started":a.j.g++;break;case "ad-complete":a.j.i++;break;case "ad-skipped":a.j.j++}a.dispatchEvent(b)}S("shaka.ads.AdManager",Y);Y.prototype.onCueMetadataChange=Y.prototype.onCueMetadataChange;Y.prototype.onHlsTimedMetadata=Y.prototype.onHlsTimedMetadata;Y.prototype.onDashTimedMetadata=Y.prototype.onDashTimedMetadata;Y.prototype.onManifestUpdated=Y.prototype.onManifestUpdated;Y.prototype.getStats=Y.prototype.getStats;
|
|
@@ -1360,13 +1361,13 @@ P=!0;break;case 19:case 20:case 21:L=ka=P=!0;break;case 32:ka=!0;break;case 33:k
|
|
|
1360
1361
|
(l.push(n),n=null)}if("audio"==e){switch(m.audio){case "aac":for(var Za=[],za,Va=null,pb=t(k.Lb()),Pc=pb.next();!Pc.done;Pc=pb.next()){var ee=Pc.value,rd=ee.data;if(rd){var Hc=0;za=BC(rd,Hc);if(!za)throw new T(2,3,3018,c?c.M()[0]:null);b.audioSamplingRate=za.sampleRate;b.channelsCount=za.channelCount;null==Va&&null!==ee.pts&&(Va=ee.pts);for(;Hc<rd.length;){var fe=AC(rd,Hc);if(fe){var ge=fe.ce+fe.Y;Hc+ge<=rd.length&&Za.push({data:rd.subarray(Hc+fe.ce,Hc+ge),size:fe.Y,duration:1024,Za:0,flags:{bb:0,
|
|
1361
1362
|
Pa:0,Oa:0,Ma:0,Na:2,cb:0}});Hc+=ge}else Hc++}}}if(!za||null==Va){if(!k.zc().length)throw new T(2,3,3018,c?c.M()[0]:null);Va=9E4*c.startTime;var he=Qd("audio",b.codecs.split(","));if(!he||!b.channelsCount||!b.audioSamplingRate)throw new T(2,3,3018,c?c.M()[0]:null);za={sampleRate:b.audioSamplingRate,channelCount:b.channelsCount,Ga:he};var sd=DC(he,b.channelsCount);if(!sd)throw new T(2,3,3018,c?c.M()[0]:null);for(var Bi=Va+9E4*(c.endTime-c.startTime),xg=Va;xg<Bi;)Za.push({data:sd,size:sd.byteLength,
|
|
1362
1363
|
duration:1024,Za:0,flags:{bb:0,Pa:0,Oa:0,Ma:0,Na:2,cb:0}}),xg+=1024/za.sampleRate*9E4}var Ci=za.sampleRate,Di=Va/9E4*Ci;n={id:b.id,type:"audio",codecs:za.Ga,encrypted:b.encrypted&&0<b.drmInfos.length,timescale:Ci,duration:d,Va:[],ia:new Uint8Array([]),ua:new Uint8Array([]),ya:0,za:0,data:{pb:this.g,baseMediaDecodeTime:Di,Sa:Za},stream:b};break;case "ac3":for(var yg=[],ie=0,hc=new Uint8Array([]),mj=null,wu=t(k.Lb()),Im=wu.next();!Im.done;Im=wu.next()){var Jm=Im.value,Km=Jm.data;null==mj&&null!==Jm.pts&&
|
|
1363
|
-
(mj=Jm.pts);for(var
|
|
1364
|
-
ya:0,za:0,data:{pb:this.g,baseMediaDecodeTime:wD,Sa:yg},stream:b};break;case "ec3":for(var xu=[],nj=0,Lm=new Uint8Array([]),oj=null,yu=t(k.Lb()),Mm=yu.next();!Mm.done;Mm=yu.next()){var Nm=Mm.value,Om=Nm.data;null==oj&&null!==Nm.pts&&(oj=Nm.pts);for(var
|
|
1365
|
-
|
|
1366
|
-
le);
|
|
1364
|
+
(mj=Jm.pts);for(var qf=0;qf<Km.length;){var Id=FC(Km,qf);Id?(b.audioSamplingRate=Id.sampleRate,b.channelsCount=Id.channelCount,ie=Id.sampleRate,hc=Id.ia,yg.push({data:Km.subarray(qf,qf+Id.Y),size:Id.Y,duration:1536,Za:0,flags:{bb:0,Pa:0,Oa:0,Ma:0,Na:2,cb:0}}),qf+=Id.Y):qf++}}if(0==ie||0==hc.byteLength||null==mj)throw new T(2,3,3018,c?c.M()[0]:null);var wD=mj/9E4*ie;n={id:b.id,type:"audio",codecs:"ac-3",encrypted:b.encrypted&&0<b.drmInfos.length,timescale:ie,duration:d,Va:[],ia:hc,ua:new Uint8Array([]),
|
|
1365
|
+
ya:0,za:0,data:{pb:this.g,baseMediaDecodeTime:wD,Sa:yg},stream:b};break;case "ec3":for(var xu=[],nj=0,Lm=new Uint8Array([]),oj=null,yu=t(k.Lb()),Mm=yu.next();!Mm.done;Mm=yu.next()){var Nm=Mm.value,Om=Nm.data;null==oj&&null!==Nm.pts&&(oj=Nm.pts);for(var rf=0;rf<Om.length;){var Jd=IC(Om,rf);Jd?(b.audioSamplingRate=Jd.sampleRate,b.channelsCount=Jd.channelCount,nj=Jd.sampleRate,Lm=Jd.ia,xu.push({data:Om.subarray(rf,rf+Jd.Y),size:Jd.Y,duration:1536,Za:0,flags:{bb:0,Pa:0,Oa:0,Ma:0,Na:2,cb:0}}),rf+=Jd.Y):
|
|
1366
|
+
rf++}}if(0==nj||0==Lm.byteLength||null==oj)throw new T(2,3,3018,c?c.M()[0]:null);var xD=oj/9E4*nj;n={id:b.id,type:"audio",codecs:"ec-3",encrypted:b.encrypted&&0<b.drmInfos.length,timescale:nj,duration:d,Va:[],ia:Lm,ua:new Uint8Array([]),ya:0,za:0,data:{pb:this.g,baseMediaDecodeTime:xD,Sa:xu},stream:b};break;case "mp3":for(var zu=[],pj,qj=null,Au=t(k.Lb()),Pm=Au.next();!Pm.done;Pm=Au.next()){var Qm=Pm.value,Lg=Qm.data;if(Lg){null==qj&&null!==Qm.pts&&(qj=Qm.pts);for(var le=0;le<Lg.length;){var sf=SC(Lg,
|
|
1367
|
+
le);sf?(pj||(pj=sf),le+sf.Y<=Lg.length&&zu.push({data:Lg.subarray(le,le+sf.Y),size:sf.Y,duration:1152,Za:0,flags:{bb:0,Pa:0,Oa:0,Ma:0,Na:2,cb:0}}),le+=sf.Y):le++}}}if(!pj||null==qj)throw new T(2,3,3018,c?c.M()[0]:null);var Bu=pj.sampleRate,yD=qj/9E4*Bu;n={id:b.id,type:"audio",codecs:"mp3",encrypted:b.encrypted&&0<b.drmInfos.length,timescale:Bu,duration:d,Va:[],ia:new Uint8Array([]),ua:new Uint8Array([]),ya:0,za:0,data:{pb:this.g,baseMediaDecodeTime:yD,Sa:zu},stream:b};break;case "opus":var Cu=[],
|
|
1367
1368
|
rj=null,Rc=k.F;if(!Rc)throw new T(2,3,3018,c?c.M()[0]:null);var yb=[];switch(Rc.rh){case 1:case 2:yb=[0];break;case 0:yb=[255,1,1,0,1];break;case 128:yb=[255,2,0,0,1];break;case 3:yb=[1,2,1,0,2,1];break;case 4:yb=[1,2,2,0,1,2,3];break;case 5:yb=[1,3,2,0,4,1,2,3];break;case 6:yb=[1,4,2,0,4,1,2,3,5];break;case 7:yb=[1,4,2,0,4,1,2,3,5,6];break;case 8:yb=[1,5,3,0,6,1,2,3,4,5,7];break;case 130:yb=[1,1,2,0,1];break;case 131:yb=[1,1,3,0,1,2];break;case 132:yb=[1,1,4,0,1,2,3];break;case 133:yb=[1,1,5,0,1,
|
|
1368
|
-
2,3,4];break;case 134:yb=[1,1,6,0,1,2,3,4,5];break;case 135:yb=[1,1,7,0,1,2,3,4,5,6];break;case 136:yb=[1,1,8,0,1,2,3,4,5,6,7]}var Du=new Uint8Array([0,Rc.channelCount,0,0,Rc.sampleRate>>>24&255,Rc.sampleRate>>>17&255,Rc.sampleRate>>>8&255,Rc.sampleRate>>>0&255,0,0].concat(x(yb)));for(var Eu=Rc.sampleRate,Fu=t(k.Lb()),Rm=Fu.next();!Rm.done;Rm=Fu.next()){var Sm=Rm.value,
|
|
1369
|
-
2,sj=0;255===
|
|
1369
|
+
2,3,4];break;case 134:yb=[1,1,6,0,1,2,3,4,5];break;case 135:yb=[1,1,7,0,1,2,3,4,5,6];break;case 136:yb=[1,1,8,0,1,2,3,4,5,6,7]}var Du=new Uint8Array([0,Rc.channelCount,0,0,Rc.sampleRate>>>24&255,Rc.sampleRate>>>17&255,Rc.sampleRate>>>8&255,Rc.sampleRate>>>0&255,0,0].concat(x(yb)));for(var Eu=Rc.sampleRate,Fu=t(k.Lb()),Rm=Fu.next();!Rm.done;Rm=Fu.next()){var Sm=Rm.value,tf=Sm.data;null==rj&&null!==Sm.pts&&(rj=Sm.pts);for(var Mg=0;Mg<tf.length;){for(var zD=0!==(tf[Mg+1]&16),AD=0!==(tf[Mg+1]&8),ud=Mg+
|
|
1370
|
+
2,sj=0;255===tf[ud];)sj+=255,ud+=1;sj+=tf[ud];ud+=1;ud+=zD?2:0;ud+=AD?2:0;var Gu=tf.slice(ud,ud+sj);Cu.push({data:Gu,size:Gu.byteLength,duration:960,Za:0,flags:{bb:0,Pa:0,Oa:0,Ma:0,Na:2,cb:0}});Mg=ud+sj}}if(0==Du.byteLength||null==rj)throw new T(2,3,3018,c?c.M()[0]:null);b.audioSamplingRate=Rc.sampleRate;b.channelsCount=Rc.channelCount;var BD=rj/9E4*Eu;n={id:b.id,type:"audio",codecs:"opus",encrypted:b.encrypted&&0<b.drmInfos.length,timescale:Eu,duration:d,Va:[],ia:Du,ua:new Uint8Array([]),ya:0,za:0,
|
|
1370
1371
|
data:{pb:this.g,baseMediaDecodeTime:BD,Sa:Cu},stream:b}}n&&(l.push(n),n=null)}}catch(Tm){return Tm&&3023==Tm.code?Promise.resolve(new Uint8Array([])):Promise.reject(Tm)}if(!l.length)return Promise.reject(new T(2,3,3018,c?c.M()[0]:null));var Hu=new Rw(l);if(this.i.has(b.id))var Um=this.i.get(b.id);else Um=Xw(Hu),this.i.set(b.id,Um);var CD=nx(Hu);this.g++;var DD=Ld(Um,CD);return Promise.resolve(DD)};S("shaka.transmuxer.TsTransmuxer",eD);eD.prototype.transmux=eD.prototype.transmux;
|
|
1371
1372
|
eD.prototype.getOriginalMimeType=eD.prototype.getOriginalMimeType;eD.prototype.convertCodecs=eD.prototype.convertCodecs;eD.prototype.isSupported=eD.prototype.isSupported;eD.prototype.destroy=eD.prototype.destroy;var fD=["aac","ac-3","ec-3","mp3","opus"],gD=["avc","hevc"];kc("video/mp2t",function(){return new eD("video/mp2t")},oc);/*
|
|
1372
1373
|
@license
|