@ai-matrx/meet 0.11.50 → 0.11.51

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog — `@ai-matrx/meet`
2
2
 
3
+ ## 0.11.51
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/meet/v0.11.50..npm/meet/v0.11.51 -- apps/shared/meet`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.11.50
4
10
 
5
11
  Automatic changed-only republish (docs/metadata drift since the last tag — see
package/dist/core.cjs CHANGED
@@ -500,7 +500,8 @@ var DEFAULT_CONNECTION_POLICY = {
500
500
  autoRejoin: true,
501
501
  autoRejoinMaxAttempts: 5,
502
502
  reconnectGraceSeconds: 30,
503
- videoAutoOffAfterPoorSeconds: 20
503
+ videoAutoOffAfterPoorSeconds: 20,
504
+ captionsStartTimeoutSeconds: 20
504
505
  };
505
506
  function clampInt(value, min, max, fallback) {
506
507
  if (typeof value !== "number" || !Number.isFinite(value)) return fallback;
@@ -515,7 +516,8 @@ function connectionPolicyFrom(raw) {
515
516
  autoRejoin: typeof row["auto_rejoin"] === "boolean" ? row["auto_rejoin"] : d.autoRejoin,
516
517
  autoRejoinMaxAttempts: clampInt(row["auto_rejoin_max_attempts"], 0, 20, d.autoRejoinMaxAttempts),
517
518
  reconnectGraceSeconds: clampInt(row["reconnect_grace_seconds"], 0, 600, d.reconnectGraceSeconds),
518
- videoAutoOffAfterPoorSeconds: clampInt(row["video_auto_off_after_poor_seconds"], 0, 600, d.videoAutoOffAfterPoorSeconds)
519
+ videoAutoOffAfterPoorSeconds: clampInt(row["video_auto_off_after_poor_seconds"], 0, 600, d.videoAutoOffAfterPoorSeconds),
520
+ captionsStartTimeoutSeconds: clampInt(row["captions_start_timeout_seconds"], 1, 600, d.captionsStartTimeoutSeconds)
519
521
  };
520
522
  }
521
523
  var LIVEKIT_BASE_DELAYS_MS = [0, 300, 1200, 2700, 4800, 7e3];
@@ -3927,6 +3929,7 @@ var EMPTY = {
3927
3929
  noteTakerRefusal: null,
3928
3930
  captionsOn: false,
3929
3931
  captionsRefusal: null,
3932
+ captionsStartTimeoutSeconds: 20,
3930
3933
  media: IDLE_MEDIA,
3931
3934
  mediaRegion: IDLE_MEDIA_REGION,
3932
3935
  failure: null,
@@ -7589,6 +7592,7 @@ function createRoomEngine(options) {
7589
7592
  current = token;
7590
7593
  lastServerUrl = token.serverUrl;
7591
7594
  connectionPolicy = token.connectionPolicy ?? DEFAULT_CONNECTION_POLICY;
7595
+ store.patch({ captionsStartTimeoutSeconds: connectionPolicy.captionsStartTimeoutSeconds });
7592
7596
  if (token.leavePolicy !== void 0) store.patch({ leavePolicy: token.leavePolicy });
7593
7597
  store.patch({ canReclaim: token.canReclaim === true });
7594
7598
  store.patch({