@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.js CHANGED
@@ -4937,7 +4937,7 @@ function unsupportedWords(capabilities) {
4937
4937
  body: "Open this link in Chrome, Safari, Edge or Firefox"
4938
4938
  };
4939
4939
  }
4940
- return { title: "This browser can't join calls", body: "Open this link in Chrome, Safari, Edge or Firefox" };
4940
+ return { title: "Meet is not compatible with your browser yet", body: "Open this link in Chrome, Safari, Edge or Firefox" };
4941
4941
  }
4942
4942
 
4943
4943
  // src/core/media-supervisor.ts
@@ -9995,6 +9995,7 @@ async function moveToRoom(runtime, roomId) {
9995
9995
  if (runtime === null) return { ok: false, message: "This meeting is not connected." };
9996
9996
  try {
9997
9997
  await runtime.engine.moveToBreakout(roomId);
9998
+ await runtime.inRoom.loadCollab?.().catch(() => void 0);
9998
9999
  return { ok: true, message: roomId === null ? "Back in the main room." : "Joined the breakout room." };
9999
10000
  } catch (error) {
10000
10001
  return { ok: false, message: error.message ?? "That room could not be joined." };
@@ -14062,8 +14063,8 @@ function ExitScreen({ onLeave }) {
14062
14063
  ] });
14063
14064
  break;
14064
14065
  case "unsupported":
14065
- title = "This browser can't join meetings";
14066
- line = "Open the link in Chrome, Edge, Firefox or Safari.";
14066
+ title = "Meet is not compatible with your browser yet";
14067
+ line = "Open this link in Chrome, Edge, Firefox or Safari.";
14067
14068
  break;
14068
14069
  case "ended":
14069
14070
  case "record":
@@ -14090,6 +14091,9 @@ function ExitScreen({ onLeave }) {
14090
14091
  function WaitingRoom({ host, onLeave }) {
14091
14092
  const { waiting, withdraw, askAgain } = useWaiting();
14092
14093
  const { phaseNotice } = useMeetCore();
14094
+ const localMedia = useLocalMedia();
14095
+ const { region: mediaRegion } = useMediaSupervisor();
14096
+ const noMicrophone = localMedia.microphone.unavailable !== null || mediaRegion.preview.microphone.state === "unavailable";
14093
14097
  const [busy, setBusy] = useState5(false);
14094
14098
  const admission = waiting?.admission ?? "knocking";
14095
14099
  const reknockLeft = useCountdown(admission === "denied" ? waiting?.reknockAt ?? null : null);
@@ -14154,6 +14158,7 @@ function WaitingRoom({ host, onLeave }) {
14154
14158
  children: line
14155
14159
  }
14156
14160
  ) : null,
14161
+ 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,
14157
14162
  /* @__PURE__ */ jsx6("div", { className: "mx-meet__waiting-actions", children: actions })
14158
14163
  ] });
14159
14164
  }