mirror of
https://github.com/pion/ice.git
synced 2025-10-05 15:37:07 +08:00
Support UDP muxing for SRFLX candidates
The original UDPMux only works for the HOST candidates. UniversalUDPMux adds support for SRFLX candidates and will later support Relay candidates. UniversalUDPMux embeds UDPMuxDefault and handles STUN server packets to discover XORMappedAddr forwarding the remaining packets for muxing to UDPMuxDefault.
This commit is contained in:

committed by
David Zhao

parent
7723b468a6
commit
2d70ec8e3c
@@ -135,4 +135,8 @@ var (
|
||||
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")
|
||||
errNoXorAddrMapping = errors.New("no address mapping")
|
||||
errSendSTUNPacket = errors.New("failed to send STUN packet")
|
||||
errXORMappedAddrTimeout = errors.New("timeout while waiting for XORMappedAddr")
|
||||
errNotImplemented = errors.New("not implemented yet")
|
||||
)
|
||||
|
Reference in New Issue
Block a user