@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.
- package/{xBrTIqcC.js → BVruVDla.js} +1 -1
- package/{Rz6y4oFD.js → DiXVSsYY.js} +2797 -2677
- package/{qpaPduSR.js → OJK5xOZ2.js} +1 -1
- package/core.d.ts +21 -1
- package/core.js +1 -1
- package/legacy.d.ts +21 -1
- package/legacy.es.js +2795 -2675
- package/legacy.umd.js +9 -9
- package/package.json +1 -1
- package/player.d.ts +21 -1
- package/player.js +1 -1
- package/react.d.ts +21 -1
package/package.json
CHANGED
package/player.d.ts
CHANGED
|
@@ -773,6 +773,26 @@ interface SyncModuleStatistics {
|
|
|
773
773
|
timeshiftDriftAdjustmentCount: number;
|
|
774
774
|
seekTime: number;
|
|
775
775
|
}
|
|
776
|
+
interface JitterStatistics {
|
|
777
|
+
/** Current jitter in ms (RFC 3550 style, smoothed with /16) */
|
|
778
|
+
jitter: number;
|
|
779
|
+
/** Reactive jitter in ms (more sensitive, smoothed with /4) - better for detecting spikes */
|
|
780
|
+
reactiveJitter: number;
|
|
781
|
+
/** Maximum jitter in the recent window (last ~50 samples) - for spike detection */
|
|
782
|
+
recentMaxJitter: number;
|
|
783
|
+
/** Average jitter over the sample window */
|
|
784
|
+
averageJitter: number;
|
|
785
|
+
/** Maximum jitter seen in the full sample window */
|
|
786
|
+
maxJitter: number;
|
|
787
|
+
/** Minimum jitter seen in the sample window */
|
|
788
|
+
minJitter: number;
|
|
789
|
+
/** Number of samples in the jitter calculation */
|
|
790
|
+
sampleCount: number;
|
|
791
|
+
}
|
|
792
|
+
interface JitterModuleStatistics {
|
|
793
|
+
audioJitter: JitterStatistics | undefined;
|
|
794
|
+
videoJitter: JitterStatistics | undefined;
|
|
795
|
+
}
|
|
776
796
|
interface VideoPlayerStatistics {
|
|
777
797
|
renderedFrameCount: number;
|
|
778
798
|
rendererDroppedFrameCount: number;
|
|
@@ -811,7 +831,7 @@ declare class UserAgentInformation {
|
|
|
811
831
|
userAgent: string;
|
|
812
832
|
};
|
|
813
833
|
}
|
|
814
|
-
type ModuleStatistics = AdaptivityStatistics & BufferTimeStatistics & ConnectionStatistics & ConstraintCapStatistics & DecoderStatistics & DocumentStateModulesStatistics & IncomingDataModuleStatistics & MseModuleStatistics & PlaybackModuleStatistics & QualityOfServiceModuleStatistics & RenditionsModuleStatistics & SyncModuleStatistics & TelemetryModuleStatistics & VideoPlayerStatistics;
|
|
834
|
+
type ModuleStatistics = AdaptivityStatistics & BufferTimeStatistics & ConnectionStatistics & ConstraintCapStatistics & DecoderStatistics & DocumentStateModulesStatistics & IncomingDataModuleStatistics & JitterModuleStatistics & MseModuleStatistics & PlaybackModuleStatistics & QualityOfServiceModuleStatistics & RenditionsModuleStatistics & SyncModuleStatistics & TelemetryModuleStatistics & VideoPlayerStatistics;
|
|
815
835
|
type Statistics = ModuleStatistics & ReturnType<UserAgentInformation["getUserAgentInformation"]> & {
|
|
816
836
|
/**
|
|
817
837
|
* Version of the @vindral/web-sdk being used.
|
package/player.js
CHANGED
|
@@ -31,7 +31,7 @@ var $ = (c, a, t) => new Promise((i, s) => {
|
|
|
31
31
|
}, p = (v) => v.done ? i(v.value) : Promise.resolve(v.value).then(o, u);
|
|
32
32
|
p((t = t.apply(c, a)).next());
|
|
33
33
|
});
|
|
34
|
-
import { L as Tr, V as $o, i as Bo, C as Go, A as Ko, a as qo, b as Xo } from "./
|
|
34
|
+
import { L as Tr, V as $o, i as Bo, C as Go, A as Ko, a as qo, b as Xo } from "./DiXVSsYY.js";
|
|
35
35
|
import { E as us } from "./Bx7s5QdT.js";
|
|
36
36
|
import { CastSender as Vo } from "./cast-sender.js";
|
|
37
37
|
import { A as jo, d as Yo } from "./Bs3ZbgIy.js";
|
package/react.d.ts
CHANGED
|
@@ -775,6 +775,26 @@ interface SyncModuleStatistics {
|
|
|
775
775
|
timeshiftDriftAdjustmentCount: number;
|
|
776
776
|
seekTime: number;
|
|
777
777
|
}
|
|
778
|
+
interface JitterStatistics {
|
|
779
|
+
/** Current jitter in ms (RFC 3550 style, smoothed with /16) */
|
|
780
|
+
jitter: number;
|
|
781
|
+
/** Reactive jitter in ms (more sensitive, smoothed with /4) - better for detecting spikes */
|
|
782
|
+
reactiveJitter: number;
|
|
783
|
+
/** Maximum jitter in the recent window (last ~50 samples) - for spike detection */
|
|
784
|
+
recentMaxJitter: number;
|
|
785
|
+
/** Average jitter over the sample window */
|
|
786
|
+
averageJitter: number;
|
|
787
|
+
/** Maximum jitter seen in the full sample window */
|
|
788
|
+
maxJitter: number;
|
|
789
|
+
/** Minimum jitter seen in the sample window */
|
|
790
|
+
minJitter: number;
|
|
791
|
+
/** Number of samples in the jitter calculation */
|
|
792
|
+
sampleCount: number;
|
|
793
|
+
}
|
|
794
|
+
interface JitterModuleStatistics {
|
|
795
|
+
audioJitter: JitterStatistics | undefined;
|
|
796
|
+
videoJitter: JitterStatistics | undefined;
|
|
797
|
+
}
|
|
778
798
|
interface VideoPlayerStatistics {
|
|
779
799
|
renderedFrameCount: number;
|
|
780
800
|
rendererDroppedFrameCount: number;
|
|
@@ -813,7 +833,7 @@ declare class UserAgentInformation {
|
|
|
813
833
|
userAgent: string;
|
|
814
834
|
};
|
|
815
835
|
}
|
|
816
|
-
type ModuleStatistics = AdaptivityStatistics & BufferTimeStatistics & ConnectionStatistics & ConstraintCapStatistics & DecoderStatistics & DocumentStateModulesStatistics & IncomingDataModuleStatistics & MseModuleStatistics & PlaybackModuleStatistics & QualityOfServiceModuleStatistics & RenditionsModuleStatistics & SyncModuleStatistics & TelemetryModuleStatistics & VideoPlayerStatistics;
|
|
836
|
+
type ModuleStatistics = AdaptivityStatistics & BufferTimeStatistics & ConnectionStatistics & ConstraintCapStatistics & DecoderStatistics & DocumentStateModulesStatistics & IncomingDataModuleStatistics & JitterModuleStatistics & MseModuleStatistics & PlaybackModuleStatistics & QualityOfServiceModuleStatistics & RenditionsModuleStatistics & SyncModuleStatistics & TelemetryModuleStatistics & VideoPlayerStatistics;
|
|
817
837
|
type Statistics = ModuleStatistics & ReturnType<UserAgentInformation["getUserAgentInformation"]> & {
|
|
818
838
|
/**
|
|
819
839
|
* Version of the @vindral/web-sdk being used.
|