@ai-matrx/meet 0.11.54 → 0.11.56
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 +12 -0
- package/dist/core.cjs +10 -2
- package/dist/core.cjs.map +1 -1
- package/dist/core.js +10 -2
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +10 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +10 -2
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +10 -2
- package/dist/react.js.map +1 -1
- package/dist/skins/meet.cjs.map +1 -1
- package/dist/skins/meet.js.map +1 -1
- package/package.json +5 -5
package/dist/react.js
CHANGED
|
@@ -7455,14 +7455,22 @@ function createLiveKitDriver(handlers, options = {}) {
|
|
|
7455
7455
|
...options.roomOptions
|
|
7456
7456
|
});
|
|
7457
7457
|
const reasonName = (reason) => reason === void 0 || reason === null ? null : module.DisconnectReason?.[reason] ?? String(reason);
|
|
7458
|
-
const
|
|
7458
|
+
const emitRoster = () => {
|
|
7459
|
+
rosterQueued = false;
|
|
7460
|
+
if (room !== created) return;
|
|
7459
7461
|
const local = snapshotParticipant(created.localParticipant, true);
|
|
7460
7462
|
const remotes = [...created.remoteParticipants.values()].map(
|
|
7461
7463
|
(participant) => snapshotParticipant(participant, false)
|
|
7462
7464
|
);
|
|
7463
7465
|
handlers.participants([local, ...remotes]);
|
|
7464
7466
|
};
|
|
7465
|
-
|
|
7467
|
+
let rosterQueued = false;
|
|
7468
|
+
const roster = () => {
|
|
7469
|
+
if (rosterQueued) return;
|
|
7470
|
+
rosterQueued = true;
|
|
7471
|
+
queueMicrotask(emitRoster);
|
|
7472
|
+
};
|
|
7473
|
+
projectRoster = emitRoster;
|
|
7466
7474
|
created.on(RoomEvent.TrackSubscribed, (track) => {
|
|
7467
7475
|
if (track.kind !== Track.Kind.Audio || typeof document === "undefined") return;
|
|
7468
7476
|
if (!remoteAudioPlayback) return;
|