@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.
@@ -1114,6 +1114,7 @@ async function moveToRoom(runtime, roomId) {
1114
1114
  if (runtime === null) return { ok: false, message: "This meeting is not connected." };
1115
1115
  try {
1116
1116
  await runtime.engine.moveToBreakout(roomId);
1117
+ await runtime.inRoom.loadCollab?.().catch(() => void 0);
1117
1118
  return { ok: true, message: roomId === null ? "Back in the main room." : "Joined the breakout room." };
1118
1119
  } catch (error) {
1119
1120
  return { ok: false, message: error.message ?? "That room could not be joined." };
@@ -5995,8 +5996,8 @@ function ExitScreen({ onLeave }) {
5995
5996
  ] });
5996
5997
  break;
5997
5998
  case "unsupported":
5998
- title = "This browser can't join meetings";
5999
- line = "Open the link in Chrome, Edge, Firefox or Safari.";
5999
+ title = "Meet is not compatible with your browser yet";
6000
+ line = "Open this link in Chrome, Edge, Firefox or Safari.";
6000
6001
  break;
6001
6002
  case "ended":
6002
6003
  case "record":
@@ -6023,6 +6024,9 @@ function ExitScreen({ onLeave }) {
6023
6024
  function WaitingRoom({ host, onLeave }) {
6024
6025
  const { waiting, withdraw, askAgain } = useWaiting();
6025
6026
  const { phaseNotice } = useMeetCore();
6027
+ const localMedia = useLocalMedia();
6028
+ const { region: mediaRegion } = useMediaSupervisor();
6029
+ const noMicrophone = localMedia.microphone.unavailable !== null || mediaRegion.preview.microphone.state === "unavailable";
6026
6030
  const [busy, setBusy] = (0, import_react10.useState)(false);
6027
6031
  const admission = waiting?.admission ?? "knocking";
6028
6032
  const reknockLeft = useCountdown(admission === "denied" ? waiting?.reknockAt ?? null : null);
@@ -6087,6 +6091,7 @@ function WaitingRoom({ host, onLeave }) {
6087
6091
  children: line
6088
6092
  }
6089
6093
  ) : null,
6094
+ 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,
6090
6095
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "mx-meet__waiting-actions", children: actions })
6091
6096
  ] });
6092
6097
  }