代码拉取完成,页面将自动刷新
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
// SPDX-License-Identifier: MIT
package turn
import "errors"
var (
errRelayAddressInvalid = errors.New("turn: RelayAddress must be valid IP to use RelayAddressGeneratorStatic")
errNoAvailableConns = errors.New("turn: PacketConnConfigs and ConnConfigs are empty, unable to proceed")
errConnUnset = errors.New("turn: PacketConnConfig must have a non-nil Conn")
errListenerUnset = errors.New("turn: ListenerConfig must have a non-nil Listener")
errListeningAddressInvalid = errors.New("turn: RelayAddressGenerator has invalid ListeningAddress")
errRelayAddressGeneratorUnset = errors.New("turn: RelayAddressGenerator in RelayConfig is unset")
errMaxRetriesExceeded = errors.New("turn: max retries exceeded")
errMaxPortNotZero = errors.New("turn: MaxPort must be not 0")
errMinPortNotZero = errors.New("turn: MaxPort must be not 0")
errNilConn = errors.New("turn: conn cannot not be nil")
errTODO = errors.New("turn: TODO")
errAlreadyListening = errors.New("turn: already listening")
errFailedToClose = errors.New("turn: Server failed to close")
errFailedToRetransmitTransaction = errors.New("turn: failed to retransmit transaction")
errAllRetransmissionsFailed = errors.New("all retransmissions failed for")
errChannelBindNotFound = errors.New("no binding found for channel")
errSTUNServerAddressNotSet = errors.New("STUN server address is not set for the client")
errOneAllocateOnly = errors.New("only one Allocate() caller is allowed")
errAlreadyAllocated = errors.New("already allocated")
errNonSTUNMessage = errors.New("non-STUN message from STUN server")
errFailedToDecodeSTUN = errors.New("failed to decode STUN message")
errUnexpectedSTUNRequestMessage = errors.New("unexpected STUN request message")
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。