MCPcopy Create free account

hub / github.com/pion/ice / functions

Functions1,382 in github.com/pion/ice

↓ 6 callersFunctiontestMultiUDPMuxConnections
(t *testing.T, udpMuxMulti *MultiUDPMuxDefault, ufrag string, network string)
udp_mux_multi_test.go:79
↓ 6 callersMethodupdateConnectionState
(newState ConnectionState)
agent.go:746
↓ 5 callersMethodAddTo
32 bit AddTo adds PRIORITY attribute to message.
priority.go:18
↓ 5 callersMethodAddTo
AddTo adds a Nomination attribute to a STUN message.
renomination.go:48
↓ 5 callersMethodCloseChannel
()
udp_muxed_conn.go:149
↓ 5 callersMethodGenerate
()
rand.go:38
↓ 5 callersMethodGetConn
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 callersMethodGetFrom
GetFrom decodes DTLS-in-STUN-ACK attribute from message.
sped.go:59
↓ 5 callersMethodGetFromWithType
GetFromWithType decodes a Nomination attribute from a STUN message using a specific attribute type.
renomination.go:32
↓ 5 callersMethodGetXORMappedAddr
(stunAddr net.Addr, deadline time.Duration)
udp_mux_universal.go:21
↓ 5 callersMethodIsReliable
IsReliable returns true if the network is reliable.
networktype.go:85
↓ 5 callersMethodListenUDP
(string, *net.UDPAddr)
gather_test.go:1275
↓ 5 callersMethodNetworkType
NetworkType returns candidate NetworkType.
candidate_base.go:131
↓ 5 callersMethodRenominateCandidate
RenominateCandidate allows the controlling ICE agent to nominate a new candidate pair. This implements the continuous renomination feature from draft-
agent.go:2018
↓ 5 callersMethodRequestsSent
RequestsSent returns the total number of connectivity checks sent https://www.w3.org/TR/webrtc-stats/#dom-rtcicecandidatepairstats-requestssent
candidatepair.go:186
↓ 5 callersMethodSetRemoteCredentials
SetRemoteCredentials sets the credentials of the remote agent.
agent.go:1854
↓ 5 callersMethodSetWriteDeadline
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 callersFunctionUDPMuxFromPortWithNetworks
UDPMuxFromPortWithNetworks set the networks that should be used. default is both IPv4 and IPv6.
udp_mux_multi.go:187
↓ 5 callersFunctionWithAutomaticRenomination
WithAutomaticRenomination enables automatic renomination of candidate pairs when better pairs become available after initial connection establishment.
agent_options.go:969
↓ 5 callersFunctionWithContinualGatheringPolicy
WithContinualGatheringPolicy sets the continual gathering policy for the agent. When set to GatherContinually, the agent will continuously monitor net
agent_options.go:821
↓ 5 callersMethodaddr
()
candidate_base.go:544
↓ 5 callersFunctioncloneIPs
(src []net.IP)
external_ip_mapper.go:167
↓ 5 callersMethodcloseMulticastConn
()
agent.go:1845
↓ 5 callersFunctionconfiguredNetworkTypes
(networkTypes []NetworkType)
gather.go:36
↓ 5 callersMethodconnCount
()
gather_test.go:4493
↓ 5 callersFunctioncontainsCandidateType
(candidateType CandidateType, candidateTypeList []CandidateType)
candidatetype.go:59
↓ 5 callersFunctiondefaultRelayAcceptanceMinWaitFor
(candidateTypes []CandidateType)
agent_config.go:65
↓ 5 callersFunctioneffectiveURLProtoType
(url stun.URI)
gather.go:44
↓ 5 callersMethodgatherCandidatesLocal
nolint:gocognit,gocyclo,cyclop,maintidx
gather.go:310
↓ 5 callersMethodgatherCandidatesLocalUDPMux
(ctx context.Context)
gather.go:521
↓ 5 callersMethodgetAddresses
()
udp_muxed_conn.go:182
↓ 5 callersFunctiongetLocalIPAddress
(t *testing.T, networkType NetworkType)
active_tcp_test.go:23
↓ 5 callersFunctionipv6Available
(t *testing.T)
active_tcp_test.go:45
↓ 5 callersMethodisNominatable
(c Candidate)
selection.go:34
↓ 5 callersFunctionmDNSLocalAddressFromTCPMux
(tcpMux TCPMux, networkTypes []NetworkType)
agent.go:579
↓ 5 callersFunctionmustCandidateHostWithExtensions
( t *testing.T, conf *CandidateHostConfig, extensions []CandidateExtension, )
candidate_test.go:288
↓ 5 callersFunctionnewRelayGatherNet
(addr *net.UDPAddr)
gather_test.go:758
↓ 5 callersFunctionpipeWithVNet
(t *testing.T, vnet *virtualNet, a0TestConfig, a1TestConfig *agentTestConfig)
connectivity_vnet_test.go:237
↓ 5 callersFunctionreadStreamingPacket
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 callersFunctionremoteDialIPForLocalInterface
(remoteIP, localIP netip.Addr)
agent.go:1109
↓ 5 callersMethodremoveAddress
(addr ipPort)
udp_muxed_conn.go:200
↓ 5 callersMethodstartConnectivityChecks
(isControlling bool, remoteUfrag, remotePwd string)
agent.go:640
↓ 5 callersFunctiontoAddrPort
(addr net.Addr)
addr.go:130
↓ 5 callersMethodvalidateSelectedPair
validateSelectedPair checks if the selected pair is (still) valid Note: the caller should hold the agent lock.
agent.go:897
↓ 4 callersMethodAddToAs
64 bit AddToAs adds tiebreaker value to m as t attribute.
icecontrol.go:19
↓ 4 callersMethodEnqueueCandidate
(cand Candidate)
agent_handlers.go:124
↓ 4 callersMethodEnqueueConnectionState
(state ConnectionState)
agent_handlers.go:89
↓ 4 callersMethodGetAllConns
GetAllConns returns a PacketConn for each underlying TCPMux.
tcp_mux_multi.go:56
↓ 4 callersMethodGetFromAs
GetFromAs decodes tiebreaker value in message getting it as for t type.
icecontrol.go:28
↓ 4 callersMethodGetRemoteCandidates
GetRemoteCandidates returns the remote candidates.
agent.go:1377
↓ 4 callersMethodHandleBindingRequest
(message *stun.Message, local, remote Candidate)
selection.go:426
↓ 4 callersMethodInterfaces
()
gather_test.go:1304
↓ 4 callersMethodNewLogger
(string)
agent_options_test.go:1546
↓ 4 callersFunctionNomination
Nomination creates a new STUN nomination attribute.
renomination.go:71
↓ 4 callersMethodOnSelectedCandidatePairChange
OnSelectedCandidatePairChange sets a handler that is fired when the final candidate. pair is selected.
agent_handlers.go:17
↓ 4 callersMethodReadFrom
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 callersMethodReadFrom
([]byte)
shared_packet_conn_test.go:31
↓ 4 callersMethodRemoveExtension
RemoveExtension removes an extension attribute from the ICECandidate. Extension attributes are defined in RFC 5245, Section 15.1:
candidate.go:72
↓ 4 callersMethodResolveIPAddr
(network, address string)
gather_test.go:1292
↓ 4 callersMethodStart
()
selection.go:29
↓ 4 callersMethodTCPType
()
candidate_base.go:230
↓ 4 callersMethodTrace
(string)
selection_test.go:176
↓ 4 callersFunctionUDPMuxFromPortWithLoopback
UDPMuxFromPortWithLoopback set loopback interface should be included.
udp_mux_multi.go:223
↓ 4 callersMethodUpdatePacketSent
UpdatePacketSent increments packet/byte counters and updates timestamp for a sent application packet.
candidatepair.go:241
↓ 4 callersMethodUpdateRequestReceived
UpdateRequestReceived increments the number of requests received and updates the timestamp.
candidatepair.go:336
↓ 4 callersFunctionWithInterfaceFilter
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 callersFunctionWithLocalCredentials
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 callersFunctionWithNetworkMonitorInterval
WithNetworkMonitorInterval sets the interval at which the agent checks for network interface changes when using GatherContinually policy. This option
agent_options.go:844
↓ 4 callersFunctionWithProxyDialer
WithProxyDialer sets the proxy dialer used for TURN over TCP/TLS/DTLS connections.
agent_options.go:619
↓ 4 callersFunctionWithRemoteIPFilter
WithRemoteIPFilter sets a filter for remote candidate IP addresses. Candidates for which this function returns false are ignored.
agent_options.go:502
↓ 4 callersFunctionWithSTUNGatherTimeout
WithSTUNGatherTimeout sets the STUN gather timeout.
agent_options.go:475
↓ 4 callersMethodWriteToPair
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 callersMethodaddRemoteCandidateCache
(candidate Candidate, srcAddr net.Addr)
candidate_base.go:304
↓ 4 callersFunctionbigStr
()
selection_test.go:284
↓ 4 callersFunctionbuildSimpleVNet
(t *testing.T)
gather_test.go:1863
↓ 4 callersMethodcheckKeepalive
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 callersFunctiongatherAndCollectCandidates
(t *testing.T, agent *Agent)
transport_filtering_matrix_test.go:253
↓ 4 callersFunctionipAddrToNetIP
(ip []byte, zone string)
addr.go:92
↓ 4 callersMethodmarshalExtensions
marshalExtensions returns the string representation of the candidate extensions.
candidate_base.go:705
↓ 4 callersFunctionmustAddr
(t *testing.T, ip net.IP)
net_test.go:60
↓ 4 callersFunctionnewBufferedConn
(conn net.Conn, bufSize int, logger logging.LeveledLogger)
tcp_packet_conn.go:27
↓ 4 callersFunctionnewFirewallNet
(allowUDP, allowTCP bool)
transport_filtering_matrix_test.go:46
↓ 4 callersFunctionnewLogger
()
udp_mux_universal_test.go:193
↓ 4 callersMethodnominatePair
(pair *CandidatePair)
selection.go:82
↓ 4 callersMethodregisterConnForAddress
(conn *udpMuxedConn, addr ipPort)
udp_mux.go:257
↓ 4 callersFunctionrelayProtocolPreference
relayProtocolPreference returns the preference for the relay protocol.
candidate_relay.go:117
↓ 4 callersMethodrequestConnectivityCheck
()
agent.go:1040
↓ 4 callersFunctionsanitizeTransportNetworkTypes
(types []NetworkType)
agent_options.go:909
↓ 4 callersMethodsendNominationRequest
sendNominationRequest sends a nomination request with custom nomination value.
agent.go:2038
↓ 4 callersFunctiontestMuxConnection
(t *testing.T, udpMux *UDPMuxDefault, ufrag string, network string)
udp_mux_test.go:130
↓ 4 callersMethodwriteTo
(raw []byte, dst Candidate)
candidate.go:98
↓ 3 callersMethodAddToWithType
AddToWithType adds a Nomination attribute to a STUN message using a specific attribute type.
renomination.go:53
↓ 3 callersMethodAddress
Address returns Candidate Address.
candidate_base.go:116
↓ 3 callersMethodAwaitConnect
AwaitConnect waits until a pair is selected.
transport.go:16
↓ 3 callersMethodBytesReceived
BytesReceived returns the number of bytes received.
transport.go:92
↓ 3 callersMethodBytesSent
BytesSent returns the number of bytes sent.
transport.go:87
↓ 3 callersMethodErr
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 callersMethodGetCandidatePairsStats
GetCandidatePairsStats returns a list of candidate pair stats.
agent_stats.go:12
↓ 3 callersMethodGetConnByUfrag
(ufrag string, isIPv6 bool, local net.IP)
tcp_mux.go:27
↓ 3 callersMethodGetConnForURL
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
← previousnext →201–300 of 1,382, ranked by callers