feat: integrate Jitsi configuration and dynamic loading in CallWindow

- Added support for Jitsi configuration retrieval from the backend, allowing for dynamic room name generation based on the active configuration.
- Implemented a polyfill for BlobBuilder to ensure compatibility with the lib-jitsi-meet library across different browsers.
- Enhanced error handling during the loading of the Jitsi library, providing clearer feedback for missing modules and connection issues.
- Updated Vite configuration to exclude lib-jitsi-meet from SSR and allow dynamic loading in the browser.
- Introduced a new route for Jitsi settings in the dashboard for user configuration of Jitsi Meet parameters.
This commit is contained in:
2025-11-21 22:03:01 -03:00
parent 41f7942dd1
commit 52823a9fac
9 changed files with 1100 additions and 23 deletions

View File

@@ -7,4 +7,10 @@ export default defineConfig({
resolve: {
dedupe: ["lucide-svelte"],
},
optimizeDeps: {
exclude: ["lib-jitsi-meet"], // Excluir para permitir carregamento dinâmico no browser
},
ssr: {
noExternal: [], // lib-jitsi-meet não funciona no SSR, deve ser carregada apenas no browser
},
});