RTCMultiConnection icon indicating copy to clipboard operation
RTCMultiConnection copied to clipboard

why am i getting an error - Room not avaliable roomid: {id}

Open Vladislavlr opened this issue 3 years ago • 2 comments

why am i getting an error - Room not avaliable roomid: {id}

Vladislavlr avatar Jul 12 '22 15:07 Vladislavlr

In some cases when you use this code:

connection.checkPresence(ROOM_ID, function (isRoomExist) {
             if (isRoomExist) {
                   console.log("ROOM EXIST")
                } else {
       	           console.log("ROOM NOT EXIST")
             }
});

There is usually a bug and it does not correctly take the ID to check if the room exists, the solution is to create a loop with setTimeout(), to constantly check if the room exists.

It is a bug that happens very often.

MediaKitApp avatar Oct 07 '22 15:10 MediaKitApp

Because, room is already running in socket with same id,

try colse before open connection.closeSocket(ROOM_ID)

GovindCS avatar Nov 23 '22 05:11 GovindCS