@vindral/web-sdk 4.7.0 → 4.7.1-10-g16084e8a
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/{Ctk0PAlI.js → BK-84KPi.js} +1 -1
- package/{5u5UZABw.js → BVBH0VM9.js} +3290 -2903
- package/{DYgG1Gmb.js → DjZxyh_V.js} +790 -787
- package/{Bo-fEHbb.js → XEQIIc9P.js} +3 -3
- package/cast-sender.d.ts +11 -0
- package/core.d.ts +13 -1
- package/core.js +1 -1
- package/legacy.d.ts +13 -1
- package/legacy.es.js +3344 -2957
- package/legacy.umd.js +16 -16
- package/package.json +1 -1
- package/player.d.ts +15 -2
- package/player.js +3 -3
- package/react.d.ts +15 -2
- package/vindral-player-component.js +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as e, t } from "./BsfwXDui.js";
|
|
2
2
|
import { i as n, n as r, r as i, t as a } from "./DSw1XhvD.js";
|
|
3
3
|
import { t as o } from "./D1kpe8tT.js";
|
|
4
|
-
import { C as s, S as c, b as l, i as u, r as ee, t as d, y as f } from "./
|
|
4
|
+
import { C as s, S as c, b as l, i as u, r as ee, t as d, y as f } from "./BK-84KPi.js";
|
|
5
5
|
import { t as p } from "./Tj9xPXja.js";
|
|
6
6
|
//#region \0rolldown/runtime.js
|
|
7
7
|
var m = Object.defineProperty, h = (e, t) => {
|
|
@@ -1153,7 +1153,7 @@ function De() {
|
|
|
1153
1153
|
function Oe() {
|
|
1154
1154
|
if (!a(H, this) || !a(W, this) || !a(U, this)) return;
|
|
1155
1155
|
let { scrollLeft: e, scrollWidth: t, clientWidth: n } = a(W, this), r = t > n + 4, i = e + n >= t - 4;
|
|
1156
|
-
a(H, this).setAttribute("data-visible", String(r)), a(H, this).innerHTML = i ? le : ce, a(U, this).
|
|
1156
|
+
a(H, this).setAttribute("data-visible", String(r)), a(H, this).innerHTML = i ? le : ce, r && !i ? a(U, this).setAttribute("data-can-scroll-right", "") : a(U, this).removeAttribute("data-can-scroll-right");
|
|
1157
1157
|
}
|
|
1158
1158
|
function ke(e) {
|
|
1159
1159
|
let t = i(G, this, K).call(this, `.section#${e}`);
|
|
@@ -1168,7 +1168,7 @@ function Ae(e, t) {
|
|
|
1168
1168
|
o && (o.setAttribute("data-active", String(t)), o.setAttribute("aria-pressed", String(t)), !a(O, this) && r !== t && i(G, this, Ie).call(this), e === "events-section" && t && a(V, this) && i(G, this, Et).call(this, !0), i(G, this, je).call(this));
|
|
1169
1169
|
}
|
|
1170
1170
|
function je() {
|
|
1171
|
-
|
|
1171
|
+
i(G, this, Ne).call(this).length === 0 ? this.setAttribute("data-collapsed", "") : this.removeAttribute("data-collapsed");
|
|
1172
1172
|
}
|
|
1173
1173
|
function Me() {
|
|
1174
1174
|
var e;
|
package/cast-sender.d.ts
CHANGED
|
@@ -317,6 +317,17 @@ interface Options {
|
|
|
317
317
|
logShippingEnabled?: boolean;
|
|
318
318
|
statsShippingEnabled?: boolean;
|
|
319
319
|
webtransportEnabled?: boolean;
|
|
320
|
+
/**
|
|
321
|
+
* Use WebTransport for MoQ on browsers where it is unstable. When false, these connect MoQ over
|
|
322
|
+
* WebSocket directly. Unstable browsers:
|
|
323
|
+
* - Safari and every iOS/iPadOS browser (all WebKit): far more buffering than over WebSocket.
|
|
324
|
+
* - Samsung Internet on Tizen Smart TVs: WebTransport connects fail and fall back to WebSocket.
|
|
325
|
+
*
|
|
326
|
+
* Has no effect when webtransportEnabled is false.
|
|
327
|
+
*
|
|
328
|
+
* Default is false.
|
|
329
|
+
*/
|
|
330
|
+
unstableWebtransportEnabled?: boolean;
|
|
320
331
|
/**
|
|
321
332
|
* Enable wake lock for iOS devices.
|
|
322
333
|
* The wake lock requires that the audio has been activated at least once for the instance, othwerwise it will not work.
|
package/core.d.ts
CHANGED
|
@@ -422,6 +422,17 @@ export interface Options {
|
|
|
422
422
|
logShippingEnabled?: boolean;
|
|
423
423
|
statsShippingEnabled?: boolean;
|
|
424
424
|
webtransportEnabled?: boolean;
|
|
425
|
+
/**
|
|
426
|
+
* Use WebTransport for MoQ on browsers where it is unstable. When false, these connect MoQ over
|
|
427
|
+
* WebSocket directly. Unstable browsers:
|
|
428
|
+
* - Safari and every iOS/iPadOS browser (all WebKit): far more buffering than over WebSocket.
|
|
429
|
+
* - Samsung Internet on Tizen Smart TVs: WebTransport connects fail and fall back to WebSocket.
|
|
430
|
+
*
|
|
431
|
+
* Has no effect when webtransportEnabled is false.
|
|
432
|
+
*
|
|
433
|
+
* Default is false.
|
|
434
|
+
*/
|
|
435
|
+
unstableWebtransportEnabled?: boolean;
|
|
425
436
|
/**
|
|
426
437
|
* Enable wake lock for iOS devices.
|
|
427
438
|
* The wake lock requires that the audio has been activated at least once for the instance, othwerwise it will not work.
|
|
@@ -819,7 +830,7 @@ declare class ApiClient {
|
|
|
819
830
|
private toChannels;
|
|
820
831
|
private toChannel;
|
|
821
832
|
}
|
|
822
|
-
type TransportSelectionReason = "unsupported" | "disabled" | "unavailable" | "fallback";
|
|
833
|
+
type TransportSelectionReason = "unsupported" | "disabled" | "disabled_unstable_browser" | "unavailable" | "fallback";
|
|
823
834
|
interface AdaptivityStatistics {
|
|
824
835
|
/**
|
|
825
836
|
* True if adaptive bitrate (ABR) is enabled.
|
|
@@ -1752,6 +1763,7 @@ interface ConnectionStatistics {
|
|
|
1752
1763
|
* When connectionProtocol is "moq_ws", indicates why WebSocket was used instead of WebTransport.
|
|
1753
1764
|
* - "unsupported": browser doesn't support WebTransport
|
|
1754
1765
|
* - "disabled": webtransportEnabled option is false
|
|
1766
|
+
* - "disabled_unstable_browser": browser with unstable WebTransport, and unstableWebtransportEnabled option is false
|
|
1755
1767
|
* - "unavailable": edge did not offer a WebTransport endpoint
|
|
1756
1768
|
* - "fallback": WebTransport was attempted but failed or timed out
|
|
1757
1769
|
* Unset while reconnecting; once disconnected, the last connection's.
|
package/core.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, f as r, i, l as a, o, r as s, s as c, t as l, u } from "./
|
|
1
|
+
import { a as e, c as t, d as n, f as r, i, l as a, o, r as s, s as c, t as l, u } from "./BVBH0VM9.js";
|
|
2
2
|
export { s as AUTHENTICATION_EXPIRED_CODE, i as AUTHENTICATION_FAILED_CODE, e as CHANNEL_NOT_FOUND_CODE, o as CHANNEL_NOT_LIVE_CODE, c as CONNECTION_FAILED_AFTER_RETRIES_CODE, t as CONNECTION_FAILED_CODE, a as DISCONNECTED_BY_EDGE, u as INACTIVITY_CODE, n as NO_INCOMING_DATA, l as Vindral, r as VindralError };
|
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.
|