Use new-js-sdk flag to disable the actual calling of group calls

In favour of using livekit
This commit is contained in:
David Baker 2023-06-14 12:13:55 +01:00
commit 30e1034fba
3 changed files with 12 additions and 10 deletions

View file

@ -173,6 +173,7 @@ export async function initClient(
localTimeoutMs: 5000,
useE2eForGroupCall: e2eEnabled,
fallbackICEServerAllowed: fallbackICEServerAllowed,
useLivekitForGroupCalls: true,
});
try {
@ -335,7 +336,8 @@ export async function createRoom(
result.room_id,
ptt ? GroupCallType.Voice : GroupCallType.Video,
ptt,
GroupCallIntent.Room
GroupCallIntent.Room,
true
);
return [fullAliasFromRoomName(name, client), result.room_id];