我正在使用sipjs 0.7.5版本和星号13.12.1通过webRTC调用2个sipjs之间的呼叫.sipjs客户端和星号服务器都在本地网络中.我给了sip消息和rtp数据包的星号日志:
我的问题来自日志我看到RTP数据包通过ICE发送到两端.但在客户端浏览器中没有播放音频.即浏览器中没有音频.
<--- SIP read from WS:192.168.40.48:10380 --->
INVITE sip:1063@192.168.40.45:5060 SIP/2.0
Via: SIP/2.0/WS 192.0.2.208;branch=z9hG4bK4771627
Max-Forwards: 70
To: <sip:1063@192.168.40.45:5060>
From: "1062" <sip:1062@192.168.40.45:5060>;tag=dc2e904hed
Call-ID: iu2sjhg9scpcrir0slju
CSeq: 8911 INVITE
Contact: <sip:haitt3bm@192.0.2.208;transport=ws;ob>
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER
Content-Type: application/sdp
Supported: outbound
User-Agent: SIP.js/0.7.5
Content-Length: 1220
v=0
o=mozilla...THIS_IS_SDPARTA-49.0.2 2371358821422302787 0 IN IP4 0.0.0.0
s=-
t=0 0
a=sendrecv
a=fingerprint:sha-256 DD:4B:CC:5D:70:15:CE:34:6B:A7:AF:2A:F8:AA:E8:B8:00:C3:28:F6:C8:9C:03:F5:E6:69:04:D6:81:11:3B:85
a=ice-options:trickle
a=msid-semantic:WMS *
m=audio 55294 UDP/TLS/RTP/SAVPF 109 9 0 8
c=IN IP4 192.168.35.1
a=candidate:0 1 UDP 2122252543 192.168.35.1 55294 typ host
a=candidate:1 1 UDP 2122187007 192.168.221.1 55295 typ …Run Code Online (Sandbox Code Playgroud)