web 端语音通话问题,使用自己部署的 AppServer 和试用专业版 IMServer,web 端无法音视频

李飞 2天前 54

我从原代码开始排除,turn 服务器我们部署的没有问题。一换成我们的 appServer和专业版 web sdk,就接听不到,不知道是 appserver 出问题了还是 imserver 出问题了,在 https 环境下测的

最新回复 (9)
  • x86 2天前
    引用 2
    看下 web 端控制台的日志
  • 李飞 2天前
    引用 3
    startAudioCall from mainWindow true
    app.232205b5.js:1 startCall speaker、microphone、webcam检测结果分别为:true , true, true,如果不全为true,请检查硬件设备是否正常,否则通话可能存在异常
    app.232205b5.js:1 windowEmitter subscribe events
    app.232205b5.js:1 single mounted
    app.232205b5.js:1 emitToVoip startCall {conversation: o, audioOnly: true, callId: '41b3b755fe624c538afff3f699a6ca9c1788', selfUserInfo: i, groupMemberUserInfos: undefined, …}
    app.232205b5.js:1 newSession, multi
    app.232205b5.js:1 onInitial
    app.232205b5.js:1 initParticipantClientMap ['41b3b755fe624c538afff3f699a6ca9c']
    app.232205b5.js:1 set status 1 undefined
    app.232205b5.js:1 start outgoing ring
    app.232205b5.js:1 didChangeState 1
    app.232205b5.js:1 status change 1
    app.232205b5.js:1 start preview
    app.232205b5.js:1 send signal message 400 41b3b755fe624c538afff3f699a6ca9c1788 a {type: 400, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 emit to main voip-message {conversation: o, content: i, toUsers: Array(1), sendMessageId: 3}
    app.232205b5.js:1 to send voip message 400 41b3b755fe624c538afff3f699a6ca9c1788 a {type: 400, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: '音视频通话邀请', …}
    app.232205b5.js:1 message prepared 175 n {low: 958390363, high: 410, unsigned: false} b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: i, messageContent: a, messageId: 175, …}
    app.232205b5.js:1 onPrepared b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: i, messageContent: a, messageId: 175, …}
    app.232205b5.js:1 _sendMessageInternal connection status 1
    app.232205b5.js:1 conversationView updated Proxy(u) {conversation: o, lastMessage: b, timestamp: n, draft: '', unreadCount: i, …} true false
    app.232205b5.js:1 conversationView updated Proxy(u) {conversation: o, lastMessage: b, timestamp: n, draft: '', unreadCount: i, …} true false
    app.232205b5.js:1 publish response MS
    app.232205b5.js:1 publish error code  MS 0
    app.232205b5.js:1 _sendMessageInternal result 0
    app.232205b5.js:1 message status update b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: i, messageContent: a, messageId: 175, …}
    app.232205b5.js:1 emitToVoip sendMessageResult {error: 0, sendMessageId: 3, messageUid: n, timestamp: o}
    app.232205b5.js:1 start call startMsgUid n {low: -1723858815, high: 120683096, unsigned: true} n {low: -1723858815, high: 120683096, unsigned: true} 1761894981718 1761894981768
    app.232205b5.js:1 conversationView updated Proxy(u) {conversation: o, lastMessage: b, timestamp: n, draft: '', unreadCount: i, …} true false
    app.232205b5.js:1 conversationView updated Proxy(u) {conversation: o, lastMessage: b, timestamp: n, draft: '', unreadCount: i, …} true false
    app.232205b5.js:1 Received local stream MediaStream {id: '7e6d29fb-ddfa-4f4a-955f-ab8a2b3142d4', active: true, onaddtrack: null, onremovetrack: null, onactive: null, …}
    app.232205b5.js:1 can play
    app.232205b5.js:1 Using audio device: “L.Y.F的iPhone”的麦克风
    app.232205b5.js:1 Ending call
    app.232205b5.js:1 set status 0 Proxy(n) {low: -1723858815, high: 120683096, unsigned: true}
    app.232205b5.js:1 emit to main update-call-start-message {messageUid: {…}, content: {…}}
    app.232205b5.js:1 message status update b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: i, messageContent: a, messageId: 175, …}
    app.232205b5.js:1 didChangeState 0
    app.232205b5.js:1 status change 0
    app.232205b5.js:1 send signal message 402 41b3b755fe624c538afff3f699a6ca9c1788 l {type: 402, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 emit to main voip-message {conversation: o, content: i, toUsers: Array(1)}
    app.232205b5.js:1 to send voip message 402 41b3b755fe624c538afff3f699a6ca9c1788 l {type: 402, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 to send end message 3 l {type: 402, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 onPrepared null
    app.232205b5.js:1 _sendMessageInternal connection status 1
    app.232205b5.js:1 Ending media
    app.232205b5.js:1 to stop stream MediaStream {id: '7e6d29fb-ddfa-4f4a-955f-ab8a2b3142d4', active: true, onaddtrack: null, onremovetrack: null, onactive: null, …}
    app.232205b5.js:1 stop track MediaStreamTrack {kind: 'audio', id: '7efc7180-fae7-43e9-9514-7d297aeff7ac', label: '“L.Y.F的iPhone”的麦克风', enabled: true, muted: false, …}
    app.232205b5.js:1 close pc undefined
    app.232205b5.js:1 callEndWithReason 3
    app.232205b5.js:1 emit to main close-voip-div undefined
    app.232205b5.js:1 on close-voip-div o {type: 0, conversationType: 0, target: '41b3b755fe624c538afff3f699a6ca9c', line: 0, _targetOnlineStateDesc: ''} updateVoipStatus(e,t){ce.isVoipOngoing=t,e&&se.conversationInfoList.forEach((n=>{n.conversation.equal(e)?n._isVoipOngoing=t:n._isVoipOngoing=!1}))}
    app.232205b5.js:1 conversationView updated Proxy(u) {conversation: o, lastMessage: b, timestamp: n, draft: '', unreadCount: i, …} true false
    app.232205b5.js:1 conversationView updated Proxy(u) {conversation: o, lastMessage: b, timestamp: n, draft: '', unreadCount: i, …} true false
    app.232205b5.js:1 publish response MS
    app.232205b5.js:1 publish error code  MS 0
    app.232205b5.js:1 _sendMessageInternal result 0
    app.232205b5.js:1 message status update b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: i, messageContent: l, messageId: 0, …}
    app.232205b5.js:1 emitToVoip sendMessageResult {error: 0, sendMessageId: undefined, messageUid: n, timestamp: o}
  • 李飞 2天前
    引用 4
    这是一段发起通话对方点接听,没有通,我这边的日志
  • 李飞 2天前
    引用 5
    on push MN
    app.232205b5.js:1 to pull user messages n {low: 708837505, high: 120683175, unsigned: false} 0 false
    app.232205b5.js:1 pull user messages, type: 0, head: 518330290511282305, msgHead: 518330232392908929, chatroomMsgHead: 0
    app.232205b5.js:1 publish response MP
    app.232205b5.js:1 publish error code  MP 0
    app.232205b5.js:1 pull user messages response 0
    app.232205b5.js:1 pull message result 518330290511282305 2
    app.232205b5.js:1 onReceiveMessage length: 2, pullSettings: false saveToStore true
    app.232205b5.js:1 avengineProxy, on receive message b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: e, messageContent: l, messageId: 0, …}
    app.232205b5.js:1 receive voip message 402 f1efd29086714069b650edc0e9d49b384791 518330245072289921 b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: e, messageContent: l, messageId: 0, …}
    app.232205b5.js:1 avengineProxy, on receive message b {conversation: o, from: '41b3b755fe624c538afff3f699a6ca9c', content: e, messageContent: l, messageId: 0, …}
    app.232205b5.js:1 receive voip message 402 f1efd29086714069b650edc0e9d49b384791 518330290511282305 b {conversation: o, from: '41b3b755fe624c538afff3f699a6ca9c', content: e, messageContent: l, messageId: 0, …}
    app.232205b5.js:1 needUpdateGroups 0, needUpdateGroupMembers 0
    app.232205b5.js:1 to pull user messages n {low: 708837505, high: 120683175, unsigned: false} 0 false
    app.232205b5.js:1 local message is up to date or is pulling n {low: 708837505, high: 120683175, unsigned: false} n {low: 708837505, high: 120683175, unsigned: false} false false false false false
    app.232205b5.js:1 on push MN
    app.232205b5.js:1 to pull user messages n {low: 572522625, high: 120683176, unsigned: false} 0 false
    app.232205b5.js:1 pull user messages, type: 0, head: 518330294669934721, msgHead: 518330290511282305, chatroomMsgHead: 0
    app.232205b5.js:1 publish response MP
    app.232205b5.js:1 publish error code  MP 0
    app.232205b5.js:1 pull user messages response 0
    app.232205b5.js:1 pull message result 518330294669934721 1
    app.232205b5.js:1 onReceiveMessage length: 1, pullSettings: false saveToStore true
    app.232205b5.js:1 avengineProxy, on receive message b {conversation: o, from: '41b3b755fe624c538afff3f699a6ca9c', content: e, messageContent: a, messageId: 180, …}
    app.232205b5.js:1 receive voip message 400 f1efd29086714069b650edc0e9d49b386221 518330294669934721 b {conversation: o, from: '41b3b755fe624c538afff3f699a6ca9c', content: e, messageContent: a, messageId: 180, …}
    app.232205b5.js:1 windowEmitter subscribe events
    app.232205b5.js:1 needUpdateGroups 0, needUpdateGroupMembers 0
    app.232205b5.js:1 to pull user messages n {low: 572522625, high: 120683176, unsigned: false} 0 false
    app.232205b5.js:1 local message is up to date or is pulling n {low: 572522625, high: 120683176, unsigned: false} n {low: 572522625, high: 120683176, unsigned: false} false false false false false
    app.232205b5.js:1 single mounted
    app.232205b5.js:1 emitToVoip message b {conversation: o, from: '41b3b755fe624c538afff3f699a6ca9c', content: e, messageContent: a, messageId: 180, …}
    app.232205b5.js:1 receive voip message  400 f1efd29086714069b650edc0e9d49b386221 b {conversation: o, from: '41b3b755fe624c538afff3f699a6ca9c', content: e, messageContent: a, messageId: 180, …}
    app.232205b5.js:1 callstart b {conversation: o, from: '41b3b755fe624c538afff3f699a6ca9c', content: e, messageContent: a, messageId: 180, …}
    app.232205b5.js:1 newSession, multi
    app.232205b5.js:1 onInitial
    app.232205b5.js:1 initParticipantClientMap ['41b3b755fe624c538afff3f699a6ca9c']
    app.232205b5.js:1 set status 2 n {low: 572522625, high: 120683176, unsigned: false}
    app.232205b5.js:1 didChangeState 2
    app.232205b5.js:1 status change 2
    app.232205b5.js:1 setUserAcceptTime 41b3b755fe624c538afff3f699a6ca9c o {low: 958553229, high: 410, unsigned: false}
    app.232205b5.js:1 voip on call button click
    app.232205b5.js:1 on call button call
    app.232205b5.js:1 set status 3 Proxy(n) {low: 572522625, high: 120683176, unsigned: false}
    app.232205b5.js:1 didChangeState 3
    app.232205b5.js:1 status change 3
    app.232205b5.js:1 send signal message 401 f1efd29086714069b650edc0e9d49b386221 l {type: 401, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 emit to main voip-message {conversation: o, content: i, toUsers: Array(1), sendMessageId: 4}
    app.232205b5.js:1 to send voip message 401 f1efd29086714069b650edc0e9d49b386221 l {type: 401, mentionedType: 0, mentionedTargets: Array(0), extra: '{"u":518330294669934721}', pushContent: undefined, …}
    app.232205b5.js:1 onPrepared null
    app.232205b5.js:1 _sendMessageInternal connection status 1
    app.232205b5.js:1 publish response MS
    app.232205b5.js:1 publish error code  MS 0
    app.232205b5.js:1 _sendMessageInternal result 0
    app.232205b5.js:1 message status update b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: i, messageContent: l, messageId: 0, …}
    app.232205b5.js:1 emitToVoip sendMessageResult {error: 0, sendMessageId: 4, messageUid: n, timestamp: o}
    app.232205b5.js:1 start media true
    app.232205b5.js:1 start preview
    app.232205b5.js:1 Received local stream MediaStream {id: '773c971d-68de-4ce8-ac13-e4a08a0887a2', active: true, onaddtrack: null, onremovetrack: null, onactive: null, …}
    app.232205b5.js:1 can play
    app.232205b5.js:1 Using audio device: “L.Y.F的iPhone”的麦克风
    app.232205b5.js:1 start pc 0
    app.232205b5.js:1 RTCPeerConnection configuration: {iceServers: Array(1)}
    app.232205b5.js:1 Created local peer connection object pc 41b3b755fe624c538afff3f699a6ca9c
    app.232205b5.js:1 Added local stream to pc
    app.232205b5.js:1 pc createOffer start
    app.232205b5.js:1 pc setLocalDescription start
    app.232205b5.js:1 setLocalDescription complete
    app.232205b5.js:1 {sdp: 'v=0\r\no=- 6664735765952010051 2 IN IP4 127.0.0.1\r\ns…a08a0887a2 46a007d9-d9a8-4a5b-ba4d-a17190792f95\r\n', type: 'offer'}
    app.232205b5.js:1 send engine answer/offer
    app.232205b5.js:1 send signal message 403 f1efd29086714069b650edc0e9d49b386221 a {type: 403, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 emit to main voip-message {conversation: o, content: i, toUsers: Array(1)}
    app.232205b5.js:1 to send voip message 403 f1efd29086714069b650edc0e9d49b386221 a {type: 403, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 onPrepared null
    app.232205b5.js:1 _sendMessageInternal connection status 1
    app.232205b5.js:1 createPeerConnection 41b3b755fe624c538afff3f699a6ca9c Sn {isInitiator: true, userId: '41b3b755fe624c538afff3f699a6ca9c', callExtra: undefined, status: 3, joinTime: o, …}
    app.232205b5.js:1 send engine candidate {type: 'candidate', label: 0, id: '0', candidate: 'candidate:405918621 1 udp 2122260223 192.168.8.61 …eration 0 ufrag Otto network-id 1 network-cost 10'}
    app.232205b5.js:1 send signal message 403 f1efd29086714069b650edc0e9d49b386221 a {type: 403, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 emit to main voip-message {conversation: o, content: i, toUsers: Array(1)}
    app.232205b5.js:1 to send voip message 403 f1efd29086714069b650edc0e9d49b386221 a {type: 403, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 onPrepared null
    app.232205b5.js:1 _sendMessageInternal connection status 1
    app.232205b5.js:1 send Ice Candidate success
    app.232205b5.js:1 ICE candidate:
    candidate:405918621 1 udp 2122260223 192.168.8.61 64416 typ host generation 0 ufrag Otto network-id 1 network-cost 10
    app.232205b5.js:1 send engine candidate {type: 'candidate', label: 0, id: '0', candidate: 'candidate:1489740084 1 udp 1686052607 112.230.195.…eration 0 ufrag Otto network-id 1 network-cost 10'}
    app.232205b5.js:1 send signal message 403 f1efd29086714069b650edc0e9d49b386221 a {type: 403, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 emit to main voip-message {conversation: o, content: i, toUsers: Array(1)}
    app.232205b5.js:1 to send voip message 403 f1efd29086714069b650edc0e9d49b386221 a {type: 403, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 onPrepared null
    app.232205b5.js:1 _sendMessageInternal connection status 1
    app.232205b5.js:1 send Ice Candidate success
    app.232205b5.js:1 ICE candidate:
    candidate:1489740084 1 udp 1686052607 112.230.195.2 64416 typ srflx raddr 192.168.8.61 rport 64416 generation 0 ufrag Otto network-id 1 network-cost 10
    app.232205b5.js:1 publish response MS
    app.232205b5.js:1 publish error code  MS 0
    app.232205b5.js:1 _sendMessageInternal result 0
    app.232205b5.js:1 message status update b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: i, messageContent: a, messageId: 0, …}
    app.232205b5.js:1 emitToVoip sendMessageResult {error: 0, sendMessageId: undefined, messageUid: n, timestamp: o}
    app.232205b5.js:1 publish response MS
    app.232205b5.js:1 publish error code  MS 0
    app.232205b5.js:1 _sendMessageInternal result 0
    app.232205b5.js:1 message status update b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: i, messageContent: a, messageId: 0, …}
    app.232205b5.js:1 emitToVoip sendMessageResult {error: 0, sendMessageId: undefined, messageUid: n, timestamp: o}
    app.232205b5.js:1 publish response MS
    app.232205b5.js:1 publish error code  MS 0
    app.232205b5.js:1 _sendMessageInternal result 0
    app.232205b5.js:1 message status update b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: i, messageContent: a, messageId: 0, …}
    app.232205b5.js:1 emitToVoip sendMessageResult {error: 0, sendMessageId: undefined, messageUid: n, timestamp: o}
    app.232205b5.js:1 send engine candidate {type: 'candidate', label: 0, id: '0', candidate: 'candidate:1727934725 1 tcp 1518280447 192.168.8.61…eration 0 ufrag Otto network-id 1 network-cost 10'}
    app.232205b5.js:1 send signal message 403 f1efd29086714069b650edc0e9d49b386221 a {type: 403, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 emit to main voip-message {conversation: o, content: i, toUsers: Array(1)}
    app.232205b5.js:1 to send voip message 403 f1efd29086714069b650edc0e9d49b386221 a {type: 403, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 onPrepared null
    app.232205b5.js:1 _sendMessageInternal connection status 1
    app.232205b5.js:1 send Ice Candidate success
    app.232205b5.js:1 ICE candidate:
    candidate:1727934725 1 tcp 1518280447 192.168.8.61 9 typ host tcptype active generation 0 ufrag Otto network-id 1 network-cost 10
    app.232205b5.js:1 publish response MS
    app.232205b5.js:1 publish error code  MS 0
    app.232205b5.js:1 _sendMessageInternal result 0
    app.232205b5.js:1 message status update b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: i, messageContent: a, messageId: 0, …}
    app.232205b5.js:1 emitToVoip sendMessageResult {error: 0, sendMessageId: undefined, messageUid: n, timestamp: o}
    app.232205b5.js:1 send engine candidate {type: 'candidate', label: 0, id: '0', candidate: 'candidate:206357347 1 udp 41885695 62.234.164.241 …eration 0 ufrag Otto network-id 1 network-cost 10'}
    app.232205b5.js:1 send signal message 403 f1efd29086714069b650edc0e9d49b386221 a {type: 403, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 emit to main voip-message {conversation: o, content: i, toUsers: Array(1)}
    app.232205b5.js:1 to send voip message 403 f1efd29086714069b650edc0e9d49b386221 a {type: 403, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 onPrepared null
    app.232205b5.js:1 _sendMessageInternal connection status 1
    app.232205b5.js:1 send Ice Candidate success
    app.232205b5.js:1 ICE candidate:
    candidate:206357347 1 udp 41885695 62.234.164.241 49236 typ relay raddr 112.230.195.2 rport 64416 generation 0 ufrag Otto network-id 1 network-cost 10
    app.232205b5.js:1 publish response MS
    app.232205b5.js:1 publish error code  MS 0
    app.232205b5.js:1 _sendMessageInternal result 0
    app.232205b5.js:1 message status update b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: i, messageContent: a, messageId: 0, …}
    app.232205b5.js:1 emitToVoip sendMessageResult {error: 0, sendMessageId: undefined, messageUid: n, timestamp: o}
    app.232205b5.js:1 Ending call
    app.232205b5.js:1 set status 0 Proxy(n) {low: 572522625, high: 120683176, unsigned: false}
    app.232205b5.js:1 emit to main update-call-start-message {messageUid: {…}, content: {…}}
    app.232205b5.js:1 message status update b {conversation: o, from: '41b3b755fe624c538afff3f699a6ca9c', content: e, messageContent: a, messageId: 180, …}
    app.232205b5.js:1 not current conv
    app.232205b5.js:1 didChangeState 0
    app.232205b5.js:1 status change 0
    app.232205b5.js:1 send signal message 402 f1efd29086714069b650edc0e9d49b386221 l {type: 402, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 emit to main voip-message {conversation: o, content: i, toUsers: Array(1)}
    app.232205b5.js:1 to send voip message 402 f1efd29086714069b650edc0e9d49b386221 l {type: 402, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 to send end message 3 l {type: 402, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 onPrepared null
    app.232205b5.js:1 _sendMessageInternal connection status 1
    app.232205b5.js:1 Ending media
    app.232205b5.js:1 to stop stream MediaStream {id: '773c971d-68de-4ce8-ac13-e4a08a0887a2', active: true, onaddtrack: null, onremovetrack: null, onactive: null, …}
    app.232205b5.js:1 stop track MediaStreamTrack {kind: 'audio', id: '46a007d9-d9a8-4a5b-ba4d-a17190792f95', label: '“L.Y.F的iPhone”的麦克风', enabled: true, muted: false, …}
    app.232205b5.js:1 close pc RTCPeerConnection {localDescription: RTCSessionDescription, currentLocalDescription: null, pendingLocalDescription: RTCSessionDescription, remoteDescription: null, currentRemoteDescription: null, …}
    app.232205b5.js:1 callEndWithReason 3
    app.232205b5.js:1 emit to main close-voip-div undefined
    app.232205b5.js:1 on close-voip-div o {type: 0, conversationType: 0, target: 'f1efd29086714069b650edc0e9d49b38', line: 0} updateVoipStatus(e,t){ce.isVoipOngoing=t,e&&se.conversationInfoList.forEach((n=>{n.conversation.equal(e)?n._isVoipOngoing=t:n._isVoipOngoing=!1}))}
    app.232205b5.js:1 publish response MS
    app.232205b5.js:1 publish error code  MS 0
    app.232205b5.js:1 _sendMessageInternal result 0
    这个是作为接听方,点接听,到挂断的日志app.232205b5.js:1 message status update b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: i, messageContent: l, messageId: 0, …}
    app.232205b5.js:1 emitToVoip sendMessageResult {error: 0, sendMessageId: undefined, messageUid: n, timestamp: o}
  • x86 2天前
    引用 6
    从上面的日志的日志看:

    尚未接通之前就点了挂断按钮,进行了挂断操作,可能是通话连接建立不起来。

    https://docs.wildfirechat.cn/webrtc/trickle-ice/

    用这个链接检查下你们 turn 服务是否正常。

    另外:
    1. 切换会官方turn 服务测试下是什么情况?
    2. 同一个局域网测试是否正常?
    3. 之前不是说 web 对 web 是没问题的吗?还是说 你们手机端,其实也是 web,不是原生?
  • 李飞 1天前
    引用 7
    1,我们的 turn 服务正常,我们先替换的turn 服务,可以通话,切换了 Appserver 和 ImServer 就不能通话了
    2,我在同一台电脑上两个浏览器也不行 
    3,web 对 web 没切换Appserver 和 ImServer之前可以之后不行。手机端是原生 Android,原生 Android 之前测的都没有问题
  • 李飞 1天前
    引用 8
    turn 我用你发的链接测试没有问题
  • x86 1天前
    引用 9
    你微信添加下 wfchat,他来协助你排查
  • 李飞 1天前
    引用 10
    我现在又得到一点信息,就是 web 端发音视频没有问题的,能跟手机(原生)通话。但是点接收,接收不到。我上午已经联系姜老师了,他说这个不好定位,让我们发工单。一下是我作为接收方的日志
    on push MN
    app.232205b5.js:1 to pull user messages n {low: 310378625, high: 120694017, unsigned: false} 0 false
    app.232205b5.js:1 pull user messages, type: 0, head: 518376856148246657, msgHead: 518376312834883713, chatroomMsgHead: 0
    app.232205b5.js:1 publish response MP
    app.232205b5.js:1 publish error code  MP 0
    app.232205b5.js:1 pull user messages response 0
    app.232205b5.js:1 pull message result 518376856148246657 3
    app.232205b5.js:1 onReceiveMessage length: 3, pullSettings: false saveToStore true
    app.232205b5.js:1 avengineProxy, on receive message b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: e, messageContent: l, messageId: 0, …}
    app.232205b5.js:1 avengineProxy, message outdated, just ignore b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: e, messageContent: l, messageId: 0, …}
    app.232205b5.js:1 avengineProxy, on receive message b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: e, messageContent: l, messageId: 0, …}
    app.232205b5.js:1 avengineProxy, message outdated, just ignore b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: e, messageContent: l, messageId: 0, …}
    app.232205b5.js:1 avengineProxy, on receive message b {conversation: o, from: 'shiyawen', content: e, messageContent: a, messageId: 348, …}
    app.232205b5.js:1 receive voip message 400 shiyawen|184109347 518376856148246657 b {conversation: o, from: 'shiyawen', content: e, messageContent: a, messageId: 348, …}
    app.232205b5.js:1 windowEmitter subscribe events
    app.232205b5.js:1 needUpdateGroups 0, needUpdateGroupMembers 0
    app.232205b5.js:1 to pull user messages n {low: 310378625, high: 120694017, unsigned: false} 0 false
    app.232205b5.js:1 local message is up to date or is pulling n {low: 310378625, high: 120694017, unsigned: false} n {low: 310378625, high: 120694017, unsigned: false} false false false false false
    app.232205b5.js:1 single mounted
    app.232205b5.js:1 emitToVoip message b {conversation: o, from: 'shiyawen', content: e, messageContent: a, messageId: 348, …}
    app.232205b5.js:1 receive voip message  400 shiyawen|184109347 b {conversation: o, from: 'shiyawen', content: e, messageContent: a, messageId: 348, …}
    app.232205b5.js:1 callstart b {conversation: o, from: 'shiyawen', content: e, messageContent: a, messageId: 348, …}
    app.232205b5.js:1 newSession, multi
    app.232205b5.js:1 onInitial
    app.232205b5.js:1 initParticipantClientMap ['shiyawen']
    app.232205b5.js:1 set status 2 n {low: 310378625, high: 120694017, unsigned: false}
    app.232205b5.js:1 didChangeState 2
    app.232205b5.js:1 status change 2
    app.232205b5.js:1 setUserAcceptTime shiyawen o {low: 980755552, high: 410, unsigned: false}
    app.232205b5.js:1 voip on call button click
    app.232205b5.js:1 on call button call
    app.232205b5.js:1 set status 3 Proxy(n) {low: 310378625, high: 120694017, unsigned: false}
    app.232205b5.js:1 didChangeState 3
    app.232205b5.js:1 status change 3
    app.232205b5.js:1 send signal message 401 shiyawen|184109347 l {type: 401, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 emit to main voip-message {conversation: o, content: i, toUsers: Array(1), sendMessageId: 9}
    app.232205b5.js:1 to send voip message 401 shiyawen|184109347 l {type: 401, mentionedType: 0, mentionedTargets: Array(0), extra: '{"u":518376856148246657}', pushContent: undefined, …}
    app.232205b5.js:1 onPrepared null
    app.232205b5.js:1 _sendMessageInternal connection status 1
    app.232205b5.js:1 publish response MS
    app.232205b5.js:1 publish error code  MS 0
    app.232205b5.js:1 _sendMessageInternal result 0
    app.232205b5.js:1 message status update b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: i, messageContent: l, messageId: 0, …}
    app.232205b5.js:1 emitToVoip sendMessageResult {error: 0, sendMessageId: 9, messageUid: n, timestamp: o}
    app.232205b5.js:1 start media true
    app.232205b5.js:1 start preview
    app.232205b5.js:1 Received local stream MediaStream {id: '8d8fffa4-652b-47fc-8e9e-6d9561395a45', active: true, onaddtrack: null, onremovetrack: null, onactive: null, …}
    app.232205b5.js:1 can play
    app.232205b5.js:1 Using audio device: MacBook Pro麦克风 (Built-in)
    app.232205b5.js:1 start pc 0
    app.232205b5.js:1 RTCPeerConnection configuration: {iceServers: Array(1)}
    app.232205b5.js:1 Created local peer connection object pc shiyawen
    app.232205b5.js:1 Added local stream to pc
    app.232205b5.js:1 pc createOffer start
    app.232205b5.js:1 pc setLocalDescription start
    app.232205b5.js:1 setLocalDescription complete
    app.232205b5.js:1 {sdp: 'v=0\r\no=- 7221954029918680470 2 IN IP4 127.0.0.1\r\ns…9561395a45 f33c2bf2-a2b3-4907-bd17-12afdccc59f7\r\n', type: 'offer'}
    app.232205b5.js:1 send engine answer/offer
    app.232205b5.js:1 send signal message 403 shiyawen|184109347 a {type: 403, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 emit to main voip-message {conversation: o, content: i, toUsers: Array(1)}
    app.232205b5.js:1 to send voip message 403 shiyawen|184109347 a {type: 403, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 onPrepared null
    app.232205b5.js:1 _sendMessageInternal connection status 1
    app.232205b5.js:1 createPeerConnection shiyawen Sn {isInitiator: true, userId: 'shiyawen', callExtra: undefined, status: 3, joinTime: o, …}
    app.232205b5.js:1 send engine candidate {type: 'candidate', label: 0, id: '0', candidate: 'candidate:2603694143 1 udp 2122260223 192.168.8.61…eration 0 ufrag 48gk network-id 1 network-cost 10'}
    app.232205b5.js:1 send signal message 403 shiyawen|184109347 a {type: 403, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 emit to main voip-message {conversation: o, content: i, toUsers: Array(1)}
    app.232205b5.js:1 to send voip message 403 shiyawen|184109347 a {type: 403, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 onPrepared null
    app.232205b5.js:1 _sendMessageInternal connection status 1
    app.232205b5.js:1 send Ice Candidate success
    app.232205b5.js:1 ICE candidate:
    candidate:2603694143 1 udp 2122260223 192.168.8.61 62113 typ host generation 0 ufrag 48gk network-id 1 network-cost 10
    app.232205b5.js:1 send engine candidate {type: 'candidate', label: 0, id: '0', candidate: 'candidate:880531713 1 udp 1686052607 112.230.195.2…eration 0 ufrag 48gk network-id 1 network-cost 10'}
    app.232205b5.js:1 send signal message 403 shiyawen|184109347 a {type: 403, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 emit to main voip-message {conversation: o, content: i, toUsers: Array(1)}
    app.232205b5.js:1 to send voip message 403 shiyawen|184109347 a {type: 403, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 onPrepared null
    app.232205b5.js:1 _sendMessageInternal connection status 1
    app.232205b5.js:1 send Ice Candidate success
    app.232205b5.js:1 ICE candidate:
    candidate:880531713 1 udp 1686052607 112.230.195.2 62113 typ srflx raddr 192.168.8.61 rport 62113 generation 0 ufrag 48gk network-id 1 network-cost 10
    app.232205b5.js:1 publish response MS
    app.232205b5.js:1 publish error code  MS 0
    app.232205b5.js:1 _sendMessageInternal result 0
    app.232205b5.js:1 message status update b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: i, messageContent: a, messageId: 0, …}
    app.232205b5.js:1 emitToVoip sendMessageResult {error: 0, sendMessageId: undefined, messageUid: n, timestamp: o}
    app.232205b5.js:1 publish response MS
    app.232205b5.js:1 publish error code  MS 0
    app.232205b5.js:1 _sendMessageInternal result 0
    app.232205b5.js:1 message status update b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: i, messageContent: a, messageId: 0, …}
    app.232205b5.js:1 emitToVoip sendMessageResult {error: 0, sendMessageId: undefined, messageUid: n, timestamp: o}
    app.232205b5.js:1 publish response MS
    app.232205b5.js:1 publish error code  MS 0
    app.232205b5.js:1 _sendMessageInternal result 0
    app.232205b5.js:1 message status update b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: i, messageContent: a, messageId: 0, …}
    app.232205b5.js:1 emitToVoip sendMessageResult {error: 0, sendMessageId: undefined, messageUid: n, timestamp: o}
    app.232205b5.js:1 send engine candidate {type: 'candidate', label: 0, id: '0', candidate: 'candidate:3240139316 1 udp 41885695 62.234.164.241…eration 0 ufrag 48gk network-id 1 network-cost 10'}
    app.232205b5.js:1 send signal message 403 shiyawen|184109347 a {type: 403, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 emit to main voip-message {conversation: o, content: i, toUsers: Array(1)}
    app.232205b5.js:1 to send voip message 403 shiyawen|184109347 a {type: 403, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 onPrepared null
    app.232205b5.js:1 _sendMessageInternal connection status 1
    app.232205b5.js:1 send Ice Candidate success
    app.232205b5.js:1 ICE candidate:
    candidate:3240139316 1 udp 41885695 62.234.164.241 49789 typ relay raddr 112.230.195.2 rport 62113 generation 0 ufrag 48gk network-id 1 network-cost 10
    app.232205b5.js:1 send engine candidate {type: 'candidate', label: 0, id: '0', candidate: 'candidate:1704717483 1 tcp 1518280447 192.168.8.61…eration 0 ufrag 48gk network-id 1 network-cost 10'}
    app.232205b5.js:1 send signal message 403 shiyawen|184109347 a {type: 403, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 emit to main voip-message {conversation: o, content: i, toUsers: Array(1)}
    app.232205b5.js:1 to send voip message 403 shiyawen|184109347 a {type: 403, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 onPrepared null
    app.232205b5.js:1 _sendMessageInternal connection status 1
    app.232205b5.js:1 send Ice Candidate success
    app.232205b5.js:1 ICE candidate:
    candidate:1704717483 1 tcp 1518280447 192.168.8.61 9 typ host tcptype active generation 0 ufrag 48gk network-id 1 network-cost 10
    app.232205b5.js:1 publish response MS
    app.232205b5.js:1 publish error code  MS 0
    app.232205b5.js:1 _sendMessageInternal result 0
    app.232205b5.js:1 message status update b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: i, messageContent: a, messageId: 0, …}
    app.232205b5.js:1 emitToVoip sendMessageResult {error: 0, sendMessageId: undefined, messageUid: n, timestamp: o}
    app.232205b5.js:1 publish response MS
    app.232205b5.js:1 publish error code  MS 0
    app.232205b5.js:1 _sendMessageInternal result 0
    app.232205b5.js:1 message status update b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: i, messageContent: a, messageId: 0, …}
    app.232205b5.js:1 emitToVoip sendMessageResult {error: 0, sendMessageId: undefined, messageUid: n, timestamp: o}
    app.232205b5.js:1 Ending call
    app.232205b5.js:1 set status 0 Proxy(n) {low: 310378625, high: 120694017, unsigned: false}
    app.232205b5.js:1 emit to main update-call-start-message {messageUid: {…}, content: {…}}
    app.232205b5.js:1 message status update b {conversation: o, from: 'shiyawen', content: e, messageContent: a, messageId: 348, …}
    app.232205b5.js:1 not current conv
    app.232205b5.js:1 didChangeState 0
    app.232205b5.js:1 status change 0
    app.232205b5.js:1 send signal message 402 shiyawen|184109347 l {type: 402, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 emit to main voip-message {conversation: o, content: i, toUsers: Array(1)}
    app.232205b5.js:1 to send voip message 402 shiyawen|184109347 l {type: 402, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 to send end message 3 l {type: 402, mentionedType: 0, mentionedTargets: Array(0), extra: undefined, pushContent: undefined, …}
    app.232205b5.js:1 onPrepared null
    app.232205b5.js:1 _sendMessageInternal connection status 1
    app.232205b5.js:1 Ending media
    app.232205b5.js:1 to stop stream MediaStream {id: '8d8fffa4-652b-47fc-8e9e-6d9561395a45', active: true, onaddtrack: null, onremovetrack: null, onactive: null, …}
    app.232205b5.js:1 stop track MediaStreamTrack {kind: 'audio', id: 'f33c2bf2-a2b3-4907-bd17-12afdccc59f7', label: 'MacBook Pro麦克风 (Built-in)', enabled: true, muted: false, …}
    app.232205b5.js:1 close pc RTCPeerConnection {localDescription: RTCSessionDescription, currentLocalDescription: null, pendingLocalDescription: RTCSessionDescription, remoteDescription: null, currentRemoteDescription: null, …}
    app.232205b5.js:1 callEndWithReason 3
    app.232205b5.js:1 emit to main close-voip-div undefined
    app.232205b5.js:1 on close-voip-div o {type: 0, conversationType: 0, target: 'f1efd29086714069b650edc0e9d49b38', line: 0} updateVoipStatus(e,t){ce.isVoipOngoing=t,e&&se.conversationInfoList.forEach((n=>{n.conversation.equal(e)?n._isVoipOngoing=t:n._isVoipOngoing=!1}))}
    app.232205b5.js:1 publish response MS
    app.232205b5.js:1 publish error code  MS 0
    app.232205b5.js:1 _sendMessageInternal result 0
    app.232205b5.js:1 message status update b {conversation: o, from: 'f1efd29086714069b650edc0e9d49b38', content: i, messageContent: l, messageId: 0, …}
    app.232205b5.js:1 emitToVoip sendMessageResult {error: 0, sendMessageId: undefined, messageUid: n, timestamp: o}
返回