对讲补充提交
This commit is contained in:
parent
a774b6a437
commit
1ffe7d228e
@ -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!));
|
||||
|
||||
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user