监视页面补充提交

This commit is contained in:
Daisy 2024-04-12 14:06:11 +08:00
parent e98f0342e9
commit cbdcdab317

View File

@ -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();
}
}