@vindral/web-sdk 4.1.5 → 4.1.6-1-gbc5d8112
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/{CR970t1n.js → BLgqKiGG.js} +1 -1
- package/{BLdnaIls.js → Bo_wffb0.js} +1 -1
- package/cast-sender.d.ts +8 -0
- package/core.d.ts +22 -14
- package/core.js +1 -1
- package/{DROC3QN7.js → gclH17DW.js} +843 -831
- package/legacy.d.ts +22 -14
- package/legacy.es.js +596 -584
- package/legacy.umd.js +8 -8
- package/package.json +1 -1
- package/player.d.ts +23 -15
- package/player.js +285 -284
- package/react.d.ts +23 -15
package/legacy.d.ts
CHANGED
|
@@ -483,6 +483,14 @@ export interface Options {
|
|
|
483
483
|
* Whether to start the player muted or to try to start playing audio automatically.
|
|
484
484
|
*/
|
|
485
485
|
muted?: boolean;
|
|
486
|
+
/**
|
|
487
|
+
* Initial volume level for the player. A floating point value between 0-1.
|
|
488
|
+
* Default is 1 (100% volume).
|
|
489
|
+
*
|
|
490
|
+
* Note: Volume cannot be set on iOS devices due to system restrictions.
|
|
491
|
+
* The volume property is not settable in JavaScript on iOS, and reading it always returns 1.
|
|
492
|
+
*/
|
|
493
|
+
volume?: number;
|
|
486
494
|
/**
|
|
487
495
|
* Provide a custom reconnect handler to control when the instance should stop trying to
|
|
488
496
|
* reconnect. The reconnect handler should either return true to allow the reconnect or
|
|
@@ -816,6 +824,20 @@ interface IncomingDataModuleStatistics {
|
|
|
816
824
|
*/
|
|
817
825
|
bytesReceived: number;
|
|
818
826
|
}
|
|
827
|
+
interface JitterStatistics {
|
|
828
|
+
/** Minimum jitter in the recent window */
|
|
829
|
+
min: number;
|
|
830
|
+
/** Maximum jitter in the recent window for spike detection */
|
|
831
|
+
max: number;
|
|
832
|
+
/** Latest average jitter in ms (recent window) */
|
|
833
|
+
last: number;
|
|
834
|
+
/** Average jitter in ms (RFC 3550 style, smoothed with /16) */
|
|
835
|
+
average: number;
|
|
836
|
+
}
|
|
837
|
+
interface JitterModuleStatistics {
|
|
838
|
+
audioJitter: JitterStatistics | undefined;
|
|
839
|
+
videoJitter: JitterStatistics | undefined;
|
|
840
|
+
}
|
|
819
841
|
interface MseModuleStatistics {
|
|
820
842
|
quotaErrorCount: number;
|
|
821
843
|
mediaSourceOpenTime: number;
|
|
@@ -852,20 +874,6 @@ interface SyncModuleStatistics {
|
|
|
852
874
|
timeshiftDriftAdjustmentCount: number;
|
|
853
875
|
seekTime: number;
|
|
854
876
|
}
|
|
855
|
-
interface JitterStatistics {
|
|
856
|
-
/** Minimum jitter in the recent window */
|
|
857
|
-
min: number;
|
|
858
|
-
/** Maximum jitter in the recent window for spike detection */
|
|
859
|
-
max: number;
|
|
860
|
-
/** Latest average jitter in ms (recent window) */
|
|
861
|
-
last: number;
|
|
862
|
-
/** Average jitter in ms (RFC 3550 style, smoothed with /16) */
|
|
863
|
-
average: number;
|
|
864
|
-
}
|
|
865
|
-
interface JitterModuleStatistics {
|
|
866
|
-
audioJitter: JitterStatistics | undefined;
|
|
867
|
-
videoJitter: JitterStatistics | undefined;
|
|
868
|
-
}
|
|
869
877
|
interface VideoPlayerStatistics {
|
|
870
878
|
renderedFrameCount: number;
|
|
871
879
|
rendererDroppedFrameCount: number;
|