Commit 0de936c35b92bd5af01ad6c7f18bc9572f47affb

Authored by 吴奎庆
1 parent 9fcf692d

1:处理视频预览问题

config.gradle
@@ -21,7 +21,7 @@ ext { @@ -21,7 +21,7 @@ ext {
21 //编译方式 21 //编译方式
22 debug : false, 22 debug : false,
23 //版本号 23 //版本号
24 - version: "1.0.2.8", 24 + version: "1.0.2.9",
25 //Lib库前缀 25 //Lib库前缀
26 packeg : "com.cnlive.media", 26 packeg : "com.cnlive.media",
27 //Lib库名称 27 //Lib库名称
lib_media/src/main/res/layout/fragment_record_preview.xml
@@ -34,7 +34,7 @@ @@ -34,7 +34,7 @@
34 34
35 <ImageView 35 <ImageView
36 android:id="@+id/iv_video" 36 android:id="@+id/iv_video"
37 - android:scaleType="centerCrop" 37 + android:scaleType="fitCenter"
38 android:layout_width="wrap_content" 38 android:layout_width="wrap_content"
39 android:layout_height="wrap_content" /> 39 android:layout_height="wrap_content" />
40 40