# join

fun join(context: Context, roomUri: RoomUri, mediaTypes: List<MediaType>? = null): Single<Conference>

Joins the conference specified by roomUri.

#### Return

A single that will emit the created conference when the request is processed. In case of error, it will emit a ConferenceError.

#### Parameters

context

Context used to capture local media.

roomUri

Class containing the unique identifier of the room or conference to join.

mediaTypes

List of media types that the user wants to share. It is null by default. If it is null and the user was invited, the media types indicated in the invitation are used. If it is null but the user was not invited, audio and video are shared.