Single port handling via UDPMux

Allows for ICE to handle connections on a single UDP port
This commit is contained in:
David Zhao
2021-04-09 21:27:26 -07:00
parent 6e4403794a
commit 86d69d6ce5
12 changed files with 627 additions and 9 deletions

View File

@@ -109,6 +109,9 @@ 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")