对讲补充提交
This commit is contained in:
parent
a774b6a437
commit
1ffe7d228e
@ -105,9 +105,7 @@ class CallTalk {
|
|||||||
// 'iframe.bagNum: ${iframe!.bagNum} iframe.bagReceive: ${iframe!.bagReceive}');
|
// 'iframe.bagNum: ${iframe!.bagNum} iframe.bagReceive: ${iframe!.bagReceive}');
|
||||||
|
|
||||||
// 如果收到的包数等于总包数,说明这一帧数据已经接收完毕
|
// 如果收到的包数等于总包数,说明这一帧数据已经接收完毕
|
||||||
if (iframe!.bagNum == iframe!.bagReceive &&
|
if (iframe!.bagNum == iframe!.bagReceive) {
|
||||||
iframe!.bagReceive == getBagNum &&
|
|
||||||
getIframeIndex == iframe!.iframeIndex) {
|
|
||||||
// print('播放第${iframe!.iframeIndex}帧 一帧图片的hexStringData: ${Uint8List.fromList(growableList)}');
|
// print('播放第${iframe!.iframeIndex}帧 一帧图片的hexStringData: ${Uint8List.fromList(growableList)}');
|
||||||
// print('得到的一张图片的数据长度为${iframe!.bb!.length}');
|
// print('得到的一张图片的数据长度为${iframe!.bb!.length}');
|
||||||
eventBus.fire(GetTVDataRefreshUI(iframe!.bb!));
|
eventBus.fire(GetTVDataRefreshUI(iframe!.bb!));
|
||||||
|
|||||||
@ -173,11 +173,11 @@ class UDPTalkClass {
|
|||||||
void callNoAnswer() {
|
void callNoAnswer() {
|
||||||
// print('无应答处理');
|
// print('无应答处理');
|
||||||
stopLocalAudio();
|
stopLocalAudio();
|
||||||
CallTalk().stopPcmSound();
|
|
||||||
status = 0;
|
status = 0;
|
||||||
isBeCall = false;
|
isBeCall = false;
|
||||||
isEndCall = true;
|
isEndCall = true;
|
||||||
LockMonitoringState().isClickHangUp.value = false;
|
LockMonitoringState().isClickHangUp.value = false;
|
||||||
|
CallTalk().stopPcmSound();
|
||||||
Get.back();
|
Get.back();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user