MCPcopy Create free account

hub / github.com/pion/ice / functions

Functions1,382 in github.com/pion/ice

↓ 621 callersMethodEqual
(other Candidate)
candidate.go:78
↓ 371 callersMethodRun
Run serially executes the submitted callback. Blocking tasks must be cancelable by context.
internal/taskloop/taskloop.go:80
↓ 306 callersMethodClose
()
gather.go:29
↓ 265 callersMethodString
()
candidate.go:74
↓ 178 callersMethodClose
Close cleans up the Agent.
agent.go:1475
↓ 169 callersFunctionNewAgent
NewAgent creates a new Agent. Deprecated: use NewAgentWithOptions instead.
agent.go:186
↓ 122 callersFunctionNewAgentWithOptions
NewAgentWithOptions creates a new Agent with options only.
agent.go:191
↓ 104 callersMethodWarnf
(string, ...any)
selection_test.go:183
↓ 90 callersMethodLoad
Load retrieves the current value of the atomic variable.
internal/atomic/atomic.go:20
↓ 86 callersFunctionNewCandidateHost
NewCandidateHost creates a new host candidate.
candidate_host.go:32
↓ 79 callersMethodErrorf
(format string, args ...any)
selection_test.go:185
↓ 75 callersMethodNewLogger
(string)
selection_test.go:193
↓ 69 callersFunctionnewAddressRewriteMapper
nolint:gocognit,gocyclo,cyclop
external_ip_mapper.go:252
↓ 65 callersMethodDone
Done implements context.Context.
candidate_base.go:68
↓ 61 callersMethodType
()
candidate.go:75
↓ 59 callersMethodAddress
()
candidate.go:46
↓ 58 callersFunctionWithNet
WithNet sets the underlying network implementation for the agent.
agent_options.go:515
↓ 56 callersMethodOnCandidate
OnCandidate sets a handler that is fired when new candidates gathered. When the gathering process complete the last candidate is nil.
agent_handlers.go:25
↓ 54 callersMethodStore
Store updates the value of the atomic variable.
internal/atomic/atomic.go:15
↓ 51 callersFunctionWithNetworkTypes
WithNetworkTypes sets the enabled candidate network types for candidate gathering. This controls the network types exposed in ICE candidates and used
agent_options.go:869
↓ 49 callersMethodError
()
addr.go:80
↓ 49 callersMethodOnConnectionStateChange
OnConnectionStateChange sets a handler that is fired when the connection state changes.
agent_handlers.go:9
↓ 48 callersMethodLocalAddr
LocalAddr returns the local address of the current selected pair or nil if there is none.
transport.go:234
↓ 47 callersFunctionsupportedNetworkTypes
()
networktype.go:21
↓ 45 callersMethodNetworkType
()
candidate.go:45
↓ 41 callersFunctionWithCandidateTypes
WithCandidateTypes sets the enabled candidate types for gathering. By default, host, server reflexive, and relay candidates are enabled. Example: a
agent_options.go:940
↓ 40 callersMethodaddPair
(local, remote Candidate)
agent.go:875
↓ 39 callersMethodGatherCandidates
GatherCandidates initiates the trickle based gathering process.
gather.go:116
↓ 39 callersFunctionWithAddressRewriteRules
WithAddressRewriteRules appends the provided address rewrite (1:1) rules to the agent's existing configuration. Each `AddressRewriteRule` can limit th
agent_options.go:51
↓ 39 callersFunctionWithMulticastDNSMode
WithMulticastDNSMode configures mDNS behavior for the agent.
agent_options.go:528
↓ 39 callersMethodgetSelectedPair
()
agent.go:1837
↓ 38 callersFunctionnewStubNet
(t *testing.T)
agent_options_test.go:1678
↓ 37 callersMethodGetLocalCandidates
GetLocalCandidates returns the local candidates.
agent.go:1395
↓ 36 callersFunctionnewCandidatePair
(local, remote Candidate, controlling bool)
candidatepair.go:14
↓ 35 callersMethodListenUDP
(network string, laddr *net.UDPAddr)
net_test.go:200
↓ 34 callersMethodfindExternalIPs
(locIP net.IP)
external_ip_mapper.go:185
↓ 32 callersMethodID
ID is a unique identifier for just this candidate Unlike the foundation this is different for each candidate
candidate.go:32
↓ 31 callersMethodTracef
(string, ...any)
selection_test.go:177
↓ 30 callersMethodUpdateRoundTripTime
UpdateRoundTripTime sets the current round time of this pair and accumulates total round trip time and responses received.
candidatepair.go:155
↓ 30 callersFunctionassertExternalIPStrings
( t *testing.T, mapper *addressRewriteMapper, candidateType CandidateType, localIP string, iface string,
external_ip_mapper_test.go:28
↓ 30 callersFunctionnewPingNoIOCand
()
selection_test.go:245
↓ 29 callersFunctionNewUDPMuxDefault
NewUDPMuxDefault creates an implementation of UDPMux.
udp_mux.go:64
↓ 29 callersMethodWrite
Write implements the Conn Write method.
transport.go:125
↓ 29 callersFunctiononConnected
()
transport_test.go:341
↓ 28 callersMethodRemoteAddr
RemoteAddr returns the remote address of the current selected pair or nil if there is none.
transport.go:244
↓ 26 callersMethodRead
Read implements the Conn Read method.
transport.go:112
↓ 25 callersFunctioncloseConnAndLog
Close a net.Conn and log if we have a failure.
gather.go:102
↓ 24 callersMethodPriority
()
candidate.go:49
↓ 24 callersFunctionlocalInterfaces
nolint:gocognit,cyclop
net.go:48
↓ 23 callersFunctionUseCandidate
UseCandidate is shorthand for UseCandidateAttr.
usecandidate.go:26
↓ 23 callersMethodhandleInbound
handleInbound processes STUN traffic from a remote candidate.
agent.go:1670
↓ 22 callersMethodLocalAddr
LocalAddr returns the listening address of this TCPMuxDefault.
tcp_mux.go:119
↓ 22 callersMethodPort
()
candidate.go:47
↓ 22 callersFunctionWithRenomination
WithRenomination enables ICE renomination as described in draft-thatcher-ice-renomination-01. When enabled, the controlling agent can renominate candi
agent_options.go:668
↓ 22 callersFunctionenvOrDefault
(key, fallback string)
examples/nat-rules/main.go:471
↓ 22 callersFunctionnewStubPacketConn
(addr net.Addr)
gather_test.go:4436
↓ 21 callersMethodDebugf
(string, ...any)
selection_test.go:179
↓ 21 callersMethodListenTCP
(string, *net.TCPAddr)
gather_test.go:1279
↓ 21 callersMethodclose
()
candidate.go:94
↓ 21 callersFunctionmakeRule
(candidateType CandidateType, ips ...string)
external_ip_mapper_test.go:13
↓ 21 callersMethodsetSelectedPair
(pair *CandidatePair)
agent.go:764
↓ 20 callersMethodGetLocalUserCredentials
GetLocalUserCredentials returns the local user credentials.
agent.go:1431
↓ 20 callersMethodIsTCP
IsTCP returns true when network is TCP4 or TCP6.
networktype.go:68
↓ 19 callersMethodClose
Close closes the listener and waits for all goroutines to exit.
tcp_mux.go:329
↓ 19 callersFunctionconnect
(t *testing.T, aAgent, bAgent *Agent)
transport_test.go:237
↓ 18 callersFunctionNewCandidateRelay
NewCandidateRelay creates a new relay candidate.
candidate_relay.go:45
↓ 18 callersFunctionNewTCPMuxDefault
NewTCPMuxDefault creates a new instance of TCPMuxDefault.
tcp_mux.go:69
↓ 18 callersMethodfindPair
(local, remote Candidate)
agent.go:885
↓ 18 callersFunctionhostCandidate
()
candidatepair_test.go:12
↓ 17 callersMethodClose
Close the mux, no further connections could be created.
udp_mux.go:229
↓ 17 callersMethodInfof
(string, ...any)
selection_test.go:181
↓ 17 callersFunctionWithUrls
WithUrls sets the STUN/TURN server URLs used by the agent.
agent_options.go:350
↓ 17 callersMethodaddRemoteCandidate
addRemoteCandidate assumes you are holding the lock (must be execute using a.run). Returns true when the candidate is accepted (including duplicates).
agent.go:1256
↓ 17 callersFunctionlistenUDPInPortRange
nolint:cyclop
net.go:130
↓ 17 callersMethodpriority
RFC 5245 - 5.7.2. Computing Pair Priority and Ordering Pairs Let G be the priority for the candidate provided by the controlling agent. Let D be the
candidatepair.go:99
↓ 16 callersFunctionUnmarshalCandidate
UnmarshalCandidate Parses a candidate from a string https://datatracker.ietf.org/doc/html/rfc5245#section-15.1
candidate_base.go:757
↓ 16 callersFunctionsecondTestMuxedConn
(t *testing.T, capBytes int)
udp_mux_test.go:290
↓ 16 callersMethodsetSelector
()
agent.go:1982
↓ 15 callersMethodAddExtension
AddExtension adds an extension attribute to the ICECandidate. If an extension with the same key already exists, it will be overwritten. Extension attr
candidate.go:69
↓ 15 callersMethodAddRemoteCandidate
AddRemoteCandidate adds a new remote candidate.
agent.go:956
↓ 15 callersMethodErr
Err implements context.Context.
candidate_base.go:73
↓ 15 callersMethodaddr
()
candidate.go:89
↓ 15 callersFunctionbareAgentForPing
()
selection_test.go:255
↓ 15 callersFunctionclosePipe
(t *testing.T, ca *Conn, cb *Conn)
connectivity_vnet_test.go:321
↓ 15 callersMethodgetSelector
()
agent.go:2000
↓ 14 callersFunctionDefaultNominationValueGenerator
DefaultNominationValueGenerator returns a generator that starts at 1 and increments for each call. This provides a simple, monotonically increasing se
agent_options.go:28
↓ 14 callersFunctionnewSharedPacketConn
newSharedPacketConn increments the shared refcount and returns a wrapper. Each returned wrapper must have Close called exactly once.
shared_packet_conn.go:44
↓ 14 callersFunctionparseAddr
(in net.Addr)
addr.go:38
↓ 14 callersMethodshouldAcceptNomination
shouldAcceptNomination checks if a nomination should be accepted based on renomination rules.
selection.go:292
↓ 14 callersFunctionvalidateIPString
(ipStr string)
external_ip_mapper.go:59
↓ 13 callersMethodAccept
Accept blocks until at least one ice candidate pair has successfully connected.
transport.go:65
↓ 13 callersMethodDial
Dial blocks until at least one ice candidate pair has successfully connected.
transport.go:40
↓ 13 callersMethodExtensions
Extensions returns a copy of all extension attributes associated with the ICECandidate. In the order of insertion, *(key value). Extension attributes
candidate.go:60
↓ 13 callersMethodIsIPv6
IsIPv6 returns whether the network type is IPv6 or not.
networktype.go:109
↓ 13 callersMethodListenPacket
(string, string)
gather_test.go:1274
↓ 13 callersFunctionmustCandidateHost
(t *testing.T, conf *CandidateHostConfig)
candidate_test.go:279
↓ 13 callersFunctionrandomPort
(tb testing.TB)
transport_test.go:351
↓ 13 callersMethodsetExtensions
(extensions []CandidateExtension)
candidate_base.go:751
↓ 12 callersMethodDebug
(string)
selection_test.go:178
↓ 12 callersFunctionNewCandidateServerReflexive
NewCandidateServerReflexive creates a new server reflective candidate.
candidate_server_reflexive.go:30
next →1–100 of 1,382, ranked by callers