0
我一直在嘗試後視頻服務器:TokBox API視頻分辨率問題
_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]];
我想捕捉的屏幕分辨率同樣當視頻記錄設備上但它返回640 *總是480。可以告訴如何設置所需的分辨率以便從服務器錄製和歸檔視頻?