updateVideoQuality

abstract fun updateVideoQuality(room: IRainbowRoom?, videoPublisher: ConferenceParticipant?, newMultiVideoQuality: MultiVideoQuality?, listener: RainbowListener<UpdateParticipantResult, ConferenceRepository.ConferenceOptionsError>? = null)

Request to update the video quality of the video publisher. To use this method you must have subscribed to the video before. Only works if your publisher use multi-video quality, see ConferenceParticipant.isMultiVideoQuality() If the param videoPublisher is null, the video quality of the main feed (active talker) will be updated instead

Parameters

room

IRainbowRoom (bubble) associated to the conference given

videoPublisher

ConferenceParticipant the user that you want to update the video quality

newMultiVideoQuality

MultiVideoQuality new level quality requested for the video (LOW, MEDIUM, HIGH)

listener

RainbowListenerConferenceOptionsError> callback (onSuccess, onError)