setRotationFixed
Keep aspect ratio if you rotate 90º or 270º.
Parameters
rotation
value
width
width of stream (prepareVideo method) if you are streaming or preview (startPreview method) if you aren't streaming.
height
height of stream (prepareVideo method) if you are streaming or preview (startPreview method) if you aren't streaming.