@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/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[];
|
|
@@ -959,10 +958,18 @@ type Statistics = ModuleStatistics & ReturnType<UserAgentInformation["getUserAge
|
|
|
959
958
|
*/
|
|
960
959
|
channelGroupId?: string;
|
|
961
960
|
/**
|
|
962
|
-
* Time in milliseconds from
|
|
961
|
+
* Time in milliseconds from the first `connect()` call to playback of video and audio being started.
|
|
963
962
|
* Note that an actual frame render often happens much quicker, but that is not counted as TTFF.
|
|
963
|
+
* `timeToConnected` shares the same anchor, so `timeToFirstFrame - timeToConnected` is the
|
|
964
|
+
* post-transport portion (player bootstrap, media flow, decode, buffer fill, render).
|
|
964
965
|
*/
|
|
965
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;
|
|
966
973
|
streamToMediaElementEnabled?: boolean;
|
|
967
974
|
/** @deprecated */
|
|
968
975
|
iosMediaElementEnabled?: boolean;
|
|
@@ -1465,6 +1472,12 @@ interface ConnectionStatistics {
|
|
|
1465
1472
|
* A value of 1.0 means every connection attempt succeeded.
|
|
1466
1473
|
*/
|
|
1467
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;
|
|
1468
1481
|
connectionProtocol: "vindral_ws" | "moq" | "moq_ws" | undefined;
|
|
1469
1482
|
/**
|
|
1470
1483
|
* When connectionProtocol is "moq_ws", indicates why WebSocket was used instead of WebTransport.
|
|
@@ -2064,7 +2077,6 @@ declare class VindralMessage extends HTMLElement {
|
|
|
2064
2077
|
static observedAttributes: string[];
|
|
2065
2078
|
constructor();
|
|
2066
2079
|
connectedCallback(): void;
|
|
2067
|
-
disconnectedCallback(): void;
|
|
2068
2080
|
attributeChangedCallback(name: string, old: string, value: string): void;
|
|
2069
2081
|
}
|
|
2070
2082
|
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[];
|
|
@@ -961,10 +960,18 @@ type Statistics = ModuleStatistics & ReturnType<UserAgentInformation["getUserAge
|
|
|
961
960
|
*/
|
|
962
961
|
channelGroupId?: string;
|
|
963
962
|
/**
|
|
964
|
-
* Time in milliseconds from
|
|
963
|
+
* Time in milliseconds from the first `connect()` call to playback of video and audio being started.
|
|
965
964
|
* Note that an actual frame render often happens much quicker, but that is not counted as TTFF.
|
|
965
|
+
* `timeToConnected` shares the same anchor, so `timeToFirstFrame - timeToConnected` is the
|
|
966
|
+
* post-transport portion (player bootstrap, media flow, decode, buffer fill, render).
|
|
966
967
|
*/
|
|
967
968
|
timeToFirstFrame?: number;
|
|
969
|
+
/**
|
|
970
|
+
* Time in milliseconds from the first `connect()` call to the first successful transport/session connection.
|
|
971
|
+
* Includes failed connection attempts and edge failover before the connection is established.
|
|
972
|
+
* Does not wait for player bootstrap or media to start.
|
|
973
|
+
*/
|
|
974
|
+
timeToConnected?: number;
|
|
968
975
|
streamToMediaElementEnabled?: boolean;
|
|
969
976
|
/** @deprecated */
|
|
970
977
|
iosMediaElementEnabled?: boolean;
|
|
@@ -1467,6 +1474,12 @@ interface ConnectionStatistics {
|
|
|
1467
1474
|
* A value of 1.0 means every connection attempt succeeded.
|
|
1468
1475
|
*/
|
|
1469
1476
|
connectionSuccessRatio: number;
|
|
1477
|
+
/**
|
|
1478
|
+
* Time in milliseconds from the first connect() call to the first successful transport/session connection.
|
|
1479
|
+
* Includes failed attempts and edge failover before the connection is established.
|
|
1480
|
+
* Does not wait for player bootstrap or media to start.
|
|
1481
|
+
*/
|
|
1482
|
+
timeToConnected?: number;
|
|
1470
1483
|
connectionProtocol: "vindral_ws" | "moq" | "moq_ws" | undefined;
|
|
1471
1484
|
/**
|
|
1472
1485
|
* When connectionProtocol is "moq_ws", indicates why WebSocket was used instead of WebTransport.
|
|
@@ -2081,7 +2094,6 @@ declare class VindralMessage extends HTMLElement {
|
|
|
2081
2094
|
static observedAttributes: string[];
|
|
2082
2095
|
constructor();
|
|
2083
2096
|
connectedCallback(): void;
|
|
2084
|
-
disconnectedCallback(): void;
|
|
2085
2097
|
attributeChangedCallback(name: string, old: string, value: string): void;
|
|
2086
2098
|
}
|
|
2087
2099
|
type PlayOverlayAttributes = (typeof VindralPlayOverlay.observedAttributes)[number];
|