@vindral/web-sdk 4.7.1 → 4.7.2-1-g49d73f7f
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/{wRfUpHJt.js → YuzOg3X6.js} +788 -785
- package/cast-sender.d.ts +11 -0
- package/core.d.ts +13 -1
- package/core.js +1 -1
- package/{BZbYOX-0.js → ksXX-BNs.js} +2986 -2945
- package/legacy.d.ts +13 -1
- package/legacy.es.js +3764 -3723
- package/legacy.umd.js +16 -16
- package/package.json +1 -1
- package/player.d.ts +15 -2
- package/player.js +2 -2
- package/react.d.ts +15 -2
- package/vindral-player-component.js +2 -2
package/legacy.d.ts
CHANGED
|
@@ -425,6 +425,17 @@ export interface Options {
|
|
|
425
425
|
logShippingEnabled?: boolean;
|
|
426
426
|
statsShippingEnabled?: boolean;
|
|
427
427
|
webtransportEnabled?: boolean;
|
|
428
|
+
/**
|
|
429
|
+
* Use WebTransport for MoQ on browsers where it is unstable. When false, these connect MoQ over
|
|
430
|
+
* WebSocket directly. Unstable browsers:
|
|
431
|
+
* - Safari and every iOS/iPadOS browser (all WebKit): far more buffering than over WebSocket.
|
|
432
|
+
* - Samsung Internet on Tizen Smart TVs: WebTransport connects fail and fall back to WebSocket.
|
|
433
|
+
*
|
|
434
|
+
* Has no effect when webtransportEnabled is false.
|
|
435
|
+
*
|
|
436
|
+
* Default is false.
|
|
437
|
+
*/
|
|
438
|
+
unstableWebtransportEnabled?: boolean;
|
|
428
439
|
/**
|
|
429
440
|
* Enable wake lock for iOS devices.
|
|
430
441
|
* The wake lock requires that the audio has been activated at least once for the instance, othwerwise it will not work.
|
|
@@ -834,7 +845,7 @@ export declare class ApiClient {
|
|
|
834
845
|
private toChannels;
|
|
835
846
|
private toChannel;
|
|
836
847
|
}
|
|
837
|
-
type TransportSelectionReason = "unsupported" | "disabled" | "unavailable" | "fallback";
|
|
848
|
+
type TransportSelectionReason = "unsupported" | "disabled" | "disabled_unstable_browser" | "unavailable" | "fallback";
|
|
838
849
|
interface AdaptivityStatistics {
|
|
839
850
|
/**
|
|
840
851
|
* True if adaptive bitrate (ABR) is enabled.
|
|
@@ -1767,6 +1778,7 @@ interface ConnectionStatistics {
|
|
|
1767
1778
|
* When connectionProtocol is "moq_ws", indicates why WebSocket was used instead of WebTransport.
|
|
1768
1779
|
* - "unsupported": browser doesn't support WebTransport
|
|
1769
1780
|
* - "disabled": webtransportEnabled option is false
|
|
1781
|
+
* - "disabled_unstable_browser": browser with unstable WebTransport, and unstableWebtransportEnabled option is false
|
|
1770
1782
|
* - "unavailable": edge did not offer a WebTransport endpoint
|
|
1771
1783
|
* - "fallback": WebTransport was attempted but failed or timed out
|
|
1772
1784
|
* Unset while reconnecting; once disconnected, the last connection's.
|