The EnxRoom.setReceiveVideoQuality() method allows you to set the desired video quality at the available bandwidth for Remote Streams to be received at the Client endpoint. You can utilize this API to create UI with enumerated values that allow the user to choose the desired video quality to be received.

Class: EnxRoom

Method: public void setReceiveVideoQuality(JSONObject Quality)


  • Quality – Video Quality JSON Object with the following keys:
    • videoQuality: Enumerated Values (Auto, HD, SD, LD). Set to Auto to allow EnableX to choose the optimum quality dynamically based on the available bandwidth.
    • streamType: Enumerated Values (talker, canvas)
JSONObject Quality = {
	"videoQuality": "HD", 
	"streamType":  "talker"

room.setReceiveVideoQuality( Quality );

Error Codes / Exceptions

5057Stream already set with the desired Quality.