fix:调整当处于对讲进行时不进行跳转页面
This commit is contained in:
parent
2e9ee167b3
commit
370d10df7d
@ -93,20 +93,21 @@ class UdpTalkExpectHandler extends ScpMessageBaseHandle
|
|||||||
}
|
}
|
||||||
if (isWifiLockType ||
|
if (isWifiLockType ||
|
||||||
(talkExpectResp.rotate == 0 &&
|
(talkExpectResp.rotate == 0 &&
|
||||||
talkExpectResp.width == 640 &&
|
talkExpectResp.width == 640 &&
|
||||||
talkExpectResp.height == 480)) {
|
talkExpectResp.height == 480) &&
|
||||||
|
talkStatus.status != TalkStatus.answeredSuccessfully) {
|
||||||
Get.toNamed(Routers.imageTransmissionView);
|
Get.toNamed(Routers.imageTransmissionView);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (startChartManage
|
if (startChartManage
|
||||||
.getDefaultTalkExpect()
|
.getDefaultTalkExpect()
|
||||||
.videoType
|
.videoType
|
||||||
.contains(VideoTypeE.H264)) {
|
.contains(VideoTypeE.H264) &&
|
||||||
|
talkStatus.status != TalkStatus.answeredSuccessfully) {
|
||||||
Get.toNamed(
|
Get.toNamed(
|
||||||
Routers.h264View,
|
Routers.h264View,
|
||||||
);
|
);
|
||||||
} else {
|
} else if (talkStatus.status != TalkStatus.answeredSuccessfully) {
|
||||||
Get.toNamed(
|
Get.toNamed(
|
||||||
Routers.starChartTalkView,
|
Routers.starChartTalkView,
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user