对讲补充提交

This commit is contained in:
Daisy 2024-03-27 11:51:49 +08:00
parent a774b6a437
commit 1ffe7d228e
2 changed files with 2 additions and 4 deletions

View File

@ -105,9 +105,7 @@ class CallTalk {
// 'iframe.bagNum: ${iframe!.bagNum} iframe.bagReceive: ${iframe!.bagReceive}');
//
if (iframe!.bagNum == iframe!.bagReceive &&
iframe!.bagReceive == getBagNum &&
getIframeIndex == iframe!.iframeIndex) {
if (iframe!.bagNum == iframe!.bagReceive) {
// print('播放第${iframe!.iframeIndex}帧 一帧图片的hexStringData: ${Uint8List.fromList(growableList)}');
// print('得到的一张图片的数据长度为${iframe!.bb!.length}');
eventBus.fire(GetTVDataRefreshUI(iframe!.bb!));

View File

@ -173,11 +173,11 @@ class UDPTalkClass {
void callNoAnswer() {
// print('无应答处理');
stopLocalAudio();
CallTalk().stopPcmSound();
status = 0;
isBeCall = false;
isEndCall = true;
LockMonitoringState().isClickHangUp.value = false;
CallTalk().stopPcmSound();
Get.back();
}
}