Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/flutter/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Flutter 在Android上开始录制视频时,颤振摄像头会冻结_Flutter_Dart_Camera - Fatal编程技术网

Flutter 在Android上开始录制视频时,颤振摄像头会冻结

Flutter 在Android上开始录制视频时,颤振摄像头会冻结,flutter,dart,camera,Flutter,Dart,Camera,这是我开始录制视频后得到的日志 I/flutter (26542): startVideoRecording I/RequestQueue(26542): Repeating capture request cancelled. I/CameraDeviceState(26542): Legacy camera service transitioning to state IDLE E/CameraDevice-0-LE(26542): Surface with size (w=3840, h=

这是我开始录制视频后得到的日志

I/flutter (26542): startVideoRecording
I/RequestQueue(26542): Repeating capture request cancelled.
I/CameraDeviceState(26542): Legacy camera service transitioning to state IDLE
E/CameraDevice-0-LE(26542): Surface with size (w=3840, h=2160) and format 0x22 is not valid, size not in valid set: [2048x1536, 1920x1440, 2048x1080, 1920x1080, 2560x800, 1440x1080, 1280x960, 1280x720, 1280x480, 1280x400, 864x480, 640x640, 800x480, 720x480, 768x432, 640x480, 576x432, 640x360, 480x360, 480x320, 384x288, 352x288, 320x240, 240x160, 176x144, 160x120]
E/CameraDevice-0-LE(26542): submitRequestList - cannot use a surface that wasn't configured

你处理好摄像机控制器了吗?是的,我已经处理好了。错误信息是不言自明的。您不能按要求的分辨率录制。如果你不能设置支持的分辨率,你可能有一个颤振相机插件不支持的设备。你应该投诉摄像头插件GitHub。