@hippovideo/video-sdk 0.0.0-experimental-2b75fc2c2018-20250613 → 0.0.0-experimental-dfd7580a5e35-20250617

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.
Files changed (20) hide show
  1. package/app/{344-bundle-hippo-2ghujgupj7d-1c3143eaa24925329f19.js → 484-bundle-hippo-d6lcepuzfrf-a880c48ec40f3893dc58.js} +1 -1
  2. package/app/577-bundle-hippo-d6lcepuzfrf-2526748f24aa2a976b43.js +2 -0
  3. package/app/577-bundle-hippo-d6lcepuzfrf-2526748f24aa2a976b43.js.LICENSE.txt +19 -0
  4. package/app/585-bundle-hippo-d6lcepuzfrf-ea0973697ca9c4ce1327.js +1 -0
  5. package/app/777-bundle-hippo-d6lcepuzfrf-f686806c6dc230e947aa.js +847 -0
  6. package/app/812-bundle-hippo-d6lcepuzfrf-fb6d883259a84fd3cd0d.js +1 -0
  7. package/app/956-bundle-hippo-d6lcepuzfrf-ee108b308501f294b12b.js +2 -0
  8. package/app/{245-bundle-hippo-2ghujgupj7d-4643c7e67eb0e95bf811.js.LICENSE.txt → 956-bundle-hippo-d6lcepuzfrf-ee108b308501f294b12b.js.LICENSE.txt} +28 -28
  9. package/app/hv_recorder.css +6 -1
  10. package/app/hv_recorder.js +12388 -1
  11. package/app/hv_recorder.js.LICENSE.txt +19 -12
  12. package/app/webpack-common-manifest.json +6 -6
  13. package/package.json +1 -1
  14. package/app/188-bundle-hippo-2ghujgupj7d-b02fecdcc231eb0d3ed0.js +0 -1
  15. package/app/245-bundle-hippo-2ghujgupj7d-4643c7e67eb0e95bf811.js +0 -2
  16. package/app/466-bundle-hippo-2ghujgupj7d-64679f9552b564ef4df6.js +0 -2
  17. package/app/520-bundle-hippo-2ghujgupj7d-639f911914c70feca5d7.js +0 -2
  18. package/app/520-bundle-hippo-2ghujgupj7d-639f911914c70feca5d7.js.LICENSE.txt +0 -19
  19. package/app/881-bundle-hippo-2ghujgupj7d-67bcbafb609168a16bed.js +0 -1
  20. /package/app/{466-bundle-hippo-2ghujgupj7d-64679f9552b564ef4df6.js.LICENSE.txt → 777-bundle-hippo-d6lcepuzfrf-f686806c6dc230e947aa.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkHVRecorder=self.webpackChunkHVRecorder||[]).push([[812],{48080:(e,t,r)=>{r.r(t),r.d(t,{default:()=>s}),r(25746);var n=r(96763);let a;function o(){let e,t=dashjs.FactoryMaker,r=t.getClassFactoryByName("SwitchRequest"),a=t.getSingletonFactoryByName("MetricsModel"),s=t.getSingletonFactoryByName("DashMetrics"),i=t.getSingletonFactoryByName("DashManifestModel"),l=t.getSingletonFactoryByName("StreamController"),c=this.context;function g(e){return e.trace.reduce(((e,t)=>e+t.b[0]),0)}return e={getMaxIndex:function(e){let t,u,f,d,m,h,R,y,p,T=e.getMediaInfo().type,_=a(c).getInstance(),I=s(c).getInstance(),M=i(c).getInstance(),N=_.getReadOnlyMetricsFor(T),F=l(c).getInstance(),C=e.getAbrController().getQualityFor(T,F.getActiveStreamInfo()),S=I.getHttpRequests(N),w="true"===function(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var r=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return r?r[2]?decodeURIComponent(r[2].replace(/\+/g," ")):"":null}("log"),b=null,E=null,D=[],k=r.NO_CHANGE,q=r.PRIORITY.DEFAULT,x=0;if(m=!1,h=1.5,!N)return r(c).create();for(p=S.length-1;p>=0&&null===b;)E=S[p],E._tfinish&&E.trequest&&E.tresponse&&E.trace&&E.trace.length>0&&(b=S[p]),p--;if(null===b)return r(c).create();if("MediaSegment"!==b.type)return r(c).create();if(u=(b._tfinish.getTime()-b.trequest.getTime())/1e3,t=(b._tfinish.getTime()-b.tresponse.getTime())/1e3,u<=0)return r(c).create();for(x=g(b),w&&(n.log("REQUESTED SEGMENT ["+T+"]: ",b.url.split("/").slice(-2)[0]),n.log("LATENCY: "+Number(b.tresponse.getTime()-b.trequest.getTime())+"ms"),n.log("[CustomRules]["+T+"][DownloadRatioRule] DL: "+Number(t.toFixed(3))+"s, Total: "+Number(u.toFixed(3))+"s, Length: "+x)),y=1;p>=0&&y<3;)E=S[p],"MediaSegment"!==E.type&&E._tfinish&&E.trequest&&E.tresponse&&E.trace&&E.trace.length>0&&(u+=(E._tfinish.getTime()-E.trequest.getTime())/1e3,t+=(E._tfinish.getTime()-E.tresponse.getTime())/1e3,x+=g(E),y+=1),p--;if(x*=8,f=x/t,w&&n.log("[CustomRules]["+T+"][DownloadRatioRule] BW = "+Math.round(f/1e3)+" kb/s"),isNaN(f))return r(c).create();for(y=e.getMediaInfo().representationCount,R=e.getRepresentationInfo(),d=M.getBandwidth(R),p=0;p<y;p+=1)D.push(e.getMediaInfo().bitrateList[p].bandwidth);if(f<=d){for(p=C-1;p>0&&!(D[p]<=f);p-=1);return k=p,q=r.PRIORITY.WEAK,r(c).create(k,{name:o.__dashjs_factory_name},q)}for(p=y-1;p>C&&!(f>1.5*D[p]);p-=1);return k=p,q=r.PRIORITY.STRONG,r(c).create(k,{name:o.__dashjs_factory_name},q)}},e}o.__dashjs_factory_name="DownloadRatioRule",a=dashjs.FactoryMaker.getClassFactory(o);const s=a}}]);