Its really weird but our problem we cannot enter room after quitting room. But if we close that tab and open new tab , we can establish connection
System arc -> Backend: Java(has signal handler and stun server) Frontend: React, Webrtc, Websocket
The thing that we found is only candidates changing after quit
our quit function :
- stop local tracks
- stop remote tracks
- remove tracks from html objects
- set null to rtcpeerconnection
- navigate to enter room page refresh the page
also we are not allowing cookies
SDP's small part but can give ideas are in below
Successful SDP:
v=0
o=- 1890417799508134905 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0 1 2 3 4
a=extmap-allow-mixed
a=msid-semantic: WMS b5d241ed-d049-4dce-bdc1-ea8373179c9a deeef51e-5ba8-490f-9af4-f03507f5364e
m=audio 57254 UDP/TLS/RTP/SAVPF 111 63 103 9 0 8 105 13 110 113 126
c=IN IP4 192.168.1.163
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:776999446 1 udp 2122260223 192.168.1.163 57254 typ host generation 0 network-id 1 network-cost 10
a=candidate:1624501990 1 tcp 1518280447 192.168.1.163 9 typ host tcptype active generation 0 network-id 1 network-cost 10
a=ice-ufrag:axSk
a=ice-pwd:U/AgARCTwuCqJoRUCHEiXxte
a=ice-options:trickle
a=fingerprint:sha-256 52:98:76:5A:4E:DF:7C:52:F6:5F:DC:AB:80:88:CB:87:23:F1:C6:22:EB:00:00:32:13:F0:C6:B5:87:AE:DF:C1
a=setup:actpass
RTP timeout SDP:
v=0
o=- 6448792371209605139 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE 0 1 2 3 4
a=extmap-allow-mixed
a=msid-semantic: WMS 3df50eb7-1e5b-4be1-9980-cf4cf9d8fe44 cad786fb-8ed0-4303-9f53-ac0cde825aa1
m=audio 49198 UDP/TLS/RTP/SAVPF 111 63 103 9 0 8 105 13 110 113 126
c=IN IP4 192.168.1.163
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:776999446 1 udp 2122260223 192.168.1.163 49198 typ host generation 0 network-id 1 network-cost 10
a=candidate:776999446 1 udp 2122260223 192.168.1.163 63926 typ host generation 0 network-id 1 network-cost 10
a=candidate:776999446 1 udp 2122260223 192.168.1.163 61855 typ host generation 0 network-id 1 network-cost 10
a=candidate:776999446 1 udp 2122260223 192.168.1.163 49931 typ host generation 0 network-id 1 network-cost 10
a=candidate:776999446 1 udp 2122260223 192.168.1.163 64609 typ host generation 0 network-id 1 network-cost 10
a=candidate:1624501990 1 tcp 1518280447 192.168.1.163 9 typ host tcptype active generation 0 network-id 1 network-cost 10
a=ice-ufrag:gRfD
a=ice-pwd:R1tZ6a08ZL0bAXZfe0LYAGia
a=ice-options:trickle
a=fingerprint:sha-256 91:8C:8E:76:36:FA:50:A8:99:53:92:9E:7B:48:B0:1B:8A:55:75:5E:4D:40:54:10:94:C5:30:48:74:52:00:C6
a=setup:actpass
a=mid:0