Promise<RoomSession>Joins the room session.
Depending on the token you passed to the constructor, the room could be joined as a member or as an audience participant.
Object containing the parameters of the method.
Audio constraints to use when joining the room. Default: true.
Video constraints to use when joining the room. Default: true.
Whether to receive audio. Default: true.
Whether to receive video. Default: true.
Whether to send audio. This is ignored if the token belongs to an audience member, since they cannot send audio. Default: true.
Whether to send video. This is ignored if the token belongs to an audience member, since they cannot send video. Default: true.
Promise<RoomSession>