在collider的源码里加了些log
信令服务器:
(1)房间创建;
2019/01/24 18:26:58 Created room 581898572
2019/01/24 18:26:58 Added client 33050116 to room 581898572
2019/01/24 18:26:58 Client 33050116 registered in room 581898572
2019/01/24 18:27:52 Added client 50278596 to room 581898572
2019/01/24 18:27:52 Client 50278596 registered in room 581898572
2019/01/24 18:27:52 liaoqingfu Sent queued messages from 33050116 to 50278596
2019/01/24 18:27:52 send {"sdp":"v=0\r\no=mozilla...THIS_IS_SDPARTA-64.0.2 8040095348482687982 0 IN IP4 0.0.0.0\r\ns=-\r\nt=0 0\r\na=fingerprint:sha-256 37:7B:F4:89:20:6D:72:79:11:A8:57:E4:05:03:F1:07:C3:05:B9:22:7E:12:25:99:8D:76:1D:41:98:17:03:4C\r\na=group:BUNDLE 0 1\r\na=ice-options:trickle\r\na=msid-semantic:WMS *\r\nm=audio 9 UDP/TLS/RTP/SAVPF 109 101\r\nc=IN IP4 0.0.0.0\r\na=sendrecv\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1\r\na=fmtp:101 0-15\r\na=ice-pwd:cc776dd7af9a5086ec3ddaffda3e8aae\r\na=ice-ufrag:ad5917bc\r\na=mid:0\r\na=msid:{590e8cc6-a679-4d80-b379-cecc99a390be} {112a2f58-1b44-45e8-90f1-9d76c80d44b5}\r\na=rtcp-mux\r\na=rtpmap:109 opus/48000/2\r\na=rtpmap:101 telephone-event/8000/1\r\na=setup:active\r\na=ssrc:4051317520 cname:{3cfd3ced-8015-44bc-9a1f-298a8d30da38}\r\nm=video 9 UDP/TLS/RTP/SAVPF 121\r\nc=IN IP4 0.0.0.0\r\na=sendrecv\r\na=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:4 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:5 urn:ietf:params:rtp-hdrext:toffset\r\na=fmtp:121 max-fs=12288;max-fr=60\r\na=ice-pwd:cc776dd7af9a5086ec3ddaffda3e8aae\r\na=ice-ufrag:ad5917bc\r\na=mid:1\r\na=msid:{590e8cc6-a679-4d80-b379-cecc99a390be} {c4e80e0b-d2d5-47c4-9253-6a4086646636}\r\na=rtcp-fb:121 nack\r\na=rtcp-fb:121 nack pli\r\na=rtcp-fb:121 ccm fir\r\na=rtcp-fb:121 goog-remb\r\na=rtcp-mux\r\na=rtpmap:121 VP9/90000\r\na=setup:active\r\na=ssrc:1355333423 cname:{3cfd3ced-8015-44bc-9a1f-298a8d30da38}\r\n","type":"answer"}
2019/01/24 18:27:52 send {"type":"candidate","label":0,"id":"0","candidate":"candidate:0 1 UDP 2122252543 192.168.137.250 56592 typ host"}
2019/01/24 18:27:52 send {"type":"candidate","label":0,"id":"0","candidate":"candidate:1 1 UDP 1686052863 118.249.214.218 17827 typ srflx raddr 192.168.137.250 rport 56592"}
2019/01/24 18:27:52 send {"type":"candidate","label":0,"id":"0","candidate":"candidate:6 1 UDP 8331263 192.168.1.107 49156 typ relay raddr 192.168.1.107 rport 49156"}
2019/01/24 18:27:52 send {"type":"candidate","label":0,"id":"0","candidate":"candidate:3 1 UDP 92217087 192.168.1.107 60584 typ relay raddr 192.168.1.107 rport 60584"}
2019/01/24 18:28:11 send {"type":"bye"}
2019/01/24 18:28:11 Deregistered client 50278596 from room 581898572
2019/01/24 18:28:11 Removed client 50278596 from room 581898572
2019/01/24 18:28:18 Deregistered client 33050116 from room 581898572
2019/01/24 18:28:18 Removed client 33050116 from room 581898572
2019/01/24 18:28:18 Removed room 581898572
2019/01/24 18:28:21 Removing client 50278596 from room 581898572 due to timeout
2019/01/24 18:28:28 Removing client 33050116 from room 581898572 due to timeout
网友评论