Use Matrix 2.0 endpoint /get_token rather than /sfu/get

This commit is contained in:
fkwp
2025-12-05 09:54:56 +01:00
parent 87b36c53b0
commit 42ac77686b

View File

@@ -86,7 +86,7 @@ async function getLiveKitJWT(
...{delay_id: delayId, delay_timeout: 10000, delay_cs_api_url: client.baseUrl} ...{delay_id: delayId, delay_timeout: 10000, delay_cs_api_url: client.baseUrl}
} }
}; };
const res = await fetch(livekitServiceURL + "/sfu/get", { const res = await fetch(livekitServiceURL + "/get_token", {
method: "POST", method: "POST",
headers: { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",