Hello ,
I am using react native webrtc with sip js.I am getting this error when i try to answer call on android :
Failed to set remote offer sdp: Failed to set remote video description send parameters for m-section with mid=‘2’.’
This is the SDP from Invite :
v=0
o=Telecom 1639030539 1639030540 IN IP4 192.168.1.1
s=Telecom
c=IN IP4 95.217.223.97
t=0 0
m=audio 28608 UDP/TLS/RTP/SAVPF 101 0
a=mid:1
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:0 PCMU/8000
a=sendrecv
a=rtcp:28609
a=rtcp-mux
a=setup:actpass
a=fingerprint:sha-256 67:FD:12:E2:1E:10:A5:B1:30:B4:74:92:69:BF:10:EF:0F:AB:EA:CD:30:3F:6E:40:B5:CB:46:DA:3E:4B:17:AC
a=ptime:20
a=ice-ufrag:5zwv1x8o
a=ice-pwd:pzZ75phJAxOFhxabp2okbibRTc
a=candidate:MK6jNadHsCACBeXI 1 UDP 2130706431 95.217.223.97 28608 typ host
a=candidate:MK6jNadHsCACBeXI 2 UDP 2130706430 95.217.223.97 28609 typ host
m=video 28632 UDP/TLS/RTP/SAVPF 102
b=AS:1024
a=mid:2
a=rtpmap:102 H264/90000
a=rtcp-fb:102 nack pli
a=sendrecv
a=rtcp:28633
a=rtcp-mux
a=setup:actpass
a=fingerprint:sha-256 67:FD:12:E2:1E:10:A5:B1:30:B4:74:92:69:BF:10:EF:0F:AB:EA:CD:30:3F:6E:40:B5:CB:46:DA:3E:4B:17:AC
a=ice-ufrag:Ut4WF5wt
a=ice-pwd:i6LYcjk46eCnmw4pZAcw0tciLC
a=candidate:MK6jNadHsCACBeXI 1 UDP 2130706431 95.217.223.97 28632 typ host
a=candidate:MK6jNadHsCACBeXI 2 UDP 2130706430 95.217.223.97 28633 typ host
Please help me solving this problem
react-native-webrtc version : 1.94.1
Also note that it works it SDP is like this :
v=0
o=Telecom 1639009517 1639009518 IN IP4 192.168.1.1
s=Telecom
c=IN IP4 95.217.223.97
t=0 0
m=audio 25436 UDP/TLS/RTP/SAVPF 101 0
a=mid:1
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:0 PCMU/8000
a=sendrecv
a=rtcp:25437
a=rtcp-mux
a=setup:actpass
a=fingerprint:sha-256 67:FD:12:E2:1E:10:A5:B1:30:B4:74:92:69:BF:10:EF:0F:AB:EA:CD:30:3F:6E:40:B5:CB:46:DA:3E:4B:17:AC
a=ptime:20
a=ice-ufrag:10clZT4x
a=ice-pwd:IZpqY0TqNuHvEmepc7lypfTyHj
a=candidate:MK6jNadHsCACBeXI 1 UDP 2130706431 95.217.223.97 25436 typ host
a=candidate:MK6jNadHsCACBeXI 2 UDP 2130706430 95.217.223.97 25437 typ host
m=video 25470 UDP/TLS/RTP/SAVPF 96 98 102
b=AS:1024
a=mid:2
a=rtpmap:96 H264/90000
a=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640c34
a=rtcp-fb:96 nack pli
a=rtpmap:98 H264/90000
a=fmtp:98 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e034
a=rtcp-fb:98 nack pli
a=rtpmap:102 H264/90000
a=rtcp-fb:102 nack pli
a=sendrecv
a=rtcp:25471
a=rtcp-mux
a=setup:actpass
a=fingerprint:sha-256 67:FD:12:E2:1E:10:A5:B1:30:B4:74:92:69:BF:10:EF:0F:AB:EA:CD:30:3F:6E:40:B5:CB:46:DA:3E:4B:17:AC
a=ice-ufrag:DMc1c9sY
a=ice-pwd:D5g0T3UtlOOv5yresPKdsCxY3i
a=candidate:MK6jNadHsCACBeXI 1 UDP 2130706431 95.217.223.97 25470 typ host
a=candidate:MK6jNadHsCACBeXI 2 UDP 2130706430 95.217.223.97 25471 typ host