Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pion/ice
/ functions
Functions
1,382 in github.com/pion/ice
⨍
Functions
1,382
◇
Types & classes
160
↓ 6 callers
Function
testMultiUDPMuxConnections
(t *testing.T, udpMuxMulti *MultiUDPMuxDefault, ufrag string, network string)
udp_mux_multi_test.go:79
↓ 6 callers
Method
updateConnectionState
(newState ConnectionState)
agent.go:746
↓ 5 callers
Method
AddTo
32 bit AddTo adds PRIORITY attribute to message.
priority.go:18
↓ 5 callers
Method
AddTo
AddTo adds a Nomination attribute to a STUN message.
renomination.go:48
↓ 5 callers
Method
CloseChannel
()
udp_muxed_conn.go:149
↓ 5 callers
Method
Generate
()
rand.go:38
↓ 5 callers
Method
GetConn
GetConn returns a PacketConn given the connection's ufrag and network address. creates the connection if an existing one can't be found. The returned
udp_mux.go:151
↓ 5 callers
Method
GetFrom
GetFrom decodes DTLS-in-STUN-ACK attribute from message.
sped.go:59
↓ 5 callers
Method
GetFromWithType
GetFromWithType decodes a Nomination attribute from a STUN message using a specific attribute type.
renomination.go:32
↓ 5 callers
Method
GetXORMappedAddr
(stunAddr net.Addr, deadline time.Duration)
udp_mux_universal.go:21
↓ 5 callers
Method
IsReliable
IsReliable returns true if the network is reliable.
networktype.go:85
↓ 5 callers
Method
ListenUDP
(string, *net.UDPAddr)
gather_test.go:1275
↓ 5 callers
Method
NetworkType
NetworkType returns candidate NetworkType.
candidate_base.go:131
↓ 5 callers
Method
RenominateCandidate
RenominateCandidate allows the controlling ICE agent to nominate a new candidate pair. This implements the continuous renomination feature from draft-
agent.go:2018
↓ 5 callers
Method
RequestsSent
RequestsSent returns the total number of connectivity checks sent https://www.w3.org/TR/webrtc-stats/#dom-rtcicecandidatepairstats-requestssent
candidatepair.go:186
↓ 5 callers
Method
SetRemoteCredentials
SetRemoteCredentials sets the credentials of the remote agent.
agent.go:1854
↓ 5 callers
Method
SetWriteDeadline
SetWriteDeadline sets the write deadline on the currently selected local candidate connection. The deadline applies to the selected candidate pair and
transport.go:269
↓ 5 callers
Function
UDPMuxFromPortWithNetworks
UDPMuxFromPortWithNetworks set the networks that should be used. default is both IPv4 and IPv6.
udp_mux_multi.go:187
↓ 5 callers
Function
WithAutomaticRenomination
WithAutomaticRenomination enables automatic renomination of candidate pairs when better pairs become available after initial connection establishment.
agent_options.go:969
↓ 5 callers
Function
WithContinualGatheringPolicy
WithContinualGatheringPolicy sets the continual gathering policy for the agent. When set to GatherContinually, the agent will continuously monitor net
agent_options.go:821
↓ 5 callers
Method
addr
()
candidate_base.go:544
↓ 5 callers
Function
cloneIPs
(src []net.IP)
external_ip_mapper.go:167
↓ 5 callers
Method
closeMulticastConn
()
agent.go:1845
↓ 5 callers
Function
configuredNetworkTypes
(networkTypes []NetworkType)
gather.go:36
↓ 5 callers
Method
connCount
()
gather_test.go:4493
↓ 5 callers
Function
containsCandidateType
(candidateType CandidateType, candidateTypeList []CandidateType)
candidatetype.go:59
↓ 5 callers
Function
defaultRelayAcceptanceMinWaitFor
(candidateTypes []CandidateType)
agent_config.go:65
↓ 5 callers
Function
effectiveURLProtoType
(url stun.URI)
gather.go:44
↓ 5 callers
Method
gatherCandidatesLocal
nolint:gocognit,gocyclo,cyclop,maintidx
gather.go:310
↓ 5 callers
Method
gatherCandidatesLocalUDPMux
(ctx context.Context)
gather.go:521
↓ 5 callers
Method
getAddresses
()
udp_muxed_conn.go:182
↓ 5 callers
Function
getLocalIPAddress
(t *testing.T, networkType NetworkType)
active_tcp_test.go:23
↓ 5 callers
Function
ipv6Available
(t *testing.T)
active_tcp_test.go:45
↓ 5 callers
Method
isNominatable
(c Candidate)
selection.go:34
↓ 5 callers
Function
mDNSLocalAddressFromTCPMux
(tcpMux TCPMux, networkTypes []NetworkType)
agent.go:579
↓ 5 callers
Function
mustCandidateHostWithExtensions
( t *testing.T, conf *CandidateHostConfig, extensions []CandidateExtension, )
candidate_test.go:288
↓ 5 callers
Function
newRelayGatherNet
(addr *net.UDPAddr)
gather_test.go:758
↓ 5 callers
Function
pipeWithVNet
(t *testing.T, vnet *virtualNet, a0TestConfig, a1TestConfig *agentTestConfig)
connectivity_vnet_test.go:237
↓ 5 callers
Function
readStreamingPacket
readStreamingPacket reads 1 packet from stream read packet bytes https://tools.ietf.org/html/rfc4571#section-2 2-byte length header prepends each pac
tcp_mux.go:443
↓ 5 callers
Function
remoteDialIPForLocalInterface
(remoteIP, localIP netip.Addr)
agent.go:1109
↓ 5 callers
Method
removeAddress
(addr ipPort)
udp_muxed_conn.go:200
↓ 5 callers
Method
startConnectivityChecks
(isControlling bool, remoteUfrag, remotePwd string)
agent.go:640
↓ 5 callers
Function
toAddrPort
(addr net.Addr)
addr.go:130
↓ 5 callers
Method
validateSelectedPair
validateSelectedPair checks if the selected pair is (still) valid Note: the caller should hold the agent lock.
agent.go:897
↓ 4 callers
Method
AddToAs
64 bit AddToAs adds tiebreaker value to m as t attribute.
icecontrol.go:19
↓ 4 callers
Method
EnqueueCandidate
(cand Candidate)
agent_handlers.go:124
↓ 4 callers
Method
EnqueueConnectionState
(state ConnectionState)
agent_handlers.go:89
↓ 4 callers
Method
GetAllConns
GetAllConns returns a PacketConn for each underlying TCPMux.
tcp_mux_multi.go:56
↓ 4 callers
Method
GetFromAs
GetFromAs decodes tiebreaker value in message getting it as for t type.
icecontrol.go:28
↓ 4 callers
Method
GetRemoteCandidates
GetRemoteCandidates returns the remote candidates.
agent.go:1377
↓ 4 callers
Method
HandleBindingRequest
(message *stun.Message, local, remote Candidate)
selection.go:426
↓ 4 callers
Method
Interfaces
()
gather_test.go:1304
↓ 4 callers
Method
NewLogger
(string)
agent_options_test.go:1546
↓ 4 callers
Function
Nomination
Nomination creates a new STUN nomination attribute.
renomination.go:71
↓ 4 callers
Method
OnSelectedCandidatePairChange
OnSelectedCandidatePairChange sets a handler that is fired when the final candidate. pair is selected.
agent_handlers.go:17
↓ 4 callers
Method
ReadFrom
ReadFrom is called by UDPMux connWorker and handles packets coming from the STUN server discovering a mapped address. It passes processed packets furt
udp_mux_universal.go:101
↓ 4 callers
Method
ReadFrom
([]byte)
shared_packet_conn_test.go:31
↓ 4 callers
Method
RemoveExtension
RemoveExtension removes an extension attribute from the ICECandidate. Extension attributes are defined in RFC 5245, Section 15.1:
candidate.go:72
↓ 4 callers
Method
ResolveIPAddr
(network, address string)
gather_test.go:1292
↓ 4 callers
Method
Start
()
selection.go:29
↓ 4 callers
Method
TCPType
()
candidate_base.go:230
↓ 4 callers
Method
Trace
(string)
selection_test.go:176
↓ 4 callers
Function
UDPMuxFromPortWithLoopback
UDPMuxFromPortWithLoopback set loopback interface should be included.
udp_mux_multi.go:223
↓ 4 callers
Method
UpdatePacketSent
UpdatePacketSent increments packet/byte counters and updates timestamp for a sent application packet.
candidatepair.go:241
↓ 4 callers
Method
UpdateRequestReceived
UpdateRequestReceived increments the number of requests received and updates the timestamp.
candidatepair.go:336
↓ 4 callers
Function
WithInterfaceFilter
WithInterfaceFilter sets a filter function to whitelist or blacklist network interfaces for ICE candidate gathering. The filter function receives the
agent_options.go:998
↓ 4 callers
Function
WithLocalCredentials
WithLocalCredentials sets the local ICE username fragment and password used during Restart. If empty strings are provided, the agent will generate val
agent_options.go:559
↓ 4 callers
Function
WithNetworkMonitorInterval
WithNetworkMonitorInterval sets the interval at which the agent checks for network interface changes when using GatherContinually policy. This option
agent_options.go:844
↓ 4 callers
Function
WithProxyDialer
WithProxyDialer sets the proxy dialer used for TURN over TCP/TLS/DTLS connections.
agent_options.go:619
↓ 4 callers
Function
WithRemoteIPFilter
WithRemoteIPFilter sets a filter for remote candidate IP addresses. Candidates for which this function returns false are ignored.
agent_options.go:502
↓ 4 callers
Function
WithSTUNGatherTimeout
WithSTUNGatherTimeout sets the STUN gather timeout.
agent_options.go:475
↓ 4 callers
Method
WriteToPair
WriteToPair writes packet to a specific candidate pair identified by its ID. Returns ErrCandidatePairNotFound if the pair ID is not found. Returns Err
transport.go:189
↓ 4 callers
Method
addRemoteCandidateCache
(candidate Candidate, srcAddr net.Addr)
candidate_base.go:304
↓ 4 callers
Function
bigStr
()
selection_test.go:284
↓ 4 callers
Function
buildSimpleVNet
(t *testing.T)
gather_test.go:1863
↓ 4 callers
Method
checkKeepalive
checkKeepalive sends STUN Binding Indications to the selected pair if no packet has been sent on that pair in the last keepaliveInterval Note: the cal
agent.go:942
↓ 4 callers
Function
gatherAndCollectCandidates
(t *testing.T, agent *Agent)
transport_filtering_matrix_test.go:253
↓ 4 callers
Function
ipAddrToNetIP
(ip []byte, zone string)
addr.go:92
↓ 4 callers
Method
marshalExtensions
marshalExtensions returns the string representation of the candidate extensions.
candidate_base.go:705
↓ 4 callers
Function
mustAddr
(t *testing.T, ip net.IP)
net_test.go:60
↓ 4 callers
Function
newBufferedConn
(conn net.Conn, bufSize int, logger logging.LeveledLogger)
tcp_packet_conn.go:27
↓ 4 callers
Function
newFirewallNet
(allowUDP, allowTCP bool)
transport_filtering_matrix_test.go:46
↓ 4 callers
Function
newLogger
()
udp_mux_universal_test.go:193
↓ 4 callers
Method
nominatePair
(pair *CandidatePair)
selection.go:82
↓ 4 callers
Method
registerConnForAddress
(conn *udpMuxedConn, addr ipPort)
udp_mux.go:257
↓ 4 callers
Function
relayProtocolPreference
relayProtocolPreference returns the preference for the relay protocol.
candidate_relay.go:117
↓ 4 callers
Method
requestConnectivityCheck
()
agent.go:1040
↓ 4 callers
Function
sanitizeTransportNetworkTypes
(types []NetworkType)
agent_options.go:909
↓ 4 callers
Method
sendNominationRequest
sendNominationRequest sends a nomination request with custom nomination value.
agent.go:2038
↓ 4 callers
Function
testMuxConnection
(t *testing.T, udpMux *UDPMuxDefault, ufrag string, network string)
udp_mux_test.go:130
↓ 4 callers
Method
writeTo
(raw []byte, dst Candidate)
candidate.go:98
↓ 3 callers
Method
AddToWithType
AddToWithType adds a Nomination attribute to a STUN message using a specific attribute type.
renomination.go:53
↓ 3 callers
Method
Address
Address returns Candidate Address.
candidate_base.go:116
↓ 3 callers
Method
AwaitConnect
AwaitConnect waits until a pair is selected.
transport.go:16
↓ 3 callers
Method
BytesReceived
BytesReceived returns the number of bytes received.
transport.go:92
↓ 3 callers
Method
BytesSent
BytesSent returns the number of bytes sent.
transport.go:87
↓ 3 callers
Method
Err
Err returns nil if the task loop is still running. Otherwise it return errClosed if the loop has been closed/stopped.
internal/taskloop/taskloop.go:106
↓ 3 callers
Method
GetCandidatePairsStats
GetCandidatePairsStats returns a list of candidate pair stats.
agent_stats.go:12
↓ 3 callers
Method
GetConnByUfrag
(ufrag string, isIPv6 bool, local net.IP)
tcp_mux.go:27
↓ 3 callers
Method
GetConnForURL
GetConnForURL add uniques to the muxed connection by concatenating ufrag and URL (e.g. STUN URL) to be able to support multiple STUN/TURN servers and
udp_mux_universal.go:95
← previous
next →
201–300 of 1,382, ranked by callers