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