MediaSFU Shared
    Preparing search index...

    Function joinRoom

    • Joins a user to a specified room via a socket connection.

      Parameters

      • options: JoinRoomOptions

        The options for joining the room.

        • socket: Socket
        • roomName: string
        • islevel: string
        • member: string
        • sec: string
        • apiUserName: string

      Returns Promise<JoinRoomResponse>

      A promise that resolves with the data received from the 'joinRoom' event or rejects with a validation error.