Commit Graph

11 Commits

Author SHA1 Message Date
backkem
5798f394a3 ICE: Implement keep-alive
- Periodically send a keep-alive Binding Indication.
- Downgrade connection state to disconnected after timeout.

Resolves #163
2018-09-22 13:00:54 -07:00
Konstantin Itskov
12894d097b Fix all issues related to math/rand 2018-08-28 01:03:09 -07:00
Konstantin Itskov
c32dd50b97 Add almost completely working stun/turn uri parser 2018-08-28 01:03:09 -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
Konstantin Itskov
46231d9c39 [WIP] Add complete sdp parsing improved implementation 2018-08-14 00:56:51 -04:00
Sean DuBois
938e490c39 Fix all lint errors, move SDP code to proper package 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
0c08a67e20 Start full ICE implementation for #23 2018-08-11 13:56:28 -07:00