Function joinConRoom

  • Joins a conference room using the provided options.

    Parameters

    Returns Promise<JoinConRoomResponse>

    A promise that resolves with the response of the join operation.

    const options = {
    socket: socketInstance,
    roomName: "s12345678",
    islevel: "1",
    member: "user123",
    sec: "64CharacterLongSecretHere",
    apiUserName: "user123",
    };

    try {
    const response = await joinConRoom(options);
    console.log("Room joined:", response);
    } catch (error) {
    console.error("Failed to join room:", error);
    }