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: - (void)setReceiveVideoQuality:(NSString*)videoQuality;

Parameter: 

videoQuality – Enumerated String Constants (AutoHDSDLD). Set to Auto to allow EnableX to choose the optimum quality dynamically based on the available bandwidth.

Delegate Method: -room:didSetVideoQuality: – This is acknowledge the user that the request to reset Video Quality has been accepted.

[room setReceiveVideoQuality:@"HD"];

Error Codes / Exceptions

CodeDescription
5057Stream already set with the desired Quality.