# updateMedia

fun updateMedia(context: Context, mediaTypes: List<MediaType>): Completable

Updates the media types shared by the user, overridden the current ones.

#### 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 new media types to be shared.