@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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.7.2-17-g3c99bc71",
2
+ "version": "4.7.2-19-g73f005b3",
3
3
  "name": "@vindral/web-sdk",
4
4
  "main": "./legacy.umd.js",
5
5
  "module": "./legacy.es.js",
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
@@ -1,4 +1,4 @@
1
1
  import { t as e } from "./ZUbKTiOB.js";
2
- import "./7wALr-wP.js";
3
- import { t } from "./B4-xdAhj.js";
2
+ import "./DozJ3J4w.js";
3
+ import { t } from "./B5AkaNFr.js";
4
4
  export { t as registerComponents, e as registerDebugComponents };
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
  /**
@@ -1,5 +1,5 @@
1
- import "./7wALr-wP.js";
2
- import { t as e } from "./B4-xdAhj.js";
1
+ import "./DozJ3J4w.js";
2
+ import { t as e } from "./B5AkaNFr.js";
3
3
  //#region src/vindral-player-component.ts
4
4
  e();
5
5
  //#endregion