@ai-matrx/meet 0.11.54 → 0.11.55

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.55
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/meet/v0.11.54..npm/meet/v0.11.55 -- apps/shared/meet`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.11.54
4
10
 
5
11
  Automatic changed-only republish (docs/metadata drift since the last tag — see
package/dist/core.cjs CHANGED
@@ -5194,14 +5194,22 @@ function createLiveKitDriver(handlers, options = {}) {
5194
5194
  ...options.roomOptions
5195
5195
  });
5196
5196
  const reasonName = (reason) => reason === void 0 || reason === null ? null : module2.DisconnectReason?.[reason] ?? String(reason);
5197
- const roster = () => {
5197
+ const emitRoster = () => {
5198
+ rosterQueued = false;
5199
+ if (room !== created) return;
5198
5200
  const local = snapshotParticipant(created.localParticipant, true);
5199
5201
  const remotes = [...created.remoteParticipants.values()].map(
5200
5202
  (participant) => snapshotParticipant(participant, false)
5201
5203
  );
5202
5204
  handlers.participants([local, ...remotes]);
5203
5205
  };
5204
- projectRoster = roster;
5206
+ let rosterQueued = false;
5207
+ const roster = () => {
5208
+ if (rosterQueued) return;
5209
+ rosterQueued = true;
5210
+ queueMicrotask(emitRoster);
5211
+ };
5212
+ projectRoster = emitRoster;
5205
5213
  created.on(RoomEvent.TrackSubscribed, (track) => {
5206
5214
  if (track.kind !== Track.Kind.Audio || typeof document === "undefined") return;
5207
5215
  if (!remoteAudioPlayback) return;