- width
- the width of the video to be captured
- height
- the height of the video to be captured
Type Reason Java.Lang.IllegalStateException if it is called after prepare() or before setOutputFormat()
Sets the width and height of the video to be captured. Must be called after setVideoSource(). Call this after setOutFormat() but before prepare().