@vindral/web-sdk 4.2.1 → 4.3.0-1-gdda4d0a0
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/{ABGzdpO4.js → BFPgdE3l.js} +6 -6
- package/{D5iA4gy8.js → BdFcdkj1.js} +1 -1
- package/{CF-41rJe.js → CjPLLJi5.js} +2 -1
- package/{ST3epwLf.js → D79t40sZ.js} +479 -448
- package/{TRlsfsv0.js → Dl8nU3da.js} +2394 -2323
- package/cast-sender.js +1 -1
- package/core.d.ts +9 -0
- package/core.js +1 -1
- package/legacy.d.ts +9 -0
- package/legacy.es.js +3377 -3306
- package/legacy.umd.js +14 -14
- package/package.json +1 -1
- package/player.d.ts +11 -3
- package/player.js +3 -3
- package/react.d.ts +11 -3
- package/vindral-player-component.js +2 -2
package/cast-sender.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./
|
|
1
|
+
import { t as e } from "./BdFcdkj1.js";
|
|
2
2
|
export { e as CastSender };
|
package/core.d.ts
CHANGED
|
@@ -767,6 +767,7 @@ declare class ApiClient {
|
|
|
767
767
|
private toChannels;
|
|
768
768
|
private toChannel;
|
|
769
769
|
}
|
|
770
|
+
type TransportSelectionReason = "unsupported" | "disabled" | "unavailable" | "fallback";
|
|
770
771
|
interface AdaptivityStatistics {
|
|
771
772
|
/**
|
|
772
773
|
* True if adaptive bitrate (ABR) is enabled.
|
|
@@ -1592,6 +1593,14 @@ interface ConnectionStatistics {
|
|
|
1592
1593
|
*/
|
|
1593
1594
|
connectionSuccessRatio: number;
|
|
1594
1595
|
connectionProtocol: "vindral_ws" | "moq" | "moq_ws" | undefined;
|
|
1596
|
+
/**
|
|
1597
|
+
* When connectionProtocol is "moq_ws", indicates why WebSocket was used instead of WebTransport.
|
|
1598
|
+
* - "unsupported": browser doesn't support WebTransport
|
|
1599
|
+
* - "disabled": webtransportEnabled option is false
|
|
1600
|
+
* - "unavailable": edge did not offer a WebTransport endpoint
|
|
1601
|
+
* - "fallback": WebTransport was attempted but failed or timed out
|
|
1602
|
+
*/
|
|
1603
|
+
transportSelectionReason: TransportSelectionReason | undefined;
|
|
1595
1604
|
}
|
|
1596
1605
|
/**
|
|
1597
1606
|
* Contextual information about the language switch
|
package/core.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as e } from "./
|
|
1
|
+
import { t as e } from "./Dl8nU3da.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
|
@@ -782,6 +782,7 @@ export declare class ApiClient {
|
|
|
782
782
|
private toChannels;
|
|
783
783
|
private toChannel;
|
|
784
784
|
}
|
|
785
|
+
type TransportSelectionReason = "unsupported" | "disabled" | "unavailable" | "fallback";
|
|
785
786
|
interface AdaptivityStatistics {
|
|
786
787
|
/**
|
|
787
788
|
* True if adaptive bitrate (ABR) is enabled.
|
|
@@ -1607,6 +1608,14 @@ interface ConnectionStatistics {
|
|
|
1607
1608
|
*/
|
|
1608
1609
|
connectionSuccessRatio: number;
|
|
1609
1610
|
connectionProtocol: "vindral_ws" | "moq" | "moq_ws" | undefined;
|
|
1611
|
+
/**
|
|
1612
|
+
* When connectionProtocol is "moq_ws", indicates why WebSocket was used instead of WebTransport.
|
|
1613
|
+
* - "unsupported": browser doesn't support WebTransport
|
|
1614
|
+
* - "disabled": webtransportEnabled option is false
|
|
1615
|
+
* - "unavailable": edge did not offer a WebTransport endpoint
|
|
1616
|
+
* - "fallback": WebTransport was attempted but failed or timed out
|
|
1617
|
+
*/
|
|
1618
|
+
transportSelectionReason: TransportSelectionReason | undefined;
|
|
1610
1619
|
}
|
|
1611
1620
|
/**
|
|
1612
1621
|
* Contextual information about the language switch
|