# join

fun join(context: Context, mediaTypes: List<MediaType>? = null): Completable

Allows the user to join this conference.

#### Return

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

#### Parameters

context

Context used to capture local media.

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.