Skip to content

Instantly share code, notes, and snippets.

@bitnom
Created July 9, 2019 00:52
Show Gist options
  • Save bitnom/a39fbd40ca1da44b92459941c4a8ac48 to your computer and use it in GitHub Desktop.
Save bitnom/a39fbd40ca1da44b92459941c4a8ac48 to your computer and use it in GitHub Desktop.
SDP-experiment-1
#offer was created
{"type":"offer","sdp":"v=0\r\no=- 1757076532130201660 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:ayhN\r\na=ice-pwd:wSlLKaiyFy9Z3I+YBq0JbDf6\r\na=ice-options:trickle\r\na=fingerprint:sha-256 B2:93:08:8A:C5:49:1D:B4:53:1E:00:B4:ED:48:2A:03:8C:77:6E:BA:A8:52:3D:B1:EB:0D:CA:43:6F:B1:08:0D\r\na=setup:actpass\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n"}
#response was sent
{"type":"answer","sdp":"v=0\r\no=- 8436459379733692345 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 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\nb=AS:30\r\na=ice-ufrag:aaRr\r\na=ice-pwd:k4O6SwMSygQOf1zTh/W1YG3S\r\na=ice-options:trickle\r\na=fingerprint:sha-256 F6:DE:8C:08:E5:1A:EB:8E:50:16:C4:2C:CC:AD:A8:B3:8A:35:2A:4C:BB:1E:99:19:03:0E:FE:B7:06:88:C9:75\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\n"}
# No public IP in any of that? Some encoding?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment