@vindral/web-sdk 4.3.0-3-g6f983fb9 → 4.3.0-5-ga57504ef
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/{kU5yMyhw.js → BB6Fyi3Y.js} +379 -357
- package/{CJnUarO_.js → DAK07riM.js} +1 -1
- package/core.d.ts +12 -0
- package/core.js +1 -1
- package/legacy.d.ts +12 -0
- package/legacy.es.js +1935 -1913
- package/legacy.umd.js +8 -8
- package/package.json +1 -1
- package/player.d.ts +12 -0
- package/player.js +2 -2
- package/react.d.ts +12 -0
- package/vindral-player-component.js +2 -2
package/package.json
CHANGED
package/player.d.ts
CHANGED
|
@@ -963,6 +963,12 @@ type Statistics = ModuleStatistics & ReturnType<UserAgentInformation["getUserAge
|
|
|
963
963
|
* Note that an actual frame render often happens much quicker, but that is not counted as TTFF.
|
|
964
964
|
*/
|
|
965
965
|
timeToFirstFrame?: number;
|
|
966
|
+
/**
|
|
967
|
+
* Time in milliseconds from the first `connect()` call to the first successful transport/session connection.
|
|
968
|
+
* Includes failed connection attempts and edge failover before the connection is established.
|
|
969
|
+
* Does not wait for player bootstrap or media to start.
|
|
970
|
+
*/
|
|
971
|
+
timeToConnected?: number;
|
|
966
972
|
streamToMediaElementEnabled?: boolean;
|
|
967
973
|
/** @deprecated */
|
|
968
974
|
iosMediaElementEnabled?: boolean;
|
|
@@ -1465,6 +1471,12 @@ interface ConnectionStatistics {
|
|
|
1465
1471
|
* A value of 1.0 means every connection attempt succeeded.
|
|
1466
1472
|
*/
|
|
1467
1473
|
connectionSuccessRatio: number;
|
|
1474
|
+
/**
|
|
1475
|
+
* Time in milliseconds from the first connect() call to the first successful transport/session connection.
|
|
1476
|
+
* Includes failed attempts and edge failover before the connection is established.
|
|
1477
|
+
* Does not wait for player bootstrap or media to start.
|
|
1478
|
+
*/
|
|
1479
|
+
timeToConnected?: number;
|
|
1468
1480
|
connectionProtocol: "vindral_ws" | "moq" | "moq_ws" | undefined;
|
|
1469
1481
|
/**
|
|
1470
1482
|
* When connectionProtocol is "moq_ws", indicates why WebSocket was used instead of WebTransport.
|
package/player.js
CHANGED
package/react.d.ts
CHANGED
|
@@ -965,6 +965,12 @@ type Statistics = ModuleStatistics & ReturnType<UserAgentInformation["getUserAge
|
|
|
965
965
|
* Note that an actual frame render often happens much quicker, but that is not counted as TTFF.
|
|
966
966
|
*/
|
|
967
967
|
timeToFirstFrame?: number;
|
|
968
|
+
/**
|
|
969
|
+
* Time in milliseconds from the first `connect()` call to the first successful transport/session connection.
|
|
970
|
+
* Includes failed connection attempts and edge failover before the connection is established.
|
|
971
|
+
* Does not wait for player bootstrap or media to start.
|
|
972
|
+
*/
|
|
973
|
+
timeToConnected?: number;
|
|
968
974
|
streamToMediaElementEnabled?: boolean;
|
|
969
975
|
/** @deprecated */
|
|
970
976
|
iosMediaElementEnabled?: boolean;
|
|
@@ -1467,6 +1473,12 @@ interface ConnectionStatistics {
|
|
|
1467
1473
|
* A value of 1.0 means every connection attempt succeeded.
|
|
1468
1474
|
*/
|
|
1469
1475
|
connectionSuccessRatio: number;
|
|
1476
|
+
/**
|
|
1477
|
+
* Time in milliseconds from the first connect() call to the first successful transport/session connection.
|
|
1478
|
+
* Includes failed attempts and edge failover before the connection is established.
|
|
1479
|
+
* Does not wait for player bootstrap or media to start.
|
|
1480
|
+
*/
|
|
1481
|
+
timeToConnected?: number;
|
|
1470
1482
|
connectionProtocol: "vindral_ws" | "moq" | "moq_ws" | undefined;
|
|
1471
1483
|
/**
|
|
1472
1484
|
* When connectionProtocol is "moq_ws", indicates why WebSocket was used instead of WebTransport.
|