Make room / call creation logging more accurate
It said it was creating the room when actually it was creating the call
This commit is contained in:
parent
3f341de78f
commit
bd08166a50
1 changed files with 4 additions and 1 deletions
|
@ -225,6 +225,7 @@ export async function createRoom(
|
||||||
name: string,
|
name: string,
|
||||||
ptt: boolean
|
ptt: boolean
|
||||||
): Promise<[string, string]> {
|
): Promise<[string, string]> {
|
||||||
|
console.log(`Creating room for froup call`);
|
||||||
const createPromise = client.createRoom({
|
const createPromise = client.createRoom({
|
||||||
visibility: Visibility.Private,
|
visibility: Visibility.Private,
|
||||||
preset: Preset.PublicChat,
|
preset: Preset.PublicChat,
|
||||||
|
@ -276,7 +277,9 @@ export async function createRoom(
|
||||||
|
|
||||||
const result = await createPromise;
|
const result = await createPromise;
|
||||||
|
|
||||||
console.log(`Creating ${ptt ? "PTT" : "video"} group call room`);
|
console.log(
|
||||||
|
`Creating ${ptt ? "PTT" : "video"} group call in ${result.room_id}`
|
||||||
|
);
|
||||||
|
|
||||||
await client.createGroupCall(
|
await client.createGroupCall(
|
||||||
result.room_id,
|
result.room_id,
|
||||||
|
|
Loading…
Add table
Reference in a new issue