Browse Source

修改云教练视频录制画面压缩问题

Pq 2 years ago
parent
commit
43204e0377

+ 3 - 5
student/src/main/res/layout/record_video_layout.xml

@@ -11,13 +11,11 @@
         android:layout_width="match_parent"
         android:layout_height="match_parent"
         android:layout_gravity="center_vertical"
-        android:adjustViewBounds="true"
-        app:ckCropOutput="true"
         app:ckFacing="front"
         app:ckFlash="off"
         app:ckFocus="tapWithMarker"
         app:ckMethod="standard"
-        app:ckVideoQuality="max720p"
+        app:ckVideoQuality="highest"
         app:deviceOrientation="horizontal" />
 
     <FrameLayout
@@ -29,9 +27,9 @@
     <RelativeLayout
         android:layout_width="match_parent"
         android:layout_height="70dp"
-        android:visibility="gone"
         android:layout_gravity="bottom"
-        android:background="#2E000000">
+        android:background="#2E000000"
+        android:visibility="gone">
 
         <ImageView
             android:id="@+id/btn_back"

+ 1 - 3
teacher/src/main/res/layout/record_video_layout.xml

@@ -11,13 +11,11 @@
         android:layout_width="match_parent"
         android:layout_height="match_parent"
         android:layout_gravity="center_vertical"
-        android:adjustViewBounds="true"
-        app:ckCropOutput="true"
         app:ckFacing="front"
         app:ckFlash="off"
         app:ckFocus="tapWithMarker"
         app:ckMethod="standard"
-        app:ckVideoQuality="max720p"
+        app:ckVideoQuality="highest"
         app:deviceOrientation="horizontal" />
 
     <FrameLayout