MCPcopy Create free account

hub / github.com/pion/ice / functions

Functions1,382 in github.com/pion/ice

↓ 2 callersFunctionWithEnableUseCandidateCheckPriority
WithEnableUseCandidateCheckPriority enables checking for equal or higher priority when switching selected candidate pair if the peer requests USE-CAND
agent_options.go:801
↓ 2 callersFunctionWithFailedTimeout
WithFailedTimeout sets the duration before the agent transitions to failed state after disconnected. A timeout of 0 disables the transition.
agent_options.go:396
↓ 2 callersFunctionWithHostAcceptanceMinWait
WithHostAcceptanceMinWait sets the minimum wait before selecting host candidates.
agent_options.go:423
↓ 2 callersFunctionWithIPFilter
WithIPFilter sets a filter for IP addresses used during candidate gathering.
agent_options.go:488
↓ 2 callersFunctionWithKeepaliveInterval
WithKeepaliveInterval sets how often ICE keepalive packets are sent. An interval of 0 disables keepalives.
agent_options.go:410
↓ 2 callersFunctionWithMaxBindingRequests
WithMaxBindingRequests sets the maximum number of binding requests before considering a pair failed.
agent_options.go:632
↓ 2 callersFunctionWithPrflxAcceptanceMinWait
WithPrflxAcceptanceMinWait sets the minimum wait before selecting prflx candidates.
agent_options.go:449
↓ 2 callersFunctionWithRelayAcceptanceMinWait
WithRelayAcceptanceMinWait sets the minimum wait before selecting relay candidates.
agent_options.go:462
↓ 2 callersFunctionWithSrflxAcceptanceMinWait
WithSrflxAcceptanceMinWait sets the minimum wait before selecting srflx candidates.
agent_options.go:436
↓ 2 callersMethodWrite
([]byte)
tcp_packet_conn_test.go:31
↓ 2 callersFunctionaddrWithOptionalZone
(addr netip.Addr, zone string)
addr.go:12
↓ 2 callersFunctionapplyAddressRewriteMapping
(agent *Agent)
agent.go:403
↓ 2 callersMethodapplyHostRewriteForUDPMux
(candidateIPs []net.IP, udpAddr *net.UDPAddr)
gather.go:236
↓ 2 callersMethodclose
(graceful bool)
agent.go:1486
↓ 2 callersMethodcloseAndLogError
(closer io.Closer)
tcp_packet_conn.go:287
↓ 2 callersMethodcloseWaiters
()
udp_mux_universal.go:259
↓ 2 callersMethodcontainsAddress
(addr ipPort)
udp_muxed_conn.go:214
↓ 2 callersMethodcreateConn
(ufrag string, isIPv6 bool, local net.IP, fromStun bool)
tcp_mux.go:148
↓ 2 callersFunctioncreateRenominationTestAgent
createRenominationTestAgent creates a test agent with renomination enabled and returns local/remote candidates.
renomination_test.go:52
↓ 2 callersFunctiondefaultAddressRewriteMode
(candidateType CandidateType)
agent_options.go:145
↓ 2 callersMethodextensionsEqual
Equal returns true if the candidate extensions are equal.
candidate_base.go:721
↓ 2 callersMethodfilterForLocationTracking
()
candidate.go:90
↓ 2 callersMethodfindBestCandidatePair
findBestCandidatePair finds the best available candidate pair based on quality assessment.
agent.go:2196
↓ 2 callersFunctionfindIfaceForIP
(ifaces []ifaceAddr, ip net.IP)
gather.go:1308
↓ 2 callersMethodfindRemoteCandidate
(networkType NetworkType, addr net.Addr)
agent.go:1522
↓ 2 callersMethodgatherCandidatesInternal
gatherCandidatesInternal performs the actual candidate gathering for all configured types.
gather.go:261
↓ 2 callersMethodgatherCandidatesSrflx
nolint:cyclop,gocognit
gather.go:813
↓ 2 callersFunctiongenerateMulticastDNSName
()
mdns.go:33
↓ 2 callersFunctiongeneratePwd
generatePwd generates ICE pwd. This internally uses generateCryptoRandomString.
rand.go:48
↓ 2 callersFunctiongenerateUFrag
generateUFrag generates ICE user fragment. This internally uses generateCryptoRandomString.
rand.go:54
↓ 2 callersMethodgetBestAvailableCandidatePair
()
agent.go:841
↓ 2 callersMethodgetCandidatesStats
getCandidatesStats returns a list of candidates stats.
agent_stats.go:125
↓ 2 callersMethodgetConn
(ufrag string, isIPv6 bool)
udp_mux.go:365
↓ 2 callersMethodgetConn
(ufrag string, isIPv6 bool, local net.IP)
tcp_mux.go:416
↓ 2 callersFunctiongetMonoNanos
getMonoNanos returns the monotonic nanoseconds of a time t since timeRef.
candidate_base.go:58
↓ 2 callersFunctiongetMonoTime
getMonoTime returns a time.Time based on monotonic nanos since timeRef.
candidate_base.go:63
↓ 2 callersFunctiongetRTT
getRTT returns the current RTT for the selected candidate pair.
examples/automatic-renomination/main.go:39
↓ 2 callersMethodhandleInboundBindingSuccess
Assert that the passed TransactionID is in our pendingBindingRequests and returns the destination If the bindingRequest was valid remove it from our p
agent.go:1624
↓ 2 callersMethodhandleRecv
(pkt streamingPacket)
tcp_packet_conn.go:211
↓ 2 callersMethodhandleXORMappedResponse
handleXORMappedResponse parses response from the STUN server, extracts XORMappedAddress attribute. and set the mapped address for the server.
udp_mux_universal.go:152
↓ 2 callersMethodhasMappings
()
external_ip_mapper.go:213
↓ 2 callersMethodinitWithDefaults
initWithDefaults populates an agent and falls back to defaults if fields are unset.
agent_config.go:250
↓ 2 callersMethodisClosed
()
udp_muxed_conn.go:175
↓ 2 callersMethodisFamilyAllowed
(isLocalIPv4 bool)
external_ip_mapper.go:225
↓ 2 callersFunctionisTCPNetworkName
(network string)
transport_filtering_matrix_test.go:249
↓ 2 callersFunctionmakeCandidatePair
(t *testing.T)
agent_on_selected_candidate_pair_change_test.go:46
↓ 2 callersFunctionmustCandidateRelayWithExtensions
( t *testing.T, conf *CandidateRelayConfig, extensions []CandidateExtension, )
candidate_test.go:312
↓ 2 callersFunctionmustCandidateServerReflexiveWithExtensions
( t *testing.T, conf *CandidateServerReflexiveConfig, extensions []CandidateExtension, )
candidate_test.go:336
↓ 2 callersMethodneedsToCheckPriorityOnNominated
()
agent.go:1970
↓ 2 callersFunctionnewBufferHolder
(size int)
udp_mux.go:381
↓ 2 callersFunctionnewDummyNoIOCand
(t CandidateType)
selection_test.go:342
↓ 2 callersFunctionnewFakePC
(t *testing.T)
udp_mux_universal_test.go:336
↓ 2 callersFunctionnewFakenetReader
(t *testing.T, payload []byte)
udp_mux_universal_test.go:197
↓ 2 callersFunctionnewHookLogger
()
tcp_packet_conn_test.go:76
↓ 2 callersFunctionnewIPMapping
()
external_ip_mapper.go:78
↓ 2 callersFunctionnewInvalidAddrUDPMux
()
gather_test.go:4504
↓ 2 callersFunctionnewRelayRemote
(t *testing.T)
utils_test.go:63
↓ 2 callersFunctionnewUDPMuxedConn
(params *udpMuxedConnParams)
udp_muxed_conn.go:45
↓ 2 callersFunctionparseAddrFromIface
parseAddrFromIface should only be used when it's known the address belongs to that interface. e.g. it's LocalAddress on a listener.
addr.go:25
↓ 2 callersMethodpingAllCandidates
()
agent.go:787
↓ 2 callersFunctionpipeWithVNetUsingOptions
(t *testing.T, opts0, opts1 []AgentOption)
connectivity_vnet_test.go:290
↓ 2 callersFunctionprflxCandidate
()
candidatepair_test.go:21
↓ 2 callersFunctionreadCandidateByteString
Read a byte-string token from the raw string As defined in RFC 4566 1*(%x01-09/%x0B-0C/%x0E-FF) ;any byte except NUL, CR, or LF we imply that extensi
candidate_base.go:1020
↓ 2 callersFunctionreadCandidatePort
Read and validate RFC 4566 port from the raw string.
candidate_base.go:1004
↓ 2 callersFunctionrelayCandidate
()
candidatepair_test.go:39
↓ 2 callersFunctionremoveZoneIDFromAddress
(addr string)
candidate_base.go:564
↓ 2 callersMethodrole
()
agent.go:1974
↓ 2 callersFunctionrunScenario
(ctx context.Context, sc scenario)
examples/nat-rules/main.go:300
↓ 2 callersMethodsetGatheringState
(newState GatheringState)
agent.go:1952
↓ 2 callersMethodsetLastReceived
(t time.Time)
candidate_base.go:518
↓ 2 callersMethodsetLastReceived
(time.Time)
agent.go:1128
↓ 2 callersMethodsetLastSent
(t time.Time)
candidate_base.go:532
↓ 2 callersMethodshouldReplace
(candidateType CandidateType)
external_ip_mapper.go:354
↓ 2 callersMethodshouldRewriteHostCandidates
()
gather.go:184
↓ 2 callersFunctionskipOnPermission
(t *testing.T, err error, action string)
gather_test.go:41
↓ 2 callersMethodstart
(a *Agent, conn net.PacketConn, initializedCh <-chan struct{})
candidate.go:97
↓ 2 callersFunctiontestMuxConnectionPair
(t *testing.T, pktConn net.PacketConn, remoteConn *net.UDPConn, ufrag string)
udp_mux_test.go:150
↓ 2 callersFunctiontestTimeout
(t *testing.T, conn *Conn, timeout time.Duration)
transport_test.go:72
↓ 2 callersFunctionunmarshalCandidateExtensions
UnmarshalCandidateExtensions parses the candidate extensions from the raw string. *(SP extension-att-name SP extension-att-value) Where extension-att-
candidate_base.go:1079
↓ 2 callersFunctionurlSupportsSrflxGathering
(url stun.URI)
gather.go:59
↓ 2 callersMethodvalidateSTUNTrafficCache
(addr net.Addr)
candidate_base.go:289
↓ 2 callersFunctionverifyPacket
(t *testing.T, b []byte, nextSeq uint32)
udp_mux_test.go:245
↓ 2 callersMethodwriteTo
(raw []byte, dst Candidate)
candidate_base.go:412
↓ 1 callersMethodAddTo
AddTo adds a Nomination attribute to a STUN message using the configured attribute type.
renomination.go:82
↓ 1 callersMethodAllocate
()
gather.go:28
↓ 1 callersMethodClearAliveTimer
()
tcp_packet_conn.go:134
↓ 1 callersMethodClose
Close implements the Conn Close method. It is used to close the connection. Any calls to Read and Write will be unblocked and return an error.
transport.go:229
↓ 1 callersMethodClose
()
tcp_packet_conn.go:310
↓ 1 callersMethodComponent
A component is a piece of a data stream. An example is one for RTP, and one for RTCP
candidate.go:36
↓ 1 callersMethodDeepEqual
DeepEqual same as Equal, But it also compares the candidate extensions.
candidate.go:81
↓ 1 callersMethodDone
The following methods implement context.Context for TaskLoop Done returns a channel that's closed when the task loop has been stopped.
internal/taskloop/taskloop.go:100
↓ 1 callersMethodEqual
Equal is used to compare two candidateBases.
candidate_base.go:485
↓ 1 callersMethodError
()
addr.go:88
↓ 1 callersMethodError
(msg string)
tcp_packet_conn_test.go:86
↓ 1 callersMethodErrorf
(string, ...any)
agent_options_test.go:1540
↓ 1 callersMethodExtensions
()
candidate_base.go:612
↓ 1 callersMethodFirstReponseReceivedAt
Deprecated: use FirstResponseReceivedAt FirstReponseReceivedAt returns the timestamp of the first connectivity response received.
candidatepair.go:282
↓ 1 callersMethodFoundation
()
candidate_base.go:107
↓ 1 callersMethodGetAllConns
(ufrag string, isIPv6 bool, localIP net.IP)
tcp_mux_multi.go:15
↓ 1 callersMethodGetListenAddresses
GetListenAddresses returns the list of addresses that this mux is listening on.
udp_mux_multi.go:71
← previousnext →401–500 of 1,382, ranked by callers