我有一个应用程序将视频从设备流式传输到远程计算机。尝试设置帧速率时,我不断得到:
ERROR/StagefrightRecorder(131): Failed to set frame rate to 15 fps. The actual frame rate is 30
我使用的代码是:
video = new MediaStreamer();
video.setVideoSource(MediaRecorder.VideoSource.CAMERA);
video.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
video.setVideoFrameRate(frameRate);
有想法该怎么解决这个吗?