@vindral/web-sdk 4.3.0 → 4.3.1-1-g4af4a8c4

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/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 "./D5iA4gy8.js";
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[];
@@ -1047,6 +1046,12 @@ export type Statistics = ModuleStatistics & ReturnType<UserAgentInformation["get
1047
1046
  * Note that an actual frame render often happens much quicker, but that is not counted as TTFF.
1048
1047
  */
1049
1048
  timeToFirstFrame?: number;
1049
+ /**
1050
+ * Time in milliseconds from the first `connect()` call to the first successful transport/session connection.
1051
+ * Includes failed connection attempts and edge failover before the connection is established.
1052
+ * Does not wait for player bootstrap or media to start.
1053
+ */
1054
+ timeToConnected?: number;
1050
1055
  streamToMediaElementEnabled?: boolean;
1051
1056
  /** @deprecated */
1052
1057
  iosMediaElementEnabled?: boolean;
@@ -1592,6 +1597,12 @@ interface ConnectionStatistics {
1592
1597
  * A value of 1.0 means every connection attempt succeeded.
1593
1598
  */
1594
1599
  connectionSuccessRatio: number;
1600
+ /**
1601
+ * Time in milliseconds from the first connect() call to the first successful transport/session connection.
1602
+ * Includes failed attempts and edge failover before the connection is established.
1603
+ * Does not wait for player bootstrap or media to start.
1604
+ */
1605
+ timeToConnected?: number;
1595
1606
  connectionProtocol: "vindral_ws" | "moq" | "moq_ws" | undefined;
1596
1607
  /**
1597
1608
  * 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 "./BzLobjSs.js";
1
+ import { t as e } from "./BK_5sZl6.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[];
@@ -1062,6 +1061,12 @@ export type Statistics = ModuleStatistics & ReturnType<UserAgentInformation["get
1062
1061
  * Note that an actual frame render often happens much quicker, but that is not counted as TTFF.
1063
1062
  */
1064
1063
  timeToFirstFrame?: number;
1064
+ /**
1065
+ * Time in milliseconds from the first `connect()` call to the first successful transport/session connection.
1066
+ * Includes failed connection attempts and edge failover before the connection is established.
1067
+ * Does not wait for player bootstrap or media to start.
1068
+ */
1069
+ timeToConnected?: number;
1065
1070
  streamToMediaElementEnabled?: boolean;
1066
1071
  /** @deprecated */
1067
1072
  iosMediaElementEnabled?: boolean;
@@ -1607,6 +1612,12 @@ interface ConnectionStatistics {
1607
1612
  * A value of 1.0 means every connection attempt succeeded.
1608
1613
  */
1609
1614
  connectionSuccessRatio: number;
1615
+ /**
1616
+ * Time in milliseconds from the first connect() call to the first successful transport/session connection.
1617
+ * Includes failed attempts and edge failover before the connection is established.
1618
+ * Does not wait for player bootstrap or media to start.
1619
+ */
1620
+ timeToConnected?: number;
1610
1621
  connectionProtocol: "vindral_ws" | "moq" | "moq_ws" | undefined;
1611
1622
  /**
1612
1623
  * When connectionProtocol is "moq_ws", indicates why WebSocket was used instead of WebTransport.