We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1985e0 commit ab11eedCopy full SHA for ab11eed
settingengine.go
@@ -149,6 +149,9 @@ func (e *SettingEngine) SetRelayAcceptanceMinWait(t time.Duration) {
149
// SetEphemeralUDPPortRange limits the pool of ephemeral ports that
150
// ICE UDP connections can allocate from. This affects both host candidates,
151
// and the local address of server reflexive candidates.
152
+//
153
+// When portMin and portMax are left to the 0 default value, pion/ice candidate
154
+// gatherer replaces them and uses 1 for portMin and 65535 for portMax.
155
func (e *SettingEngine) SetEphemeralUDPPortRange(portMin, portMax uint16) error {
156
if portMax < portMin {
157
return ice.ErrPort
0 commit comments