Merge "SystemUI: Relax AVC level requirement" am: 59379bb43a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1456875 Change-Id: I0c73b557cf0253b7bd3f211fe7b89fddbfc69b66
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