MCPcopy Create free account

hub / github.com/pion/ice / functions

Functions1,382 in github.com/pion/ice

↓ 12 callersFunctionWithIncludeLoopback
WithIncludeLoopback includes loopback addresses in the candidate list. By default, loopback addresses are excluded. Example: agent, err := NewAgent
agent_options.go:714
↓ 12 callersMethodcloseAndLogError
(closer io.Closer)
tcp_mux.go:196
↓ 12 callersMethodgetNominationValue
getNominationValue returns a nomination value if generator is available, otherwise 0.
agent.go:2008
↓ 12 callersMethodresolveRelayAddresses
(ep relayEndpoint)
gather.go:1239
↓ 11 callersMethodFoundation
An arbitrary string used in the freezing algorithm to group similar candidates. It is the same for two candidates that have the same type, base IP ad
candidate.go:28
↓ 11 callersMethodIsUDP
IsUDP returns true when network is UDP4 or UDP6.
networktype.go:63
↓ 11 callersMethodStart
()
selection.go:15
↓ 11 callersMethodTCPType
()
candidate.go:76
↓ 11 callersMethodresolveSrflxAddresses
(localIP net.IP, iface string)
gather.go:1272
↓ 10 callersMethodGetExtension
GetExtension returns the value of the extension attribute associated with the ICECandidate. Extension attributes are defined in RFC 5245, Section 15.1
candidate.go:65
↓ 10 callersMethodGetFrom
GetFrom decodes a Nomination attribute from a STUN message.
renomination.go:27
↓ 10 callersMethodIsIPv4
IsIPv4 returns whether the network type is IPv4 or not.
networktype.go:97
↓ 10 callersMethodLocalAddr
LocalAddr returns the listening address of this UDPMuxDefault.
udp_mux.go:134
↓ 10 callersFunctionNew
New creates and starts a new task loop.
internal/taskloop/taskloop.go:35
↓ 10 callersMethodResolveUDPAddr
(network, address string)
gather_test.go:1296
↓ 10 callersMethodSetReadDeadline
SetReadDeadline sets the read deadline on the packet buffer used for application data.
transport.go:263
↓ 10 callersFunctionWithLoggerFactory
WithLoggerFactory sets the logger factory for the agent. Example: import "github.com/pion/logging" loggerFactory := logging.NewDefaultLoggerFacto
agent_options.go:1019
↓ 10 callersMethodaddRelayCandidates
(ctx context.Context, ep relayEndpoint)
gather.go:1351
↓ 10 callersMethodapplyHostAddressRewrite
(addr netip.Addr, mappedAddrs []netip.Addr, iface string)
gather.go:188
↓ 10 callersFunctionbuildVNet
(natType0, natType1 *vnet.NATType)
connectivity_vnet_test.go:47
↓ 10 callersFunctionnewHostGatherNet
(addr *net.UDPAddr)
gather_test.go:984
↓ 10 callersFunctionpipe
(t *testing.T, defaultConfig *AgentConfig)
transport_test.go:263
↓ 9 callersMethodHandleBindingRequest
(m *stun.Message, local, remote Candidate)
selection.go:19
↓ 9 callersMethodLastReceived
The last time this candidate received traffic
candidate.go:40
↓ 9 callersMethodMarshal
()
candidate.go:83
↓ 9 callersFunctionNewMultiTCPMuxDefault
NewMultiTCPMuxDefault creates an instance of MultiTCPMuxDefault that uses the provided TCPMux instances.
tcp_mux_multi.go:27
↓ 9 callersMethodRestart
Restart restarts the ICE Agent with the provided ufrag/pwd If no ufrag/pwd is provided the Agent will generate one itself If there is a gatherer rout
agent.go:1897
↓ 9 callersFunctionWithUDPMux
WithUDPMux sets the UDP mux used for multiplexing host candidates.
agent_options.go:593
↓ 9 callersFunctionassertNoExternalMapping
(t *testing.T, mapper *addressRewriteMapper, candidateType CandidateType, localIP string)
external_ip_mapper_test.go:47
↓ 9 callersMethodgatherCandidatesRelay
nolint:maintidx,gocognit,gocyclo,cyclop
gather.go:943
↓ 9 callersFunctionnewAgentFromConfig
(config *AgentConfig, opts ...AgentOption)
agent.go:195
↓ 9 callersFunctionshouldFilterLocationTracked
shouldFilterLocationTracked returns if this candidate IP should be filtered out from any candidate publishing/notification for location tracking reaso
gather.go:512
↓ 9 callersMethodshouldRenominate
shouldRenominate determines if automatic renomination should occur. It compares the current selected pair with a candidate pair and decides if switchi
agent.go:2147
↓ 8 callersMethodDialTCP
(string, *net.TCPAddr, *net.TCPAddr)
gather_test.go:1288
↓ 8 callersMethodGetFrom
GetFrom decodes Role and Tiebreaker value from message.
icecontrol.go:83
↓ 8 callersMethodGetSelectedCandidatePair
GetSelectedCandidatePair returns the selected pair or nil if there is none.
agent.go:1818
↓ 8 callersMethodLastSent
The last time this candidate sent traffic
candidate.go:43
↓ 8 callersMethodTypePreference
TypePreference returns the type preference for this candidate.
candidate_base.go:429
↓ 8 callersMethodWarn
(string)
selection_test.go:182
↓ 8 callersMethodaddCandidate
(ctx context.Context, cand Candidate, candidateConn net.PacketConn)
agent.go:1325
↓ 8 callersMethodapply
(*multiUDPMuxFromPortParam)
udp_mux_multi.go:146
↓ 8 callersFunctioncopyAtomicValue
(dst, src *atomic.Value)
agent.go:1121
↓ 8 callersMethodevaluateCandidatePairQuality
evaluateCandidatePairQuality calculates a quality score for a candidate pair. Higher scores indicate better quality. The score considers: - Candidate
agent.go:2077
↓ 8 callersFunctionmakeLocalRule
(local string, ips ...string)
external_ip_mapper_test.go:20
↓ 8 callersFunctionnewHostLocal
(t *testing.T)
utils_test.go:80
↓ 8 callersFunctionnewMockUDPMux
(addrs []net.Addr)
gather_test.go:4472
↓ 8 callersMethodwritePacket
(data []byte, addr *net.UDPAddr)
udp_muxed_conn.go:221
↓ 7 callersMethodClose
(graceful bool)
agent_handlers.go:69
↓ 7 callersMethodCurrentRoundTripTime
CurrentRoundTripTime returns the current round trip time in seconds https://www.w3.org/TR/webrtc-stats/#dom-rtcicecandidatepairstats-currentroundtript
candidatepair.go:168
↓ 7 callersMethodGetConn
(ufrag string, addr net.Addr)
udp_mux.go:24
↓ 7 callersMethodGetFrom
GetFrom decodes PRIORITY attribute from message.
priority.go:27
↓ 7 callersMethodListen
()
gather.go:27
↓ 7 callersMethodLocalAddr
()
udp_mux_test.go:714
↓ 7 callersMethodNetworkShort
NetworkShort returns the short network description.
networktype.go:73
↓ 7 callersFunctionNewCandidatePeerReflexive
NewCandidatePeerReflexive creates a new peer reflective candidate.
candidate_peer_reflexive.go:32
↓ 7 callersFunctionNewMultiUDPMuxDefault
NewMultiUDPMuxDefault creates an instance of MultiUDPMuxDefault that uses the provided UDPMux instances.
udp_mux_multi.go:25
↓ 7 callersMethodReadFrom
(p []byte)
udp_mux_test.go:699
↓ 7 callersMethodRelatedAddress
A transport address related to a candidate, which is useful for diagnostics and other purposes
candidate.go:53
↓ 7 callersMethodResolveTCPAddr
(network, address string)
gather_test.go:1300
↓ 7 callersMethodWriteTo
([]byte, net.Addr)
udp_mux_test.go:712
↓ 7 callersMethodWriteTo
(buff []byte, _ net.Addr)
active_tcp.go:118
↓ 7 callersMethodcopy
()
candidate.go:95
↓ 7 callersFunctiongatherAndExchangeCandidates
(t *testing.T, aAgent, bAgent *Agent)
transport_test.go:194
↓ 7 callersFunctionnewActiveTCPConn
( ctx context.Context, localAddress string, remoteAddress netip.AddrPort, log logging.LeveledLogger, )
active_tcp.go:25
↓ 7 callersFunctionnewTCPPacketConn
(params tcpPacketParams)
tcp_packet_conn.go:114
↓ 7 callersFunctionreadCandidateStringToken
Read an ice string token from the raw string until a space is encountered Or the end of the string, we imply that ice string are UTF-8 encoded.
candidate_base.go:969
↓ 7 callersFunctionsrflxCandidate
()
candidatepair_test.go:30
↓ 7 callersFunctionwriteStreamingPacket
(conn net.Conn, buf []byte)
tcp_mux.go:472
↓ 6 callersMethodAddConn
(conn net.Conn, firstPacketData []byte)
tcp_packet_conn.go:142
↓ 6 callersMethodClose
Close the multi mux, no further connections could be created.
udp_mux_multi.go:59
↓ 6 callersMethodClose
Close the multi mux, no further connections could be created.
tcp_mux_multi.go:77
↓ 6 callersMethodDialUDP
(string, *net.UDPAddr, *net.UDPAddr)
gather_test.go:1284
↓ 6 callersMethodGetConnByUfrag
GetConnByUfrag retrieves an existing or creates a new net.PacketConn. The returned conn is a refcounted — repeat calls return connection with increase
tcp_mux.go:126
↓ 6 callersMethodGetGatheringState
GetGatheringState returns the current gathering state of the Agent.
agent.go:1418
↓ 6 callersMethodGetListenAddresses
()
udp_mux.go:26
↓ 6 callersMethodLocalAddr
()
gather_test.go:1722
↓ 6 callersFunctionNewMultiUDPMuxFromPort
NewMultiUDPMuxFromPort creates an instance of MultiUDPMuxDefault that listen all interfaces on the provided port.
udp_mux_multi.go:82
↓ 6 callersFunctionNewTCPType
NewTCPType creates a new TCPType from string.
tcptype.go:25
↓ 6 callersMethodReadFrom
(buff []byte)
active_tcp.go:106
↓ 6 callersMethodRemoveConnByUfrag
(ufrag string)
udp_mux.go:25
↓ 6 callersMethodStart
()
selection.go:287
↓ 6 callersMethodType
Type returns candidate type.
candidate_base.go:126
↓ 6 callersFunctionWithNominationAttribute
WithNominationAttribute sets the STUN attribute type to use for ICE renomination. The default value is 0xC001. This can be configured until the attrib
agent_options.go:691
↓ 6 callersFunctionWithTCPMux
WithTCPMux sets the TCP mux for ICE TCP multiplexing.
agent_options.go:580
↓ 6 callersFunctionWithTURNTransportProtocols
WithTURNTransportProtocols restricts protocols used by this agent when connecting to TURN servers (TURN client <-> TURN server transport). This is in
agent_options.go:892
↓ 6 callersFunctionaddrEqual
(a, b net.Addr)
addr.go:113
↓ 6 callersMethodagent
()
candidate_base.go:552
↓ 6 callersFunctionclosedStartedCh
()
gather_test.go:2181
↓ 6 callersFunctionconnectWithVNet
(t *testing.T, aAgent, bAgent *Agent)
connectivity_vnet_test.go:202
↓ 6 callersFunctioncreateAddr
(network NetworkType, ip netip.Addr, port int)
addr.go:104
↓ 6 callersFunctiondetermineNetworkType
determineNetworkType determines the type of network based on the short network string and an IP address.
networktype.go:122
↓ 6 callersMethodequal
(other *CandidatePair)
candidatepair.go:78
↓ 6 callersMethodhasCandidateType
(candidateType CandidateType)
external_ip_mapper.go:343
↓ 6 callersFunctionisSupportedIPv6Partial
The conditions of invalidation written below are defined in https://tools.ietf.org/html/rfc8445#section-5.1.1.1 It is partial because the link-local c
net.go:24
↓ 6 callersMethodkeepAliveCandidatesForRenomination
keepAliveCandidatesForRenomination pings all candidate pairs to keep them tested and ready for automatic renomination. Unlike pingAllCandidates, this:
agent.go:816
↓ 6 callersFunctionnewIPPort
newIPPort create a custom type of address based on netip.Addr and port. The underlying ip address passed is converted to IPv6 format to simplify ip ad
udp_mux.go:400
↓ 6 callersFunctionrequireFirstExternalIP
( t *testing.T, mapper *addressRewriteMapper, candidateType CandidateType, localIP string, )
agent_options_test.go:844
↓ 6 callersMethodseen
(outbound bool)
candidate.go:96
↓ 6 callersMethodsendBindingRequest
(msg *stun.Message, local, remote Candidate)
agent.go:1540
↓ 6 callersFunctionshouldFilterLocationTrackedIP
shouldFilterLocationTrackedIP returns if this candidate IP should be filtered out from any candidate publishing/notification for location tracking rea
gather.go:501
← previousnext →101–200 of 1,382, ranked by callers