This commit is contained in:
dute7liang
2024-01-25 21:55:44 +08:00
parent dc1113deff
commit b0ff90a0a0
2 changed files with 1 additions and 8 deletions

View File

@@ -156,15 +156,12 @@ public class SettleService {
Long callId = room.getCallUserData().getId();
Long receiveId = room.getReceiverUserData().getId();
if(callTime > 0){
ImDataRes imDataRes = ImMsgGen.callNotice(4, callId, receiveId, callTime);
yunxin.sendToSync(callId,receiveId,imDataRes);
yunxinWsService.sendToCallNotifyAsync(callId,receiveId,4,callTime);
}
// 接收方通知
Long anchorIncome = resp.getAnchorIncome();
if(anchorIncome > 0){
ImDataRes imDataRes = ImMsgGen.callNotice(4, receiveId, callId, callTime);
yunxin.sendToSync(receiveId,callId,imDataRes);
yunxinWsService.sendToCallNotifyAsync(receiveId,callId,4,callTime);
// 收入通知
// ImMsgGen.videoIncome();
// yunxin.sendTo(receiveId,null,)