2016-07-30 3 views
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. 서버에서 비디오를 녹화하고 보관하는 데 원하는 해상도를 설정하는 방법을 알려줄 수 있습니까?

답변

관련 문제