@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/package.json
CHANGED
package/player.d.ts
CHANGED
|
@@ -1129,6 +1129,8 @@ declare class Vindral extends Emitter<PublicVindralEvents> {
|
|
|
1129
1129
|
private offscreenCanvasElement?;
|
|
1130
1130
|
private webCodecsRenditionSupport;
|
|
1131
1131
|
private hasCalledConnect;
|
|
1132
|
+
/** The last upgrade check held, so the hold is logged once. */
|
|
1133
|
+
private upgradeHeld;
|
|
1132
1134
|
private hasRequestedAudioSession;
|
|
1133
1135
|
private isUserPaused;
|
|
1134
1136
|
/** Only the sinks that carry the audio report this, so a paused element here means silence. */
|
|
@@ -1452,6 +1454,8 @@ declare class Vindral extends Emitter<PublicVindralEvents> {
|
|
|
1452
1454
|
private updateTextTracks;
|
|
1453
1455
|
private cleanupTextTracks;
|
|
1454
1456
|
private filterRenditions;
|
|
1457
|
+
/** The buffer lags behind the link: no upgrade while it queues, or while it is still unknown on a new connection. */
|
|
1458
|
+
private linkHoldsUpgrade;
|
|
1455
1459
|
/** Whether the bandwidth leaves room for a join burst of the video and audio the player starts at. */
|
|
1456
1460
|
private burstFits;
|
|
1457
1461
|
/**
|
|
@@ -1618,6 +1622,12 @@ interface ConnectionStatistics {
|
|
|
1618
1622
|
* Total number of connections that have been established since instantiation.
|
|
1619
1623
|
*/
|
|
1620
1624
|
connectCount: number;
|
|
1625
|
+
/**
|
|
1626
|
+
* Connections closed since instantiation because media queued too long between the edge and this client: missed
|
|
1627
|
+
* pings on vindral_ws, the link-queue breaker on moq_ws. With ABR on, the reconnect drops a pending upgrade or
|
|
1628
|
+
* targets one level lower, unless the player is at the lowest level or switching channel.
|
|
1629
|
+
*/
|
|
1630
|
+
backlogReconnectCount: number;
|
|
1621
1631
|
/**
|
|
1622
1632
|
* Total number of connection attempts since instantiation.
|
|
1623
1633
|
*/
|
|
@@ -1645,6 +1655,12 @@ interface ConnectionStatistics {
|
|
|
1645
1655
|
* Unset while reconnecting; once disconnected, the last connection's.
|
|
1646
1656
|
*/
|
|
1647
1657
|
transportSelectionReason: TransportSelectionReason | undefined;
|
|
1658
|
+
/**
|
|
1659
|
+
* Media queued between the edge and this client over the last 30 seconds, in milliseconds, measured from the edge's
|
|
1660
|
+
* periodic timing info (vindral_ws) or stats (moq_ws). `last` is the current level. Unset while unknown and on
|
|
1661
|
+
* WebTransport. Arrival is read on the main thread, so a busy main thread (WASM decode, a heavy page) also counts.
|
|
1662
|
+
*/
|
|
1663
|
+
linkQueue?: MinMaxAverage;
|
|
1648
1664
|
}
|
|
1649
1665
|
interface LanguageSwitchContext {
|
|
1650
1666
|
/**
|
package/player.js
CHANGED
package/react.d.ts
CHANGED
|
@@ -1131,6 +1131,8 @@ declare class Vindral extends Emitter<PublicVindralEvents> {
|
|
|
1131
1131
|
private offscreenCanvasElement?;
|
|
1132
1132
|
private webCodecsRenditionSupport;
|
|
1133
1133
|
private hasCalledConnect;
|
|
1134
|
+
/** The last upgrade check held, so the hold is logged once. */
|
|
1135
|
+
private upgradeHeld;
|
|
1134
1136
|
private hasRequestedAudioSession;
|
|
1135
1137
|
private isUserPaused;
|
|
1136
1138
|
/** Only the sinks that carry the audio report this, so a paused element here means silence. */
|
|
@@ -1454,6 +1456,8 @@ declare class Vindral extends Emitter<PublicVindralEvents> {
|
|
|
1454
1456
|
private updateTextTracks;
|
|
1455
1457
|
private cleanupTextTracks;
|
|
1456
1458
|
private filterRenditions;
|
|
1459
|
+
/** The buffer lags behind the link: no upgrade while it queues, or while it is still unknown on a new connection. */
|
|
1460
|
+
private linkHoldsUpgrade;
|
|
1457
1461
|
/** Whether the bandwidth leaves room for a join burst of the video and audio the player starts at. */
|
|
1458
1462
|
private burstFits;
|
|
1459
1463
|
/**
|
|
@@ -1620,6 +1624,12 @@ interface ConnectionStatistics {
|
|
|
1620
1624
|
* Total number of connections that have been established since instantiation.
|
|
1621
1625
|
*/
|
|
1622
1626
|
connectCount: number;
|
|
1627
|
+
/**
|
|
1628
|
+
* Connections closed since instantiation because media queued too long between the edge and this client: missed
|
|
1629
|
+
* pings on vindral_ws, the link-queue breaker on moq_ws. With ABR on, the reconnect drops a pending upgrade or
|
|
1630
|
+
* targets one level lower, unless the player is at the lowest level or switching channel.
|
|
1631
|
+
*/
|
|
1632
|
+
backlogReconnectCount: number;
|
|
1623
1633
|
/**
|
|
1624
1634
|
* Total number of connection attempts since instantiation.
|
|
1625
1635
|
*/
|
|
@@ -1647,6 +1657,12 @@ interface ConnectionStatistics {
|
|
|
1647
1657
|
* Unset while reconnecting; once disconnected, the last connection's.
|
|
1648
1658
|
*/
|
|
1649
1659
|
transportSelectionReason: TransportSelectionReason | undefined;
|
|
1660
|
+
/**
|
|
1661
|
+
* Media queued between the edge and this client over the last 30 seconds, in milliseconds, measured from the edge's
|
|
1662
|
+
* periodic timing info (vindral_ws) or stats (moq_ws). `last` is the current level. Unset while unknown and on
|
|
1663
|
+
* WebTransport. Arrival is read on the main thread, so a busy main thread (WASM decode, a heavy page) also counts.
|
|
1664
|
+
*/
|
|
1665
|
+
linkQueue?: MinMaxAverage;
|
|
1650
1666
|
}
|
|
1651
1667
|
interface LanguageSwitchContext {
|
|
1652
1668
|
/**
|