Files
webrtc/examples/data-channels
Sean DuBois b69b185bd5 Initial commit
* DTLS packets are decrypt
* Sending DTLS packets has prototype, but has not been implemented
* We print the SCTP packets, but they aren't parsed yet
2018-07-21 12:27:38 -07:00
..
2018-07-21 12:27:38 -07:00
2018-07-21 12:27:38 -07:00

data-channels

TODO

Instructions

Download data-channels

go get github.com/pions/webrtc/examples/data-channels

Open data-channels example page

jsfiddle.net

Run data-channels, with your browsers SessionDescription as stdin

In the jsfiddle the top textarea is your browser, copy that and:

Linux/macOS

Run echo $BROWSER_SDP | data-channels

Windows

  1. Paste the SessionDescription into a file.
  2. Run data-channels < my_file

Input data-channels's SessionDescription into your browser

Copy the text that data-channels just emitted and copy into second text area

Hit 'Start Session' in jsfiddle

TODO

Congrats, you have used pion-WebRTC! Now start building something cool