Commit Graph

8 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
Sean DuBois
13b02984e3 Fix all linting errors
Disabled gocylco for now, need to use gometalinter to disable
conditionally. There are also a lot more linters we could use, but they
cause too many issues to start today.
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
cf6e2d9e03 Enable STUN by default in examples 2018-07-21 12:27:38 -07:00
Sean DuBois
fd3082ef9b Update to use new PeerConnection API
Need to land #21 first, then we can merge this
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
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