TokBox API视频分辨率问题
问题描述:
我一直在尝试后视频服务器: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。可以告诉如何设置所需的分辨率以便从服务器录制和归档视频?
答
组合档案具有固定尺寸的VGA(640x480)。如果您希望获取完整发布的解决方案,请考虑评估个人流归档。