@vindral/web-sdk 4.7.2-17-g3c99bc71 → 4.7.2-19-g73f005b3
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/{B4-xdAhj.js → B5AkaNFr.js} +1 -1
- package/{7wALr-wP.js → DozJ3J4w.js} +2422 -2331
- package/core.d.ts +16 -0
- package/core.js +1 -1
- package/legacy.d.ts +16 -0
- package/legacy.es.js +758 -665
- package/legacy.umd.js +8 -8
- package/package.json +1 -1
- package/player.d.ts +16 -0
- package/player.js +2 -2
- package/react.d.ts +16 -0
- package/vindral-player-component.js +2 -2
package/core.d.ts
CHANGED
|
@@ -1250,6 +1250,8 @@ export declare class Vindral extends Emitter<PublicVindralEvents> {
|
|
|
1250
1250
|
private offscreenCanvasElement?;
|
|
1251
1251
|
private webCodecsRenditionSupport;
|
|
1252
1252
|
private hasCalledConnect;
|
|
1253
|
+
/** The last upgrade check held, so the hold is logged once. */
|
|
1254
|
+
private upgradeHeld;
|
|
1253
1255
|
private hasRequestedAudioSession;
|
|
1254
1256
|
private isUserPaused;
|
|
1255
1257
|
/** Only the sinks that carry the audio report this, so a paused element here means silence. */
|
|
@@ -1573,6 +1575,8 @@ export declare class Vindral extends Emitter<PublicVindralEvents> {
|
|
|
1573
1575
|
private updateTextTracks;
|
|
1574
1576
|
private cleanupTextTracks;
|
|
1575
1577
|
private filterRenditions;
|
|
1578
|
+
/** The buffer lags behind the link: no upgrade while it queues, or while it is still unknown on a new connection. */
|
|
1579
|
+
private linkHoldsUpgrade;
|
|
1576
1580
|
/** Whether the bandwidth leaves room for a join burst of the video and audio the player starts at. */
|
|
1577
1581
|
private burstFits;
|
|
1578
1582
|
/**
|
|
@@ -1746,6 +1750,12 @@ interface ConnectionStatistics {
|
|
|
1746
1750
|
* Total number of connections that have been established since instantiation.
|
|
1747
1751
|
*/
|
|
1748
1752
|
connectCount: number;
|
|
1753
|
+
/**
|
|
1754
|
+
* Connections closed since instantiation because media queued too long between the edge and this client: missed
|
|
1755
|
+
* pings on vindral_ws, the link-queue breaker on moq_ws. With ABR on, the reconnect drops a pending upgrade or
|
|
1756
|
+
* targets one level lower, unless the player is at the lowest level or switching channel.
|
|
1757
|
+
*/
|
|
1758
|
+
backlogReconnectCount: number;
|
|
1749
1759
|
/**
|
|
1750
1760
|
* Total number of connection attempts since instantiation.
|
|
1751
1761
|
*/
|
|
@@ -1773,6 +1783,12 @@ interface ConnectionStatistics {
|
|
|
1773
1783
|
* Unset while reconnecting; once disconnected, the last connection's.
|
|
1774
1784
|
*/
|
|
1775
1785
|
transportSelectionReason: TransportSelectionReason | undefined;
|
|
1786
|
+
/**
|
|
1787
|
+
* Media queued between the edge and this client over the last 30 seconds, in milliseconds, measured from the edge's
|
|
1788
|
+
* periodic timing info (vindral_ws) or stats (moq_ws). `last` is the current level. Unset while unknown and on
|
|
1789
|
+
* WebTransport. Arrival is read on the main thread, so a busy main thread (WASM decode, a heavy page) also counts.
|
|
1790
|
+
*/
|
|
1791
|
+
linkQueue?: MinMaxAverage;
|
|
1776
1792
|
}
|
|
1777
1793
|
/**
|
|
1778
1794
|
* Contextual information about the language switch
|
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 "./DozJ3J4w.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
|
@@ -1265,6 +1265,8 @@ export declare class Vindral extends Emitter<PublicVindralEvents> {
|
|
|
1265
1265
|
private offscreenCanvasElement?;
|
|
1266
1266
|
private webCodecsRenditionSupport;
|
|
1267
1267
|
private hasCalledConnect;
|
|
1268
|
+
/** The last upgrade check held, so the hold is logged once. */
|
|
1269
|
+
private upgradeHeld;
|
|
1268
1270
|
private hasRequestedAudioSession;
|
|
1269
1271
|
private isUserPaused;
|
|
1270
1272
|
/** Only the sinks that carry the audio report this, so a paused element here means silence. */
|
|
@@ -1588,6 +1590,8 @@ export declare class Vindral extends Emitter<PublicVindralEvents> {
|
|
|
1588
1590
|
private updateTextTracks;
|
|
1589
1591
|
private cleanupTextTracks;
|
|
1590
1592
|
private filterRenditions;
|
|
1593
|
+
/** The buffer lags behind the link: no upgrade while it queues, or while it is still unknown on a new connection. */
|
|
1594
|
+
private linkHoldsUpgrade;
|
|
1591
1595
|
/** Whether the bandwidth leaves room for a join burst of the video and audio the player starts at. */
|
|
1592
1596
|
private burstFits;
|
|
1593
1597
|
/**
|
|
@@ -1761,6 +1765,12 @@ interface ConnectionStatistics {
|
|
|
1761
1765
|
* Total number of connections that have been established since instantiation.
|
|
1762
1766
|
*/
|
|
1763
1767
|
connectCount: number;
|
|
1768
|
+
/**
|
|
1769
|
+
* Connections closed since instantiation because media queued too long between the edge and this client: missed
|
|
1770
|
+
* pings on vindral_ws, the link-queue breaker on moq_ws. With ABR on, the reconnect drops a pending upgrade or
|
|
1771
|
+
* targets one level lower, unless the player is at the lowest level or switching channel.
|
|
1772
|
+
*/
|
|
1773
|
+
backlogReconnectCount: number;
|
|
1764
1774
|
/**
|
|
1765
1775
|
* Total number of connection attempts since instantiation.
|
|
1766
1776
|
*/
|
|
@@ -1788,6 +1798,12 @@ interface ConnectionStatistics {
|
|
|
1788
1798
|
* Unset while reconnecting; once disconnected, the last connection's.
|
|
1789
1799
|
*/
|
|
1790
1800
|
transportSelectionReason: TransportSelectionReason | undefined;
|
|
1801
|
+
/**
|
|
1802
|
+
* Media queued between the edge and this client over the last 30 seconds, in milliseconds, measured from the edge's
|
|
1803
|
+
* periodic timing info (vindral_ws) or stats (moq_ws). `last` is the current level. Unset while unknown and on
|
|
1804
|
+
* WebTransport. Arrival is read on the main thread, so a busy main thread (WASM decode, a heavy page) also counts.
|
|
1805
|
+
*/
|
|
1806
|
+
linkQueue?: MinMaxAverage;
|
|
1791
1807
|
}
|
|
1792
1808
|
/**
|
|
1793
1809
|
* Contextual information about the language switch
|