@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.
@@ -1019,6 +1019,7 @@ async function moveToRoom(runtime, roomId) {
1019
1019
  if (runtime === null) return { ok: false, message: "This meeting is not connected." };
1020
1020
  try {
1021
1021
  await runtime.engine.moveToBreakout(roomId);
1022
+ await runtime.inRoom.loadCollab?.().catch(() => void 0);
1022
1023
  return { ok: true, message: roomId === null ? "Back in the main room." : "Joined the breakout room." };
1023
1024
  } catch (error) {
1024
1025
  return { ok: false, message: error.message ?? "That room could not be joined." };
@@ -5900,8 +5901,8 @@ function ExitScreen({ onLeave }) {
5900
5901
  ] });
5901
5902
  break;
5902
5903
  case "unsupported":
5903
- title = "This browser can't join meetings";
5904
- line = "Open the link in Chrome, Edge, Firefox or Safari.";
5904
+ title = "Meet is not compatible with your browser yet";
5905
+ line = "Open this link in Chrome, Edge, Firefox or Safari.";
5905
5906
  break;
5906
5907
  case "ended":
5907
5908
  case "record":
@@ -5928,6 +5929,9 @@ function ExitScreen({ onLeave }) {
5928
5929
  function WaitingRoom({ host, onLeave }) {
5929
5930
  const { waiting, withdraw, askAgain } = useWaiting();
5930
5931
  const { phaseNotice } = useMeetCore();
5932
+ const localMedia = useLocalMedia();
5933
+ const { region: mediaRegion } = useMediaSupervisor();
5934
+ const noMicrophone = localMedia.microphone.unavailable !== null || mediaRegion.preview.microphone.state === "unavailable";
5931
5935
  const [busy, setBusy] = useState5(false);
5932
5936
  const admission = waiting?.admission ?? "knocking";
5933
5937
  const reknockLeft = useCountdown(admission === "denied" ? waiting?.reknockAt ?? null : null);
@@ -5992,6 +5996,7 @@ function WaitingRoom({ host, onLeave }) {
5992
5996
  children: line
5993
5997
  }
5994
5998
  ) : null,
5999
+ noMicrophone && (admission === "knocking" || admission === "waiting_host") ? /* @__PURE__ */ jsx6("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,
5995
6000
  /* @__PURE__ */ jsx6("div", { className: "mx-meet__waiting-actions", children: actions })
5996
6001
  ] });
5997
6002
  }