Merge "SystemUI: Relax AVC level requirement"
This commit is contained in:
@@ -132,7 +132,7 @@ public class ScreenMediaRecorder {
|
|||||||
mMediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.H264);
|
mMediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.H264);
|
||||||
mMediaRecorder.setVideoEncodingProfileLevel(
|
mMediaRecorder.setVideoEncodingProfileLevel(
|
||||||
MediaCodecInfo.CodecProfileLevel.AVCProfileHigh,
|
MediaCodecInfo.CodecProfileLevel.AVCProfileHigh,
|
||||||
MediaCodecInfo.CodecProfileLevel.AVCLevel42);
|
MediaCodecInfo.CodecProfileLevel.AVCLevel3);
|
||||||
mMediaRecorder.setVideoSize(screenWidth, screenHeight);
|
mMediaRecorder.setVideoSize(screenWidth, screenHeight);
|
||||||
mMediaRecorder.setVideoFrameRate(refereshRate);
|
mMediaRecorder.setVideoFrameRate(refereshRate);
|
||||||
mMediaRecorder.setVideoEncodingBitRate(vidBitRate);
|
mMediaRecorder.setVideoEncodingBitRate(vidBitRate);
|
||||||
|
|||||||
Reference in New Issue
Block a user