@vindral/web-sdk 4.3.0 → 4.3.1-10-gc37d39c0
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/{BzLobjSs.js → B9ii5m9N.js} +2095 -1934
- package/{D5iA4gy8.js → BdFcdkj1.js} +1 -1
- package/{B9WEkxkT.js → BsJtUY1Z.js} +2 -2
- package/{DtpcQ7ay.js → CLJilV9Y.js} +1 -1
- package/{DXt_qL9M.js → DK2TEagw.js} +296 -272
- package/api-client.d.ts +0 -1
- package/cast-sender.js +1 -1
- package/core.d.ts +15 -2
- package/core.js +1 -1
- package/legacy.d.ts +15 -2
- package/legacy.es.js +2801 -2634
- package/legacy.umd.js +16 -16
- package/package.json +1 -1
- package/player.d.ts +15 -3
- package/player.js +2 -2
- package/react.d.ts +15 -3
- package/vindral-player-component.js +2 -2
package/api-client.d.ts
CHANGED
|
@@ -38,7 +38,6 @@ interface ClientOverrides {
|
|
|
38
38
|
maxBufferTime?: number;
|
|
39
39
|
burstEnabled?: boolean;
|
|
40
40
|
sizeBasedResolutionCapEnabled?: boolean;
|
|
41
|
-
separateVideoSocketEnabled?: boolean;
|
|
42
41
|
webcodecsHardwareAcceleration?: WebCodecsHardwareAccelerationPreference;
|
|
43
42
|
offscreenCanvasEnabled?: boolean;
|
|
44
43
|
videoCodecs?: string[];
|
package/cast-sender.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./
|
|
1
|
+
import { t as e } from "./BdFcdkj1.js";
|
|
2
2
|
export { e as CastSender };
|
package/core.d.ts
CHANGED
|
@@ -449,7 +449,6 @@ interface ClientOverrides {
|
|
|
449
449
|
maxBufferTime?: number;
|
|
450
450
|
burstEnabled?: boolean;
|
|
451
451
|
sizeBasedResolutionCapEnabled?: boolean;
|
|
452
|
-
separateVideoSocketEnabled?: boolean;
|
|
453
452
|
webcodecsHardwareAcceleration?: WebCodecsHardwareAccelerationPreference;
|
|
454
453
|
offscreenCanvasEnabled?: boolean;
|
|
455
454
|
videoCodecs?: string[];
|
|
@@ -1043,10 +1042,18 @@ export type Statistics = ModuleStatistics & ReturnType<UserAgentInformation["get
|
|
|
1043
1042
|
*/
|
|
1044
1043
|
channelGroupId?: string;
|
|
1045
1044
|
/**
|
|
1046
|
-
* Time in milliseconds from
|
|
1045
|
+
* Time in milliseconds from the first `connect()` call to playback of video and audio being started.
|
|
1047
1046
|
* Note that an actual frame render often happens much quicker, but that is not counted as TTFF.
|
|
1047
|
+
* `timeToConnected` shares the same anchor, so `timeToFirstFrame - timeToConnected` is the
|
|
1048
|
+
* post-transport portion (player bootstrap, media flow, decode, buffer fill, render).
|
|
1048
1049
|
*/
|
|
1049
1050
|
timeToFirstFrame?: number;
|
|
1051
|
+
/**
|
|
1052
|
+
* Time in milliseconds from the first `connect()` call to the first successful transport/session connection.
|
|
1053
|
+
* Includes failed connection attempts and edge failover before the connection is established.
|
|
1054
|
+
* Does not wait for player bootstrap or media to start.
|
|
1055
|
+
*/
|
|
1056
|
+
timeToConnected?: number;
|
|
1050
1057
|
streamToMediaElementEnabled?: boolean;
|
|
1051
1058
|
/** @deprecated */
|
|
1052
1059
|
iosMediaElementEnabled?: boolean;
|
|
@@ -1592,6 +1599,12 @@ interface ConnectionStatistics {
|
|
|
1592
1599
|
* A value of 1.0 means every connection attempt succeeded.
|
|
1593
1600
|
*/
|
|
1594
1601
|
connectionSuccessRatio: number;
|
|
1602
|
+
/**
|
|
1603
|
+
* Time in milliseconds from the first connect() call to the first successful transport/session connection.
|
|
1604
|
+
* Includes failed attempts and edge failover before the connection is established.
|
|
1605
|
+
* Does not wait for player bootstrap or media to start.
|
|
1606
|
+
*/
|
|
1607
|
+
timeToConnected?: number;
|
|
1595
1608
|
connectionProtocol: "vindral_ws" | "moq" | "moq_ws" | undefined;
|
|
1596
1609
|
/**
|
|
1597
1610
|
* When connectionProtocol is "moq_ws", indicates why WebSocket was used instead of WebTransport.
|
package/core.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as e } from "./
|
|
1
|
+
import { t as e } from "./B9ii5m9N.js";
|
|
2
2
|
import { a as t, c as n, i as r, l as i, n as a, o, r as s, s as c, u as l } from "./C01DcfYu.js";
|
|
3
3
|
export { a as AUTHENTICATION_EXPIRED_CODE, s as AUTHENTICATION_FAILED_CODE, r as CHANNEL_NOT_FOUND_CODE, t as CONNECTION_FAILED_AFTER_RETRIES_CODE, o as CONNECTION_FAILED_CODE, c as DISCONNECTED_BY_EDGE, n as INACTIVITY_CODE, i as NO_INCOMING_DATA, e as Vindral, l as VindralError };
|
package/legacy.d.ts
CHANGED
|
@@ -452,7 +452,6 @@ interface ClientOverrides {
|
|
|
452
452
|
maxBufferTime?: number;
|
|
453
453
|
burstEnabled?: boolean;
|
|
454
454
|
sizeBasedResolutionCapEnabled?: boolean;
|
|
455
|
-
separateVideoSocketEnabled?: boolean;
|
|
456
455
|
webcodecsHardwareAcceleration?: WebCodecsHardwareAccelerationPreference;
|
|
457
456
|
offscreenCanvasEnabled?: boolean;
|
|
458
457
|
videoCodecs?: string[];
|
|
@@ -1058,10 +1057,18 @@ export type Statistics = ModuleStatistics & ReturnType<UserAgentInformation["get
|
|
|
1058
1057
|
*/
|
|
1059
1058
|
channelGroupId?: string;
|
|
1060
1059
|
/**
|
|
1061
|
-
* Time in milliseconds from
|
|
1060
|
+
* Time in milliseconds from the first `connect()` call to playback of video and audio being started.
|
|
1062
1061
|
* Note that an actual frame render often happens much quicker, but that is not counted as TTFF.
|
|
1062
|
+
* `timeToConnected` shares the same anchor, so `timeToFirstFrame - timeToConnected` is the
|
|
1063
|
+
* post-transport portion (player bootstrap, media flow, decode, buffer fill, render).
|
|
1063
1064
|
*/
|
|
1064
1065
|
timeToFirstFrame?: number;
|
|
1066
|
+
/**
|
|
1067
|
+
* Time in milliseconds from the first `connect()` call to the first successful transport/session connection.
|
|
1068
|
+
* Includes failed connection attempts and edge failover before the connection is established.
|
|
1069
|
+
* Does not wait for player bootstrap or media to start.
|
|
1070
|
+
*/
|
|
1071
|
+
timeToConnected?: number;
|
|
1065
1072
|
streamToMediaElementEnabled?: boolean;
|
|
1066
1073
|
/** @deprecated */
|
|
1067
1074
|
iosMediaElementEnabled?: boolean;
|
|
@@ -1607,6 +1614,12 @@ interface ConnectionStatistics {
|
|
|
1607
1614
|
* A value of 1.0 means every connection attempt succeeded.
|
|
1608
1615
|
*/
|
|
1609
1616
|
connectionSuccessRatio: number;
|
|
1617
|
+
/**
|
|
1618
|
+
* Time in milliseconds from the first connect() call to the first successful transport/session connection.
|
|
1619
|
+
* Includes failed attempts and edge failover before the connection is established.
|
|
1620
|
+
* Does not wait for player bootstrap or media to start.
|
|
1621
|
+
*/
|
|
1622
|
+
timeToConnected?: number;
|
|
1610
1623
|
connectionProtocol: "vindral_ws" | "moq" | "moq_ws" | undefined;
|
|
1611
1624
|
/**
|
|
1612
1625
|
* When connectionProtocol is "moq_ws", indicates why WebSocket was used instead of WebTransport.
|