@vindral/web-sdk 4.1.4-13-g5a363d43 → 4.1.4-15-g2fdfd007

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.
@@ -27,7 +27,7 @@ var X = (B, g, A) => new Promise((J, k) => {
27
27
  }, o = (h) => h.done ? J(h.value) : Promise.resolve(h.value).then(y, a);
28
28
  o((A = A.apply(B, g)).next());
29
29
  });
30
- import { F as RA, d as JA, n as kA } from "./Rz6y4oFD.js";
30
+ import { F as RA, d as JA, n as kA } from "./DiXVSsYY.js";
31
31
  var hA = (function() {
32
32
  var B = typeof document != "undefined" && document.currentScript ? document.currentScript.src : void 0;
33
33
  return (function(g) {
package/core.d.ts CHANGED
@@ -837,6 +837,26 @@ interface SyncModuleStatistics {
837
837
  timeshiftDriftAdjustmentCount: number;
838
838
  seekTime: number;
839
839
  }
840
+ interface JitterStatistics {
841
+ /** Current jitter in ms (RFC 3550 style, smoothed with /16) */
842
+ jitter: number;
843
+ /** Reactive jitter in ms (more sensitive, smoothed with /4) - better for detecting spikes */
844
+ reactiveJitter: number;
845
+ /** Maximum jitter in the recent window (last ~50 samples) - for spike detection */
846
+ recentMaxJitter: number;
847
+ /** Average jitter over the sample window */
848
+ averageJitter: number;
849
+ /** Maximum jitter seen in the full sample window */
850
+ maxJitter: number;
851
+ /** Minimum jitter seen in the sample window */
852
+ minJitter: number;
853
+ /** Number of samples in the jitter calculation */
854
+ sampleCount: number;
855
+ }
856
+ interface JitterModuleStatistics {
857
+ audioJitter: JitterStatistics | undefined;
858
+ videoJitter: JitterStatistics | undefined;
859
+ }
840
860
  interface VideoPlayerStatistics {
841
861
  renderedFrameCount: number;
842
862
  rendererDroppedFrameCount: number;
@@ -875,7 +895,7 @@ declare class UserAgentInformation {
875
895
  userAgent: string;
876
896
  };
877
897
  }
878
- type ModuleStatistics = AdaptivityStatistics & BufferTimeStatistics & ConnectionStatistics & ConstraintCapStatistics & DecoderStatistics & DocumentStateModulesStatistics & IncomingDataModuleStatistics & MseModuleStatistics & PlaybackModuleStatistics & QualityOfServiceModuleStatistics & RenditionsModuleStatistics & SyncModuleStatistics & TelemetryModuleStatistics & VideoPlayerStatistics;
898
+ type ModuleStatistics = AdaptivityStatistics & BufferTimeStatistics & ConnectionStatistics & ConstraintCapStatistics & DecoderStatistics & DocumentStateModulesStatistics & IncomingDataModuleStatistics & JitterModuleStatistics & MseModuleStatistics & PlaybackModuleStatistics & QualityOfServiceModuleStatistics & RenditionsModuleStatistics & SyncModuleStatistics & TelemetryModuleStatistics & VideoPlayerStatistics;
879
899
  /**
880
900
  * Contains internal statistics.
881
901
  *
package/core.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as C, e as I, f as _, a as O, C as D, D as T, I as a, N as A, V as s, g as r } from "./Rz6y4oFD.js";
1
+ import { c as C, e as I, f as _, a as O, C as D, D as T, I as a, N as A, V as s, g as r } from "./DiXVSsYY.js";
2
2
  export {
3
3
  C as AUTHENTICATION_EXPIRED_CODE,
4
4
  I as AUTHENTICATION_FAILED_CODE,
package/legacy.d.ts CHANGED
@@ -852,6 +852,26 @@ interface SyncModuleStatistics {
852
852
  timeshiftDriftAdjustmentCount: number;
853
853
  seekTime: number;
854
854
  }
855
+ interface JitterStatistics {
856
+ /** Current jitter in ms (RFC 3550 style, smoothed with /16) */
857
+ jitter: number;
858
+ /** Reactive jitter in ms (more sensitive, smoothed with /4) - better for detecting spikes */
859
+ reactiveJitter: number;
860
+ /** Maximum jitter in the recent window (last ~50 samples) - for spike detection */
861
+ recentMaxJitter: number;
862
+ /** Average jitter over the sample window */
863
+ averageJitter: number;
864
+ /** Maximum jitter seen in the full sample window */
865
+ maxJitter: number;
866
+ /** Minimum jitter seen in the sample window */
867
+ minJitter: number;
868
+ /** Number of samples in the jitter calculation */
869
+ sampleCount: number;
870
+ }
871
+ interface JitterModuleStatistics {
872
+ audioJitter: JitterStatistics | undefined;
873
+ videoJitter: JitterStatistics | undefined;
874
+ }
855
875
  interface VideoPlayerStatistics {
856
876
  renderedFrameCount: number;
857
877
  rendererDroppedFrameCount: number;
@@ -890,7 +910,7 @@ declare class UserAgentInformation {
890
910
  userAgent: string;
891
911
  };
892
912
  }
893
- type ModuleStatistics = AdaptivityStatistics & BufferTimeStatistics & ConnectionStatistics & ConstraintCapStatistics & DecoderStatistics & DocumentStateModulesStatistics & IncomingDataModuleStatistics & MseModuleStatistics & PlaybackModuleStatistics & QualityOfServiceModuleStatistics & RenditionsModuleStatistics & SyncModuleStatistics & TelemetryModuleStatistics & VideoPlayerStatistics;
913
+ type ModuleStatistics = AdaptivityStatistics & BufferTimeStatistics & ConnectionStatistics & ConstraintCapStatistics & DecoderStatistics & DocumentStateModulesStatistics & IncomingDataModuleStatistics & JitterModuleStatistics & MseModuleStatistics & PlaybackModuleStatistics & QualityOfServiceModuleStatistics & RenditionsModuleStatistics & SyncModuleStatistics & TelemetryModuleStatistics & VideoPlayerStatistics;
894
914
  /**
895
915
  * Contains internal statistics.
896
916
  *