mirror of
https://github.com/pion/ice.git
synced 2025-10-13 03:03:44 +08:00
Bypass other host candidates with UDPMux
Separate candidate gathering when UDPMux is enabled. Only a single UDP host candidate should be generated that points to the mux.
This commit is contained in:
@@ -109,9 +109,6 @@ var (
|
||||
// ErrTCPRemoteAddrAlreadyExists indicates we already have the connection with same remote addr.
|
||||
ErrTCPRemoteAddrAlreadyExists = errors.New("conn with same remote addr already exists")
|
||||
|
||||
// ErrMuxNotStarted indicates the Mux has not been started prior to use
|
||||
ErrMuxNotStarted = errors.New("mux must be started first")
|
||||
|
||||
errSendPacket = errors.New("failed to send packet")
|
||||
errAttributeTooShortICECandidate = errors.New("attribute not long enough to be ICE candidate")
|
||||
errParseComponent = errors.New("could not parse component")
|
||||
@@ -132,4 +129,6 @@ var (
|
||||
errUnknownRole = errors.New("unknown role")
|
||||
errMismatchUsername = errors.New("username mismatch")
|
||||
errICEWriteSTUNMessage = errors.New("the ICE conn can't write STUN messages")
|
||||
errUDPMuxDisabled = errors.New("UDPMux is not enabled")
|
||||
errCandidateIPNotFound = errors.New("could not determine local IP for Mux candidate")
|
||||
)
|
||||
|
Reference in New Issue
Block a user