Commit Graph

8 Commits

Author SHA1 Message Date
Sean DuBois
d9e6b8b61f Update examples to only generate SDP when candidates are done gathering 2018-08-11 13:56:28 -07:00
Sean DuBois
938e490c39 Fix all lint errors, move SDP code to proper package 2018-08-11 13:56:28 -07:00
Sean DuBois
bf062e38b7 pion-WebRTC can now generate Offers and Answers
Examples need to be expanded to demo this, and lints need to be
fixed but no additional code/features are needed
2018-08-11 13:56:28 -07:00
Sean DuBois
1be721e5fa ICE works again, with proper agent implementation
Candidates are now generated with real priority, and actually pay
attention to the inbound messages.

Next we just need to pluck use-candidate + ice-controlling from the
messages and we will have a full-ice implementation (but we are not
controlling)

We then need to add timers to alert when the peer goes away OR when we
need to send again.
2018-08-11 13:56:28 -07:00
Sean DuBois
0c08a67e20 Start full ICE implementation for #23 2018-08-11 13:56:28 -07:00
Sean DuBois
bd9a6f6ca1 DTLS state should be shared by all ports
Before pion-WebRTC will fail if you bounce between STUN/Host
candidates. Our network code incorrectly failed to share SRTP/DTLS state
between all ports.
2018-07-21 12:27:38 -07:00
Sean DuBois
6cda3cc488 Implement SDP generation for each track
This is still a WIP, this deserves a well thought out rewrite in the
future
2018-07-02 23:46:40 -07:00
Sean DuBois
6cd9d069c1 Clean up network.Port
* Split send/recv across two files
* Simplify DTLS handling, makes code cleaner
2018-06-29 01:18:18 -07:00