Bump pion/ice

SetEphemeralUDPPortRange now affects server reflexive candidates
as well.
This commit is contained in:
Adam Kiss
2019-05-10 23:51:25 +02:00
committed by Sean DuBois
parent 60b1dfdafc
commit a8148e4ac6
3 changed files with 7 additions and 7 deletions

View File

@@ -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