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)。如果您希望获取完整发布的解决方案,请考虑评估个人流归档。

请参阅此链接了解详情。 https://support.tokbox.com/hc/en-us/community/posts/206241666-Archived-video-resolution-is-supposed-to-be-720x1280-but-reports-as-640x480