@vindral/web-sdk 4.7.2-25-g15665d0a → 4.7.2-26-g8b5e1b27
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/{eYZC5p_R.js → CBrlDmUn.js} +1 -1
- package/cast-sender.d.ts +3 -0
- package/core.d.ts +11 -8
- package/core.js +1 -1
- package/{Cc5JtoJo.js → jG3XdcLo.js} +1695 -1662
- package/legacy.d.ts +11 -8
- package/legacy.es.js +522 -489
- package/legacy.umd.js +8 -8
- package/package.json +1 -1
- package/player.d.ts +11 -8
- package/player.js +2 -2
- package/react.d.ts +11 -8
- package/vindral-player-component.js +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as e, t } from "./BsfwXDui.js";
|
|
2
|
-
import { C as n, D as r, E as i, O as a, S as o, T as s, _ as c, b as l, g as u, h as d, k as f, m as ee, p as te, t as ne, v as re, w as ie, x as ae, y as oe } from "./
|
|
2
|
+
import { C as n, D as r, E as i, O as a, S as o, T as s, _ as c, b as l, g as u, h as d, k as f, m as ee, p as te, t as ne, v as re, w as ie, x as ae, y as oe } from "./jG3XdcLo.js";
|
|
3
3
|
import { t as se } from "./CuYn2z5X.js";
|
|
4
4
|
import { i as p, n as m, r as h, t as g } from "./DSw1XhvD.js";
|
|
5
5
|
import { c as ce, n as le, t as ue } from "./D40eQS8l.js";
|
package/cast-sender.d.ts
CHANGED
|
@@ -299,6 +299,9 @@ interface Options {
|
|
|
299
299
|
* Note: the ReconnectState gets reset every time the client instance makes a successful connection.
|
|
300
300
|
* This means the default reconnect handler will only stop reconnecting after 30 _consecutive_ failed connections.
|
|
301
301
|
*
|
|
302
|
+
* While the page is hidden, a failure counts toward `reconnectRetries` only when the server answered: the channel
|
|
303
|
+
* is not live or not found, or the connect request got a 4xx other than 408 or 429. Retries back off up to 30 seconds.
|
|
304
|
+
*
|
|
302
305
|
* ```typescript
|
|
303
306
|
* // An example reconnect handler that will reconnect forever
|
|
304
307
|
* const reconnectHandler = (state: ReconnectState) => true
|
package/core.d.ts
CHANGED
|
@@ -408,6 +408,9 @@ export interface Options {
|
|
|
408
408
|
* Note: the ReconnectState gets reset every time the client instance makes a successful connection.
|
|
409
409
|
* This means the default reconnect handler will only stop reconnecting after 30 _consecutive_ failed connections.
|
|
410
410
|
*
|
|
411
|
+
* While the page is hidden, a failure counts toward `reconnectRetries` only when the server answered: the channel
|
|
412
|
+
* is not live or not found, or the connect request got a 4xx other than 408 or 429. Retries back off up to 30 seconds.
|
|
413
|
+
*
|
|
411
414
|
* ```typescript
|
|
412
415
|
* // An example reconnect handler that will reconnect forever
|
|
413
416
|
* const reconnectHandler = (state: ReconnectState) => true
|
|
@@ -835,6 +838,14 @@ declare class ApiClient {
|
|
|
835
838
|
private toChannel;
|
|
836
839
|
}
|
|
837
840
|
type TransportSelectionReason = "unsupported" | "disabled" | "disabled_unstable_browser" | "unavailable" | "fallback";
|
|
841
|
+
interface DocumentStateModulesStatistics extends NavigatorConnectionStatistics {
|
|
842
|
+
isVisible: boolean;
|
|
843
|
+
isOnline: boolean;
|
|
844
|
+
isVisibleCount: number;
|
|
845
|
+
isHiddenCount: number;
|
|
846
|
+
isOnlineCount: number;
|
|
847
|
+
isOfflineCount: number;
|
|
848
|
+
}
|
|
838
849
|
interface AdaptivityStatistics {
|
|
839
850
|
/**
|
|
840
851
|
* True if adaptive bitrate (ABR) is enabled.
|
|
@@ -930,14 +941,6 @@ interface DecoderStatistics {
|
|
|
930
941
|
audioRenderer?: "AudioContext" | "MSE";
|
|
931
942
|
audioDecoder?: "WebCodecs" | "WASM" | "MSE";
|
|
932
943
|
}
|
|
933
|
-
interface DocumentStateModulesStatistics extends NavigatorConnectionStatistics {
|
|
934
|
-
isVisible: boolean;
|
|
935
|
-
isOnline: boolean;
|
|
936
|
-
isVisibleCount: number;
|
|
937
|
-
isHiddenCount: number;
|
|
938
|
-
isOnlineCount: number;
|
|
939
|
-
isOfflineCount: number;
|
|
940
|
-
}
|
|
941
944
|
interface IncomingDataModuleStatistics {
|
|
942
945
|
/**
|
|
943
946
|
* Current video bitrate in bits/second.
|
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 "./jG3XdcLo.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 };
|