@vindral/web-sdk 4.3.0 → 4.3.1-2-gddd5768ce

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.3.0",
2
+ "version": "4.3.1-2-gddd5768ce",
3
3
  "name": "@vindral/web-sdk",
4
4
  "main": "./legacy.umd.js",
5
5
  "module": "./legacy.es.js",
package/player.d.ts CHANGED
@@ -430,7 +430,6 @@ interface ClientOverrides {
430
430
  maxBufferTime?: number;
431
431
  burstEnabled?: boolean;
432
432
  sizeBasedResolutionCapEnabled?: boolean;
433
- separateVideoSocketEnabled?: boolean;
434
433
  webcodecsHardwareAcceleration?: WebCodecsHardwareAccelerationPreference;
435
434
  offscreenCanvasEnabled?: boolean;
436
435
  videoCodecs?: string[];
@@ -963,6 +962,12 @@ type Statistics = ModuleStatistics & ReturnType<UserAgentInformation["getUserAge
963
962
  * Note that an actual frame render often happens much quicker, but that is not counted as TTFF.
964
963
  */
965
964
  timeToFirstFrame?: number;
965
+ /**
966
+ * Time in milliseconds from the first `connect()` call to the first successful transport/session connection.
967
+ * Includes failed connection attempts and edge failover before the connection is established.
968
+ * Does not wait for player bootstrap or media to start.
969
+ */
970
+ timeToConnected?: number;
966
971
  streamToMediaElementEnabled?: boolean;
967
972
  /** @deprecated */
968
973
  iosMediaElementEnabled?: boolean;
@@ -1465,6 +1470,12 @@ interface ConnectionStatistics {
1465
1470
  * A value of 1.0 means every connection attempt succeeded.
1466
1471
  */
1467
1472
  connectionSuccessRatio: number;
1473
+ /**
1474
+ * Time in milliseconds from the first connect() call to the first successful transport/session connection.
1475
+ * Includes failed attempts and edge failover before the connection is established.
1476
+ * Does not wait for player bootstrap or media to start.
1477
+ */
1478
+ timeToConnected?: number;
1468
1479
  connectionProtocol: "vindral_ws" | "moq" | "moq_ws" | undefined;
1469
1480
  /**
1470
1481
  * When connectionProtocol is "moq_ws", indicates why WebSocket was used instead of WebTransport.
@@ -2064,7 +2075,6 @@ declare class VindralMessage extends HTMLElement {
2064
2075
  static observedAttributes: string[];
2065
2076
  constructor();
2066
2077
  connectedCallback(): void;
2067
- disconnectedCallback(): void;
2068
2078
  attributeChangedCallback(name: string, old: string, value: string): void;
2069
2079
  }
2070
2080
  declare class VindralPlayOverlay extends HTMLElement {
package/player.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { t as e } from "./BFPgdE3l.js";
2
- import "./BzLobjSs.js";
3
- import { t } from "./DXt_qL9M.js";
2
+ import "./DC4PtdMI.js";
3
+ import { t } from "./DmV7Bzdg.js";
4
4
  export { t as registerComponents, e as registerDebugComponents };
package/react.d.ts CHANGED
@@ -432,7 +432,6 @@ interface ClientOverrides {
432
432
  maxBufferTime?: number;
433
433
  burstEnabled?: boolean;
434
434
  sizeBasedResolutionCapEnabled?: boolean;
435
- separateVideoSocketEnabled?: boolean;
436
435
  webcodecsHardwareAcceleration?: WebCodecsHardwareAccelerationPreference;
437
436
  offscreenCanvasEnabled?: boolean;
438
437
  videoCodecs?: string[];
@@ -965,6 +964,12 @@ type Statistics = ModuleStatistics & ReturnType<UserAgentInformation["getUserAge
965
964
  * Note that an actual frame render often happens much quicker, but that is not counted as TTFF.
966
965
  */
967
966
  timeToFirstFrame?: number;
967
+ /**
968
+ * Time in milliseconds from the first `connect()` call to the first successful transport/session connection.
969
+ * Includes failed connection attempts and edge failover before the connection is established.
970
+ * Does not wait for player bootstrap or media to start.
971
+ */
972
+ timeToConnected?: number;
968
973
  streamToMediaElementEnabled?: boolean;
969
974
  /** @deprecated */
970
975
  iosMediaElementEnabled?: boolean;
@@ -1467,6 +1472,12 @@ interface ConnectionStatistics {
1467
1472
  * A value of 1.0 means every connection attempt succeeded.
1468
1473
  */
1469
1474
  connectionSuccessRatio: number;
1475
+ /**
1476
+ * Time in milliseconds from the first connect() call to the first successful transport/session connection.
1477
+ * Includes failed attempts and edge failover before the connection is established.
1478
+ * Does not wait for player bootstrap or media to start.
1479
+ */
1480
+ timeToConnected?: number;
1470
1481
  connectionProtocol: "vindral_ws" | "moq" | "moq_ws" | undefined;
1471
1482
  /**
1472
1483
  * When connectionProtocol is "moq_ws", indicates why WebSocket was used instead of WebTransport.
@@ -2081,7 +2092,6 @@ declare class VindralMessage extends HTMLElement {
2081
2092
  static observedAttributes: string[];
2082
2093
  constructor();
2083
2094
  connectedCallback(): void;
2084
- disconnectedCallback(): void;
2085
2095
  attributeChangedCallback(name: string, old: string, value: string): void;
2086
2096
  }
2087
2097
  type PlayOverlayAttributes = (typeof VindralPlayOverlay.observedAttributes)[number];
@@ -1,5 +1,5 @@
1
- import "./BzLobjSs.js";
2
- import { t as e } from "./DXt_qL9M.js";
1
+ import "./DC4PtdMI.js";
2
+ import { t as e } from "./DmV7Bzdg.js";
3
3
  //#region src/vindral-player-component.ts
4
4
  e();
5
5
  //#endregion