监视页面补充提交
This commit is contained in:
parent
e98f0342e9
commit
cbdcdab317
@ -261,7 +261,7 @@ class _RealTimePicturePageState extends State<RealTimePicturePage>
|
|||||||
"images/main/icon_lockDetail_hangUp.png", "挂断", Colors.red, () async {
|
"images/main/icon_lockDetail_hangUp.png", "挂断", Colors.red, () async {
|
||||||
// 挂断
|
// 挂断
|
||||||
logic.udpHangUpAction();
|
logic.udpHangUpAction();
|
||||||
CallTalk().stopPcmSound();
|
CallTalk().finishPcmSound();
|
||||||
Get.back();
|
Get.back();
|
||||||
}),
|
}),
|
||||||
bottomBtnItemWidget("images/main/icon_lockDetail_monitoringUnlock.png",
|
bottomBtnItemWidget("images/main/icon_lockDetail_monitoringUnlock.png",
|
||||||
@ -401,7 +401,7 @@ class _RealTimePicturePageState extends State<RealTimePicturePage>
|
|||||||
|
|
||||||
void _handleFailure() {
|
void _handleFailure() {
|
||||||
// 在这里处理失败的逻辑
|
// 在这里处理失败的逻辑
|
||||||
CallTalk().stopPcmSound();
|
CallTalk().finishPcmSound();
|
||||||
state.realTimePicTimer.cancel();
|
state.realTimePicTimer.cancel();
|
||||||
state.autoBackTimer.cancel();
|
state.autoBackTimer.cancel();
|
||||||
if (state.animationController != null) {
|
if (state.animationController != null) {
|
||||||
@ -414,7 +414,7 @@ class _RealTimePicturePageState extends State<RealTimePicturePage>
|
|||||||
state.animationController.dispose();
|
state.animationController.dispose();
|
||||||
state.realTimePicTimer.cancel();
|
state.realTimePicTimer.cancel();
|
||||||
state.autoBackTimer.cancel();
|
state.autoBackTimer.cancel();
|
||||||
CallTalk().stopPcmSound();
|
CallTalk().finishPcmSound();
|
||||||
super.dispose();
|
super.dispose();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user