[Fix]修复自动驾驶状态按钮状态展示

修复路口直播流加载

Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
donghongyu
2021-11-17 17:38:51 +08:00
parent df633f9225
commit 294edc6fe3
3 changed files with 4 additions and 3 deletions

1
.idea/misc.xml generated
View File

@@ -26,6 +26,7 @@
<entry key="core/function-impl/mogo-core-function-map/src/main/res/layout/function_map_fragment_hd_map.xml" value="0.29322916666666665" />
<entry key="core/function-impl/mogo-core-function-smp/src/main/res/layout/module_small_map_fragment.xml" value="0.44166666666666665" />
<entry key="core/mogo-core-network/src/main/res/layout/item_v2x_crossroad_live_video.xml" value="0.1984375" />
<entry key="core/mogo-core-res/src/main/function-hmi-res/drawable/module_hmi_autopilot_status_bg.xml" value="0.18020833333333333" />
<entry key="foudations/mogo-commons/src/main/res/layout/module_commons_layout_toast.xml" value="0.3117283950617284" />
<entry key="modules/mogo-module-authorize/src/main/res/layout/module_authorize_fragment.xml" value="0.273046875" />
<entry key="modules/mogo-module-carchatting/src/main/res/drawable/module_carchatting_vr_calling_bg.xml" value="0.231875" />

View File

@@ -91,9 +91,9 @@ class CameraListView : FrameLayout {
// 开启摄像头推流
cameraEntity.ip?.let { ip ->
// 华哥那边现在只支持一个ip"183.242.46.150"
CallerMonitorManager.openCameraStream(ip)
// CallerMonitorManager.openCameraStream(ip)
// 测试一直打开的顺义摄像头,不需要调接口让摄像头开启推流
// if (!cameraEntity.flvUrl.isNullOrEmpty()) gsyVideoPlay(cameraEntity.flvUrl!!)
if (!cameraEntity.flvUrl.isNullOrEmpty()) gsyVideoPlay(cameraEntity.flvUrl!!)
}
}
else -> {

View File

@@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="@dimen/module_mogo_autopilot_status_bg_width"
android:layout_height="@dimen/module_mogo_autopilot_status_bg_height"
android:background="@drawable/module_hmi_autopilot_status_bg">
>
<ImageView
android:id="@+id/ivStatusIcon"