@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/{BzLobjSs.js → BK_5sZl6.js} +1900 -1829
- package/{D5iA4gy8.js → BdFcdkj1.js} +1 -1
- package/{DXt_qL9M.js → DGra-cFh.js} +296 -272
- package/api-client.d.ts +0 -1
- package/cast-sender.js +1 -1
- package/core.d.ts +12 -1
- package/core.js +1 -1
- package/legacy.d.ts +12 -1
- package/legacy.es.js +2606 -2533
- package/legacy.umd.js +14 -14
- package/package.json +1 -1
- package/player.d.ts +12 -2
- package/player.js +2 -2
- package/react.d.ts +12 -2
- package/vindral-player-component.js +2 -2
package/package.json
CHANGED
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
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];
|