Commit Graph

6 Commits

Author SHA1 Message Date
Sean DuBois
22bd31d006 Fix all races in example applications
* Add locking around SCTP Assocation
* Add locking around DataChannel
* Add locking around port+global ICE

Closes #46
2018-07-26 00:46:45 -07:00
Sean DuBois
cd2f9df294 Update DataChannel APIs for payload types
Users can now get/set what payload types they are sending and receiving
2018-07-26 00:46:45 -07:00
John Bradley
0f556fe7f8 WIP Send almost working, fixed Data logic in DCEP 2018-07-21 12:27:38 -07:00
Sean DuBois
131ee7a35e Update data-channels example to show outbound
Sending is unimplemented, but just prints a message before entering SCTP stack
2018-07-21 12:27:38 -07:00
Sean DuBois
25544948a0 Messages are delievered to public API
MVP complete! Only implemented ondatachannel and onmessage but users can
now recieve datachannel messages
2018-07-21 12:27:38 -07:00
Sean DuBois
eb34f6be61 It works!
DataChannel messages are now printed to stdout. This also adds a new
datachannel package that parses ChannelOpen, and starts the skeleton of
getting the data to the public API
2018-07-21 12:27:38 -07:00