Commit Graph

17 Commits

Author SHA1 Message Date
backkem
aa22a92b18 datachannel: handle data before final ICE pair selection, fix agent deadlock 2018-08-18 00:18:23 -07:00
Sean DuBois
ceed0bb590 When comparing candidates check Host+Srflx 2018-08-17 00:00:44 -07:00
Sean DuBois
78b6a76cc5 Revert "Move ICE package from public to internal folder structure"
ICE Package needs to be public for peerConnection.OnICEConnectionStateChange

This reverts commit b831f87d28.
2018-08-16 10:10:29 -07:00
Konstantin Itskov
b831f87d28 Move ICE package from public to internal folder structure 2018-08-16 01:28:48 -07:00
Sean DuBois
ae2ee106e6 Fix deadlock in ICEAgent, early exit failed to unlock mutex
Reported+Fixed by @backkem
2018-08-15 12:05:39 -07:00
Konstantin Itskov
46231d9c39 [WIP] Add complete sdp parsing improved implementation 2018-08-14 00:56:51 -04:00
Sean DuBois
02e72796d4 Emit ICEConnectionState to user API again 2018-08-11 13:56:28 -07:00
Sean DuBois
283404bd6c Remove all panics in library code 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
9cb64036b2 Finish ICE implementation 2018-08-11 13:56:28 -07:00
Sean DuBois
4de5016f96 Everything works, bug with MessageIntegrity
pion-WebRTC passes through every step, but messages get discared because
MI check is failing. We are able to Offer (or answer) to Chrome after
this is done
2018-08-11 13:56:28 -07:00
Sean DuBois
571bfc7c4f Start to refactor signaling so we can support Offers 2018-08-11 13:56:28 -07:00
Sean DuBois
e4b3defcc1 Everything works again!
All the examples need to be updated, SDP should only be
emitted after gathering is done (until we support trickle)

Currently we can't be controlling-ICE, but that is probably a days
worth of work. After that is done pion-WebRTC should be able to talk
to itself.
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
3ebc6fe428 Create Local Candidates 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
backkem
7f682d2d2e api: match WebRTC api more closely 2018-07-16 14:20:18 -07:00