@ai-matrx/meet 0.11.46 → 0.11.47

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/dist/react.cjs CHANGED
@@ -5262,7 +5262,7 @@ function unsupportedWords(capabilities) {
5262
5262
  body: "Open this link in Chrome, Safari, Edge or Firefox"
5263
5263
  };
5264
5264
  }
5265
- return { title: "This browser can't join calls", body: "Open this link in Chrome, Safari, Edge or Firefox" };
5265
+ return { title: "Meet is not compatible with your browser yet", body: "Open this link in Chrome, Safari, Edge or Firefox" };
5266
5266
  }
5267
5267
 
5268
5268
  // src/core/media-supervisor.ts
@@ -10320,6 +10320,7 @@ async function moveToRoom(runtime, roomId) {
10320
10320
  if (runtime === null) return { ok: false, message: "This meeting is not connected." };
10321
10321
  try {
10322
10322
  await runtime.engine.moveToBreakout(roomId);
10323
+ await runtime.inRoom.loadCollab?.().catch(() => void 0);
10323
10324
  return { ok: true, message: roomId === null ? "Back in the main room." : "Joined the breakout room." };
10324
10325
  } catch (error) {
10325
10326
  return { ok: false, message: error.message ?? "That room could not be joined." };
@@ -14387,8 +14388,8 @@ function ExitScreen({ onLeave }) {
14387
14388
  ] });
14388
14389
  break;
14389
14390
  case "unsupported":
14390
- title = "This browser can't join meetings";
14391
- line = "Open the link in Chrome, Edge, Firefox or Safari.";
14391
+ title = "Meet is not compatible with your browser yet";
14392
+ line = "Open this link in Chrome, Edge, Firefox or Safari.";
14392
14393
  break;
14393
14394
  case "ended":
14394
14395
  case "record":
@@ -14415,6 +14416,9 @@ function ExitScreen({ onLeave }) {
14415
14416
  function WaitingRoom({ host, onLeave }) {
14416
14417
  const { waiting, withdraw, askAgain } = useWaiting();
14417
14418
  const { phaseNotice } = useMeetCore();
14419
+ const localMedia = useLocalMedia();
14420
+ const { region: mediaRegion } = useMediaSupervisor();
14421
+ const noMicrophone = localMedia.microphone.unavailable !== null || mediaRegion.preview.microphone.state === "unavailable";
14418
14422
  const [busy, setBusy] = (0, import_react10.useState)(false);
14419
14423
  const admission = waiting?.admission ?? "knocking";
14420
14424
  const reknockLeft = useCountdown(admission === "denied" ? waiting?.reknockAt ?? null : null);
@@ -14479,6 +14483,7 @@ function WaitingRoom({ host, onLeave }) {
14479
14483
  children: line
14480
14484
  }
14481
14485
  ) : null,
14486
+ noMicrophone && (admission === "knocking" || admission === "waiting_host") ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "mx-meet__empty-body", role: "status", "data-meet-notice": "joining-without-microphone", children: "You're joining without a microphone. You'll be able to listen, but others won't hear you." }) : null,
14482
14487
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "mx-meet__waiting-actions", children: actions })
14483
14488
  ] });
14484
14489
  }