Nevio Vesic
a077bc201a
Allow setting local credentials via AgentConfig
...
Add local credential support to the AgentConfig and
validate credentials per RFC standard. If no credentials
are passed we still generate random ones ourselves.
2019-11-08 01:09:08 -08:00
Yutaka Takeda
867a355033
Support 1:1 NAT option
...
Relates to pion/webrtc#835
2019-09-24 11:51:07 -07:00
Sebastian Waisbrot
953f36f07f
Add config to run Agent in Lite mode
...
Allow the agent to run in Lite mode. This is useful in
cases where you never want connectivity checks, and reduces
possible attacks surfaces when you have a public IP.
2019-09-02 16:13:08 -07:00
Sean DuBois
acbf5671b7
IP -> Address in public API
...
ICE RFC specifies this value as `Address` and not IP. We need to fix
this divergence to implement mDNS
Relates to pion/webrtc#699
2019-06-21 20:22:21 +08:00
Sean DuBois
78c7f4e989
Return error from GatherCandidates
...
When OnCandidate handler isn't defined and trickle
is enabled return an error
Relates to #51
2019-05-27 01:23:34 -07:00
Konstantin Itskov
e928d7b932
Add trickle support
...
Resolves #51
2019-05-27 01:23:34 -07:00
Sean DuBois
f88c7d2cfa
Add Username/Password to URL
...
Needed to allow auth for TURN
2019-05-25 16:20:23 -07:00
Sean DuBois
bb69dcb592
Assert that agent isn't started twice
...
Check was lost, also add tests so we don't regress again
2019-04-25 16:45:38 -07:00
Sean DuBois
3580f6234f
Return typed error when no candidate pairs
...
Returning a typed error allows us to handle it gracefully in
pions/webrtc
2019-03-26 00:50:44 -07:00
Sean DuBois
be2ef55e62
Remove pkg/errors dependency
...
Lots of people are paying attention to what dependecies we add to their
projects now. This just makes things a little cleaner.
Resolves #469
2019-03-06 09:34:10 -08:00
Michael MacDonald
dc966e04a9
Move pkg/ice to internal/ice
...
Avoid exposing any non-standard API.
2019-03-01 08:07:42 -05:00