diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/carcorder/CarcorderPreviewView.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/carcorder/CarcorderPreviewView.kt index f612fa8e56..221ac30d80 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/carcorder/CarcorderPreviewView.kt +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/carcorder/CarcorderPreviewView.kt @@ -187,7 +187,7 @@ class CarcorderPreviewView private constructor( //Log.i(TAG, "onVideoFrame byte length: " + bytesLength); if (liveStreamManager != null) { // 将摄像头采集的YUV数据推送到ZEGO - liveStreamManager!!.notifyYUVData(nv21Yuv, 1280, 720, 2) + liveStreamManager!!.notifyYUVData(nv21Yuv, 640, 480, 2) } } } diff --git a/core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_carcorder_preview.xml b/core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_carcorder_preview.xml index 57548c2499..0c847cfbbc 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_carcorder_preview.xml +++ b/core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_carcorder_preview.xml @@ -1,8 +1,8 @@ + android:layout_width="@dimen/dp_768" + android:layout_height="@dimen/dp_432">