Add trickle support

Resolves #51
This commit is contained in:
Konstantin Itskov
2019-05-25 16:22:03 -04:00
committed by Sean DuBois
parent f88c7d2cfa
commit e928d7b932
5 changed files with 195 additions and 31 deletions

View File

@@ -42,6 +42,10 @@ var (
// ErrRemotePwdEmpty indicates agent was started with an empty remote pwd
ErrRemotePwdEmpty = errors.New("remote pwd is empty")
// ErrNoOnCandidateHandler indicates agent was started without OnCandidate
// while running in trickle mode.
ErrNoOnCandidateHandler = errors.New("no OnCandidate provided")
// ErrUsernameEmpty indicates agent was give TURN URL with an empty Username
ErrUsernameEmpty = errors.New("username is empty")