@vindral/web-sdk 4.1.5 → 4.1.6
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 → BoVzlg5M.js} +1 -1
- package/{DROC3QN7.js → D1E3hbbb.js} +843 -831
- package/cast-sender.d.ts +8 -0
- package/core.d.ts +22 -14
- package/core.js +1 -1
- 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/{BLdnaIls.js → xMUHexhV.js} +1 -1
package/cast-sender.d.ts
CHANGED
|
@@ -265,6 +265,14 @@ interface Options {
|
|
|
265
265
|
* Whether to start the player muted or to try to start playing audio automatically.
|
|
266
266
|
*/
|
|
267
267
|
muted?: boolean;
|
|
268
|
+
/**
|
|
269
|
+
* Initial volume level for the player. A floating point value between 0-1.
|
|
270
|
+
* Default is 1 (100% volume).
|
|
271
|
+
*
|
|
272
|
+
* Note: Volume cannot be set on iOS devices due to system restrictions.
|
|
273
|
+
* The volume property is not settable in JavaScript on iOS, and reading it always returns 1.
|
|
274
|
+
*/
|
|
275
|
+
volume?: number;
|
|
268
276
|
/**
|
|
269
277
|
* Provide a custom reconnect handler to control when the instance should stop trying to
|
|
270
278
|
* reconnect. The reconnect handler should either return true to allow the reconnect or
|
package/core.d.ts
CHANGED
|
@@ -480,6 +480,14 @@ export interface Options {
|
|
|
480
480
|
* Whether to start the player muted or to try to start playing audio automatically.
|
|
481
481
|
*/
|
|
482
482
|
muted?: boolean;
|
|
483
|
+
/**
|
|
484
|
+
* Initial volume level for the player. A floating point value between 0-1.
|
|
485
|
+
* Default is 1 (100% volume).
|
|
486
|
+
*
|
|
487
|
+
* Note: Volume cannot be set on iOS devices due to system restrictions.
|
|
488
|
+
* The volume property is not settable in JavaScript on iOS, and reading it always returns 1.
|
|
489
|
+
*/
|
|
490
|
+
volume?: number;
|
|
483
491
|
/**
|
|
484
492
|
* Provide a custom reconnect handler to control when the instance should stop trying to
|
|
485
493
|
* reconnect. The reconnect handler should either return true to allow the reconnect or
|
|
@@ -801,6 +809,20 @@ interface IncomingDataModuleStatistics {
|
|
|
801
809
|
*/
|
|
802
810
|
bytesReceived: number;
|
|
803
811
|
}
|
|
812
|
+
interface JitterStatistics {
|
|
813
|
+
/** Minimum jitter in the recent window */
|
|
814
|
+
min: number;
|
|
815
|
+
/** Maximum jitter in the recent window for spike detection */
|
|
816
|
+
max: number;
|
|
817
|
+
/** Latest average jitter in ms (recent window) */
|
|
818
|
+
last: number;
|
|
819
|
+
/** Average jitter in ms (RFC 3550 style, smoothed with /16) */
|
|
820
|
+
average: number;
|
|
821
|
+
}
|
|
822
|
+
interface JitterModuleStatistics {
|
|
823
|
+
audioJitter: JitterStatistics | undefined;
|
|
824
|
+
videoJitter: JitterStatistics | undefined;
|
|
825
|
+
}
|
|
804
826
|
interface MseModuleStatistics {
|
|
805
827
|
quotaErrorCount: number;
|
|
806
828
|
mediaSourceOpenTime: number;
|
|
@@ -837,20 +859,6 @@ interface SyncModuleStatistics {
|
|
|
837
859
|
timeshiftDriftAdjustmentCount: number;
|
|
838
860
|
seekTime: number;
|
|
839
861
|
}
|
|
840
|
-
interface JitterStatistics {
|
|
841
|
-
/** Minimum jitter in the recent window */
|
|
842
|
-
min: number;
|
|
843
|
-
/** Maximum jitter in the recent window for spike detection */
|
|
844
|
-
max: number;
|
|
845
|
-
/** Latest average jitter in ms (recent window) */
|
|
846
|
-
last: number;
|
|
847
|
-
/** Average jitter in ms (RFC 3550 style, smoothed with /16) */
|
|
848
|
-
average: number;
|
|
849
|
-
}
|
|
850
|
-
interface JitterModuleStatistics {
|
|
851
|
-
audioJitter: JitterStatistics | undefined;
|
|
852
|
-
videoJitter: JitterStatistics | undefined;
|
|
853
|
-
}
|
|
854
862
|
interface VideoPlayerStatistics {
|
|
855
863
|
renderedFrameCount: number;
|
|
856
864
|
rendererDroppedFrameCount: number;
|
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 "./
|
|
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 "./D1E3hbbb.js";
|
|
2
2
|
export {
|
|
3
3
|
C as AUTHENTICATION_EXPIRED_CODE,
|
|
4
4
|
I as AUTHENTICATION_FAILED_CODE,
|
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;
|