I have been trying to post video to server:
_capturePreset = AVCaptureSessionPresetHigh;
[[self class] dimensionsForCapturePreset:_capturePreset
width:&_captureWidth
height:&_captureHeight];
_capture_queue = dispatch_queue_create("com.tokbox.OTVideoCapture",
DISPATCH_QUEUE_SERIAL);
_videoFrame = [[OTVideoFrame alloc] initWithFormat:[OTVideoFormat videoFormatNV12WithWidth:screenWidth
height:screenHeight]];
I wanted to capture screen resolution as same as when a video is recorded on device but it is returning 640*480 always. Can tell how to set desired resolution for recording and archiving video from the server?