@hippovideo/video-sdk 0.0.0-experimental-de58374e3d1b-20250606 → 0.0.0-experimental-c2d15b2aeadc-20250610

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