> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# join

> join method for the RoomSession class.

### join

* **join**(): `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.

#### Parameters

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`.

#### Returns

`Promise<RoomSession>`