@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as e, t } from "./BsfwXDui.js";
|
|
2
|
-
import { _ as n, a as r, c as i, d as a, f as o, g as s, h as c, i as ee, l, m as te, n as u, o as ne, p as re, r as ie, s as ae, t as oe, u as se, v as ce } from "./
|
|
2
|
+
import { _ as n, a as r, c as i, d as a, f as o, g as s, h as c, i as ee, l, m as te, n as u, o as ne, p as re, r as ie, s as ae, t as oe, u as se, v as ce } from "./BB6Fyi3Y.js";
|
|
3
3
|
import { M as le } from "./C01DcfYu.js";
|
|
4
4
|
import { a as d, i as f, n as p, r as m, t as h } from "./B7hT-BKr.js";
|
|
5
5
|
import { n as ue, t as de } from "./DeYmk5AL.js";
|
package/core.d.ts
CHANGED
|
@@ -1047,6 +1047,12 @@ export type Statistics = ModuleStatistics & ReturnType<UserAgentInformation["get
|
|
|
1047
1047
|
* Note that an actual frame render often happens much quicker, but that is not counted as TTFF.
|
|
1048
1048
|
*/
|
|
1049
1049
|
timeToFirstFrame?: number;
|
|
1050
|
+
/**
|
|
1051
|
+
* Time in milliseconds from the first `connect()` call to the first successful transport/session connection.
|
|
1052
|
+
* Includes failed connection attempts and edge failover before the connection is established.
|
|
1053
|
+
* Does not wait for player bootstrap or media to start.
|
|
1054
|
+
*/
|
|
1055
|
+
timeToConnected?: number;
|
|
1050
1056
|
streamToMediaElementEnabled?: boolean;
|
|
1051
1057
|
/** @deprecated */
|
|
1052
1058
|
iosMediaElementEnabled?: boolean;
|
|
@@ -1592,6 +1598,12 @@ interface ConnectionStatistics {
|
|
|
1592
1598
|
* A value of 1.0 means every connection attempt succeeded.
|
|
1593
1599
|
*/
|
|
1594
1600
|
connectionSuccessRatio: number;
|
|
1601
|
+
/**
|
|
1602
|
+
* Time in milliseconds from the first connect() call to the first successful transport/session connection.
|
|
1603
|
+
* Includes failed attempts and edge failover before the connection is established.
|
|
1604
|
+
* Does not wait for player bootstrap or media to start.
|
|
1605
|
+
*/
|
|
1606
|
+
timeToConnected?: number;
|
|
1595
1607
|
connectionProtocol: "vindral_ws" | "moq" | "moq_ws" | undefined;
|
|
1596
1608
|
/**
|
|
1597
1609
|
* 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 "./
|
|
1
|
+
import { t as e } from "./BB6Fyi3Y.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
|
@@ -1062,6 +1062,12 @@ export type Statistics = ModuleStatistics & ReturnType<UserAgentInformation["get
|
|
|
1062
1062
|
* Note that an actual frame render often happens much quicker, but that is not counted as TTFF.
|
|
1063
1063
|
*/
|
|
1064
1064
|
timeToFirstFrame?: number;
|
|
1065
|
+
/**
|
|
1066
|
+
* Time in milliseconds from the first `connect()` call to the first successful transport/session connection.
|
|
1067
|
+
* Includes failed connection attempts and edge failover before the connection is established.
|
|
1068
|
+
* Does not wait for player bootstrap or media to start.
|
|
1069
|
+
*/
|
|
1070
|
+
timeToConnected?: number;
|
|
1065
1071
|
streamToMediaElementEnabled?: boolean;
|
|
1066
1072
|
/** @deprecated */
|
|
1067
1073
|
iosMediaElementEnabled?: boolean;
|
|
@@ -1607,6 +1613,12 @@ interface ConnectionStatistics {
|
|
|
1607
1613
|
* A value of 1.0 means every connection attempt succeeded.
|
|
1608
1614
|
*/
|
|
1609
1615
|
connectionSuccessRatio: number;
|
|
1616
|
+
/**
|
|
1617
|
+
* Time in milliseconds from the first connect() call to the first successful transport/session connection.
|
|
1618
|
+
* Includes failed attempts and edge failover before the connection is established.
|
|
1619
|
+
* Does not wait for player bootstrap or media to start.
|
|
1620
|
+
*/
|
|
1621
|
+
timeToConnected?: number;
|
|
1610
1622
|
connectionProtocol: "vindral_ws" | "moq" | "moq_ws" | undefined;
|
|
1611
1623
|
/**
|
|
1612
1624
|
* When connectionProtocol is "moq_ws", indicates why WebSocket was used instead of WebTransport.
|