mirror of
https://github.com/pion/webrtc.git
synced 2025-10-05 23:26:58 +08:00
Bump pion/ice
SetEphemeralUDPPortRange now affects server reflexive candidates as well.
This commit is contained in:
@@ -45,8 +45,8 @@ func (e *SettingEngine) SetConnectionTimeout(connectionTimeout, keepAlive time.D
|
||||
}
|
||||
|
||||
// SetEphemeralUDPPortRange limits the pool of ephemeral ports that
|
||||
// ICE UDP connections can allocate from. This setting currently only
|
||||
// affects host candidates, not server reflexive candidates.
|
||||
// ICE UDP connections can allocate from. This affects both host candidates,
|
||||
// and the local address of server reflexive candidates.
|
||||
func (e *SettingEngine) SetEphemeralUDPPortRange(portMin, portMax uint16) error {
|
||||
if portMax < portMin {
|
||||
return ice.ErrPort
|
||||
|
Reference in New Issue
Block a user