Forwarded to our iOS team for their review.
setQuality is applicable only when you are transmitting the video using Flash Media Server. Could you specify the parameters you are passing to setMode()? You should at least set the resolution equal to the size of the video element you are using to preview the camera. For e.g. if your app uses a 640 x 480 video element to preview camera, you should use setmode to set that camera resolution to get acceptable quality.