|
发表于 2016-12-7 09:22:55
只看该作者
11#
- int64_t token = IPCThreadState::self()->clearCallingIdentity();
- err = initWithCameraAccess(camera, proxy, cameraId, clientName, clientUid,
- videoSize, frameRate,
- storeMetaDataInVideoBuffers);
- if ( err != OK ){
- videoSize.width = 1280;
- videoSize.height = 720;
- err = initWithCameraAccess(camera, proxy, cameraId, clientName, clientUid,
- videoSize, frameRate,
- storeMetaDataInVideoBuffers);
- ALOGD("Video dimension not support , try second choice err=%d\n",err);
- ALOGD("second dimension>> width=%d, heigth=%d\n", videoSize.width, videoSize.height);
- }
复制代码
直接改下面的分辨率
|
|