Forráskód Böngészése

修改云教练录制分辨率

Pq 1 éve
szülő
commit
0462a5b0ae

+ 2 - 1
teacher/src/main/java/com/cooleshow/teacher/ui/web/AccompanyActivity.java

@@ -153,7 +153,8 @@ public class AccompanyActivity extends BaseMVPActivity<ActivityAccompanyBinding,
                     cameraGroupView = LayoutInflater.from(AccompanyActivity.this).inflate(R.layout.record_video_layout, camera, false);
                     camera.addView(cameraGroupView);
                     cameraView = cameraGroupView.findViewById(R.id.camera);
-                    cameraView.setVideoQuality(CameraKit.Constants.VIDEO_QUALITY_1080P);
+                    //Camera1里面录制的视频码率是9M多点,是720P推荐的最底码率了差不多,如果要调高记得去改里面的码率
+                    cameraView.setVideoQuality(CameraKit.Constants.VIDEO_QUALITY_720P);
                     cameraView.start();
                     cameraView.addCameraKitListener(new CameraKitEventListener() {