Skip to content

Instantly share code, notes, and snippets.

@corwin-of-amber
Last active July 14, 2019 17:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save corwin-of-amber/7bc454e406af1823f703c18ffb02e3ce to your computer and use it in GitHub Desktop.
Save corwin-of-amber/7bc454e406af1823f703c18ffb02e3ce to your computer and use it in GitHub Desktop.
simple-peer (trickle=true)
[Log] peer1->peer2 signal {"type":"offer","sdp":"v=0\r\no=- 5938417958810222947 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=msid-semantic: WMS\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:DZ9A\r\na=ice-pwd:mrnI5/tUWvqwS7garG8OYRZJ\r\na=ice-options:trickle\r\na=fingerprint:sha-256 F6:50:91:7B:C2:94:A3:35:7C:CC:1D:F3:A3:A7:B8:1D:E5:57:6E:C2:4E:B6:E4:B1:4F:F1:A9:C3:F1:F0:0B:2D\r\na=setup:actpass\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n"} (peer-sanity.bundle.js, line 4773)
[Log] peer2->peer1 signal {"type":"answer","sdp":"v=0\r\no=- 1864940161042314649 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=msid-semantic: WMS\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\nb=AS:30\r\na=ice-ufrag:BWgd\r\na=ice-pwd:QC44hjljq5cOku5ulbWRs5sF\r\na=ice-options:trickle\r\na=fingerprint:sha-256 20:BC:2A:36:E7:1C:17:A7:C3:62:21:96:37:5E:C5:34:D4:F9:9D:66:7A:74:EB:23:CE:9C:DA:3A:8D:0B:FB:39\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n"} (peer-sanity.bundle.js, line 4779)
[Log] peer2->peer1 signal {"candidate":{"candidate":"candidate:842163049 1 udp 1677729535 79.176.64.37 57889 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag BWgd network-cost 999","sdpMLineIndex":0,"sdpMid":"0"}} (peer-sanity.bundle.js, line 4779)
[Log] peer1->peer2 signal {"candidate":{"candidate":"candidate:842163049 1 udp 1677729535 79.176.64.37 55524 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag DZ9A network-cost 999","sdpMLineIndex":0,"sdpMid":"0"}} (peer-sanity.bundle.js, line 4773)
---- with debug='simple-peer' ----
[Log] simple-peer [7a6e9fb] new peer (peer-sanity.bundle.js, line 296)
{initiator: true}
+0ms
[Log] simple-peer [7a6e9fb] _needsNegotiation +5ms (peer-sanity.bundle.js, line 296)
[Log] simple-peer [87816f6] new peer (peer-sanity.bundle.js, line 296)
{}
+1ms
[Log] simple-peer [7a6e9fb] starting batched negotiation +6ms (peer-sanity.bundle.js, line 296)
[Log] simple-peer [7a6e9fb] start negotiation +1ms (peer-sanity.bundle.js, line 296)
[Log] simple-peer [7a6e9fb] signalingStateChange have-local-offer +10ms (peer-sanity.bundle.js, line 296)
[Log] simple-peer [7a6e9fb] iceStateChange (connection: new) (gathering: gathering) +0ms (peer-sanity.bundle.js, line 296)
[Log] simple-peer [7a6e9fb] createOffer success +1ms (peer-sanity.bundle.js, line 296)
[Log] simple-peer [7a6e9fb] signal +2ms (peer-sanity.bundle.js, line 296)
[Log] peer1->peer2 signal {"type":"offer","sdp":"v=0\r\no=- 6132407835999961934 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=msid-semantic: WMS\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:rBON\r\na=ice-pwd:eav63tnxzY5TQnFV+yv4Te8r\r\na=ice-options:trickle\r\na=fingerprint:sha-256 F9:D2:35:D1:D9:B1:65:BB:A9:6E:4D:A1:32:84:5E:33:14:F9:16:C0:93:D3:9A:AC:86:01:C1:8E:F9:C6:5B:91\r\na=setup:actpass\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n"} (peer-sanity.bundle.js, line 4773)
[Log] simple-peer [87816f6] signal() +0ms (peer-sanity.bundle.js, line 296)
[Log] simple-peer [87816f6] signalingStateChange have-remote-offer +1ms (peer-sanity.bundle.js, line 296)
[Log] simple-peer [87816f6] flushing sender queue +4ms – [] (0) (peer-sanity.bundle.js, line 296)
[Log] simple-peer [87816f6] negotiate +0ms (peer-sanity.bundle.js, line 296)
[Log] simple-peer [87816f6] signalingStateChange stable +0ms (peer-sanity.bundle.js, line 296)
[Log] simple-peer [87816f6] iceStateChange (connection: new) (gathering: gathering) +1ms (peer-sanity.bundle.js, line 296)
[Log] simple-peer [87816f6] signal +0ms (peer-sanity.bundle.js, line 296)
[Log] peer2->peer1 signal {"type":"answer","sdp":"v=0\r\no=- 9014313019347416579 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=msid-semantic: WMS\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\nb=AS:30\r\na=ice-ufrag:8S9c\r\na=ice-pwd:7surKxFz3pwO50WrIDOwSvoT\r\na=ice-options:trickle\r\na=fingerprint:sha-256 B1:E3:21:C5:9F:09:ED:D7:D1:44:19:0F:94:FE:62:60:9A:0B:34:99:61:0D:94:B0:06:25:2B:2B:F8:0A:7D:99\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n"} (peer-sanity.bundle.js, line 4779)
[Log] simple-peer [7a6e9fb] signal() +0ms (peer-sanity.bundle.js, line 296)
[Log] simple-peer [7a6e9fb] flushing sender queue +1ms – [] (0) (peer-sanity.bundle.js, line 296)
[Log] simple-peer [7a6e9fb] negotiate +0ms (peer-sanity.bundle.js, line 296)
[Log] simple-peer [7a6e9fb] signalingStateChange stable +0ms (peer-sanity.bundle.js, line 296)
[Log] simple-peer [7a6e9fb] iceStateChange (connection: checking) (gathering: gathering) +0ms (peer-sanity.bundle.js, line 296)
[Log] iceCandidate – RTCIceCandidate {candidate: "candidate:842163049 1 udp 1677729535 79.176.64.37 … rport 0 generation 0 ufrag 8S9c network-cost 999", sdpMid: "0", sdpMLineIndex: 0, …} (peer-sanity.bundle.js, line 4300)
RTCIceCandidate {candidate: "candidate:842163049 1 udp 1677729535 79.176.64.37 … rport 0 generation 0 ufrag 8S9c network-cost 999", sdpMid: "0", sdpMLineIndex: 0, toJSON: function}RTCIceCandidate
[Log] peer2->peer1 signal {"candidate":{"candidate":"candidate:842163049 1 udp 1677729535 79.176.64.37 61934 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 8S9c network-cost 999","sdpMLineIndex":0,"sdpMid":"0"}} (peer-sanity.bundle.js, line 4779)
[Log] simple-peer [7a6e9fb] signal() +80ms (peer-sanity.bundle.js, line 296)
[Log] simple-peer [87816f6] started iceComplete timeout +1ms (peer-sanity.bundle.js, line 296)
[Log] iceCandidate – RTCIceCandidate {candidate: "candidate:842163049 1 udp 1677729535 79.176.64.37 … rport 0 generation 0 ufrag rBON network-cost 999", sdpMid: "0", sdpMLineIndex: 0, …} (peer-sanity.bundle.js, line 4300)
RTCIceCandidate {candidate: "candidate:842163049 1 udp 1677729535 79.176.64.37 … rport 0 generation 0 ufrag rBON network-cost 999", sdpMid: "0", sdpMLineIndex: 0, toJSON: function}RTCIceCandidate
[Log] peer1->peer2 signal {"candidate":{"candidate":"candidate:842163049 1 udp 1677729535 79.176.64.37 61704 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag rBON network-cost 999","sdpMLineIndex":0,"sdpMid":"0"}} (peer-sanity.bundle.js, line 4773)
[Log] simple-peer [87816f6] signal() +3ms (peer-sanity.bundle.js, line 296)
[Log] simple-peer [7a6e9fb] started iceComplete timeout +1ms (peer-sanity.bundle.js, line 296)
[Log] simple-peer [87816f6] iceStateChange (connection: checking) (gathering: gathering) +0ms (peer-sanity.bundle.js, line 296)
[Log] iceCandidate – null (peer-sanity.bundle.js, line 4300)
[Log] simple-peer [7a6e9fb] iceStateChange (connection: checking) (gathering: complete) +18ms (peer-sanity.bundle.js, line 296)
[Log] iceCandidate – null (peer-sanity.bundle.js, line 4300)
[Log] simple-peer [87816f6] iceStateChange (connection: checking) (gathering: complete) +3ms (peer-sanity.bundle.js, line 296)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment