Call audio video jitsi #39

Merged
deyvisonwanderley merged 3 commits from call-audio-video-jitsi into master 2025-11-22 21:40:54 +00:00
9 changed files with 1107 additions and 23 deletions
Showing only changes of commit 54089f5eca - Show all commits

View File

@@ -29,8 +29,15 @@
domain = configAtual.data.domain || "";
appId = configAtual.data.appId || "sgse-app";
roomPrefix = configAtual.data.roomPrefix || "sgse";
useHttps = configAtual.data.useHttps || false;
acceptSelfSignedCert = configAtual.data.acceptSelfSignedCert || false;
useHttps = configAtual.data.useHttps ?? false;
acceptSelfSignedCert = configAtual.data.acceptSelfSignedCert ?? false;
} else if (configAtual === null) {
// Se não há configuração, resetar para valores padrão
domain = "";
appId = "sgse-app";
roomPrefix = "sgse";
useHttps = false;
acceptSelfSignedCert = false;
}
});

View File

@@ -89,7 +89,7 @@ export const salvarConfigJitsi = mutation({
appId: args.appId.trim(),
roomPrefix: args.roomPrefix.trim(),
useHttps: args.useHttps,
acceptSelfSignedCert: args.acceptSelfSignedCert ?? false, // Default para false se não fornecido
acceptSelfSignedCert: args.acceptSelfSignedCert,
ativo: true,
configuradoPor: args.configuradoPorId,
atualizadoEm: Date.now(),