MCPcopy Create free account

hub / github.com/pion/ice / functions

Functions1,382 in github.com/pion/ice

↓ 3 callersMethodGetFrom
GetFrom decodes ICE-CONTROLLED from message.
icecontrol.go:50
↓ 3 callersMethodGetFrom
GetFrom decodes ICE-CONTROLLING from message.
icecontrol.go:63
↓ 3 callersMethodHandleSuccessResponse
(m *stun.Message, local, remote Candidate, remoteAddr net.Addr)
selection.go:18
↓ 3 callersMethodIsClosed
IsClosed returns true if the mux had been closed.
udp_mux.go:219
↓ 3 callersMethodLastResponseReceivedAt
LastResponseReceivedAt returns the timestamp of the last connectivity response received.
candidatepair.go:296
↓ 3 callersMethodPingCandidate
(local, remote Candidate)
selection.go:17
↓ 3 callersMethodPort
Port returns Candidate Port.
candidate_base.go:121
↓ 3 callersMethodResponsesReceived
ResponsesReceived returns the total number of connectivity responses received https://www.w3.org/TR/webrtc-stats/#dom-rtcicecandidatepairstats-respons
candidatepair.go:192
↓ 3 callersMethodSetDeadline
SetDeadline sets both read and write deadlines on the underlying ICE connection.
transport.go:254
↓ 3 callersMethodSetReadDeadline
(time.Time)
udp_mux_test.go:716
↓ 3 callersMethodSetReadDeadline
(t time.Time)
tcp_packet_conn_test.go:41
↓ 3 callersMethodUpdateOptions
UpdateOptions applies the given options to the agent at runtime. Only a subset of options can be updated after agent creation: - WithUrls: updates STU
agent.go:1873
↓ 3 callersMethodUpdatePacketReceived
UpdatePacketReceived increments packet/byte counters and updates timestamp for a received application packet.
candidatepair.go:252
↓ 3 callersFunctionWithBindingRequestHandler
WithBindingRequestHandler sets a handler to allow applications to perform logic on incoming STUN Binding Requests. This was implemented to allow users
agent_options.go:778
↓ 3 callersFunctionWithICELite
WithICELite configures whether the agent operates in lite mode. Lite agents do not perform connectivity checks and only provide host candidates.
agent_options.go:337
↓ 3 callersFunctionWithMulticastDNSHostName
WithMulticastDNSHostName sets the mDNS host name used by the agent.
agent_options.go:541
↓ 3 callersFunctionWithPortRange
WithPortRange sets the UDP port range for host candidates.
agent_options.go:367
↓ 3 callersFunctionWithTCPPriorityOffset
WithTCPPriorityOffset sets a number which is subtracted from the default (UDP) candidate type preference for host, srflx and prfx candidate types. It
agent_options.go:734
↓ 3 callersFunctionWithUDPMuxSrflx
WithUDPMuxSrflx sets the UDP mux for server reflexive candidates.
agent_options.go:606
↓ 3 callersMethodcount
()
transport_filtering_matrix_test.go:224
↓ 3 callersFunctiondefaultCandidateTypes
()
agent_config.go:61
↓ 3 callersMethoddeleteAllCandidates
Remove all candidates. This closes any listening sockets and removes both the local and remote candidate lists. This is used for restarts, failures a
agent.go:1503
↓ 3 callersMethoddetectNetworkChanges
detectNetworkChanges checks if the network interfaces have changed since the last check.
gather.go:1402
↓ 3 callersFunctionemptyScopeValue
(v string)
agent_options.go:88
↓ 3 callersMethodexpired
()
udp_mux_universal.go:274
↓ 3 callersMethodgatherCandidatesSrflxMapped
(ctx context.Context, networkTypes []NetworkType)
gather.go:608
↓ 3 callersMethodgatherCandidatesSrflxUDPMux
nolint:gocognit,cyclop
gather.go:724
↓ 3 callersMethodgetBestValidCandidatePair
()
agent.go:858
↓ 3 callersMethodinvalidatePendingBindingRequests
Removes pending binding requests that are over maxBindingRequestTimeout old Let HTO be the transaction timeout, which SHOULD be 2*RTT if RTT is known
agent.go:1606
↓ 3 callersMethodmDNSQueryTimeout
()
agent.go:1032
↓ 3 callersMethodmappingForFamily
(isIPv4 bool)
external_ip_mapper.go:217
↓ 3 callersFunctionmustCandidatePeerReflexiveWithExtensions
( t *testing.T, conf *CandidatePeerReflexiveConfig, extensions []CandidateExtension, )
candidate_test.go:351
↓ 3 callersFunctionnewBlockingReadPacketConn
()
shared_packet_conn_test.go:103
↓ 3 callersFunctionnewMockUniversalUDPMux
(addrs []net.Addr, xorAddr *stun.XORMappedAddress)
gather_test.go:4525
↓ 3 callersFunctionnewTestTCPPC
(t *testing.T, readBuf int)
tcp_packet_conn_test.go:133
↓ 3 callersMethodpending
()
udp_mux_universal.go:270
↓ 3 callersFunctionreadCandidateDigitToken
Read a digit token from the raw string stop reading when a space is encountered or the end of the string.
candidate_base.go:981
↓ 3 callersMethodremoveUfragFromMux
()
agent.go:1462
↓ 3 callersMethodreset
()
udp_mux.go:387
↓ 3 callersMethodsendBindingSuccess
(m *stun.Message, local, remote Candidate)
agent.go:1567
↓ 3 callersMethodsendSTUN
(msg *stun.Message, local, remote Candidate)
candidatepair.go:146
↓ 3 callersFunctionsendUntilDone
(t *testing.T, writingConn, readingConn net.Conn, maxAttempts int)
selection_test.go:34
↓ 3 callersMethodsetIPAddr
(addr netip.Addr)
candidate_host.go:71
↓ 3 callersMethodshouldRewriteCandidateType
(candidateType CandidateType)
gather.go:180
↓ 3 callersMethodstartConnect
(isControlling bool, remoteUfrag, remotePwd string)
transport.go:96
↓ 3 callersFunctiontestBooleanOption
(t *testing.T, test booleanOptionTest, optionName string)
agent_options_test.go:30
↓ 2 callersMethodComponent
Component returns candidate component.
candidate_base.go:136
↓ 2 callersMethodContactCandidates
()
selection.go:16
↓ 2 callersMethodContactCandidates
()
selection.go:51
↓ 2 callersMethodEnqueueSelectedCandidatePair
(pair *CandidatePair)
agent_handlers.go:159
↓ 2 callersMethodFirstRequestReceivedAt
FirstRequestReceivedAt returns the timestamp of the first connectivity check received.
candidatepair.go:305
↓ 2 callersMethodFirstRequestSentAt
FirstRequestSentAt returns the timestamp of the first connectivity check sent.
candidatepair.go:263
↓ 2 callersMethodFirstResponseReceivedAt
FirstResponseReceivedAt returns the timestamp of the first connectivity response received.
candidatepair.go:287
↓ 2 callersMethodGetCandidatePairsInfo
GetCandidatePairsInfo returns snapshot information for all candidate pairs. Use the returned ID with WriteToPair() to write to a specific pair.
transport.go:160
↓ 2 callersMethodGetConn
GetConn returns a PacketConn given the connection's ufrag and network creates the connection if an existing one can't be found.
udp_mux_multi.go:41
↓ 2 callersMethodGetConnByUfrag
GetConnByUfrag returns a PacketConn given the connection's ufrag, network and local address creates the connection if an existing one can't be found.
tcp_mux_multi.go:37
↓ 2 callersMethodGetConnForURL
(ufrag string, url string, addr net.Addr)
udp_mux_universal.go:23
↓ 2 callersMethodGetFrom
GetFrom decodes DTLS-in-STUN attribute from message.
sped.go:23
↓ 2 callersMethodGetListenAddresses
GetListenAddresses returns the list of addresses that this mux is listening on.
udp_mux.go:139
↓ 2 callersMethodGetSelectedCandidatePairStats
GetSelectedCandidatePairStats returns a candidate pair stats for selected candidate pair. Returns false if there is no selected pair.
agent_stats.go:65
↓ 2 callersMethodGetXORMappedAddr
GetXORMappedAddr returns *stun.XORMappedAddress if already present for a given STUN server. Makes a STUN binding request to discover mapped address ot
udp_mux_universal.go:176
↓ 2 callersMethodInterfaces
()
net_test.go:75
↓ 2 callersMethodInterfaces
()
agent_options_test.go:1724
↓ 2 callersMethodInterfaces
()
transport_filtering_matrix_test.go:145
↓ 2 callersMethodInterfaces
()
gather_test.go:802
↓ 2 callersMethodInterfaces
()
gather_test.go:912
↓ 2 callersMethodInterfaces
()
gather_test.go:1032
↓ 2 callersMethodInterfaces
()
gather_test.go:1139
↓ 2 callersMethodIsSet
IsSet returns true if USE-CANDIDATE attribute is set.
usecandidate.go:19
↓ 2 callersMethodLastPacketReceivedAt
LastPacketReceivedAt returns the timestamp of the last application packet received.
candidatepair.go:232
↓ 2 callersMethodLastPacketSentAt
LastPacketSentAt returns the timestamp of the last application packet sent.
candidatepair.go:223
↓ 2 callersMethodLastReceived
LastReceived returns a time.Time indicating the last time this candidate was received.
candidate_base.go:510
↓ 2 callersMethodLastRequestReceivedAt
LastRequestReceivedAt returns the timestamp of the last connectivity check received.
candidatepair.go:314
↓ 2 callersMethodLastRequestSentAt
LastRequestSentAt returns the timestamp of the last connectivity check sent.
candidatepair.go:272
↓ 2 callersMethodLastSent
LastSent returns a time.Time indicating the last time this candidate was sent.
candidate_base.go:524
↓ 2 callersFunctionNewUniversalUDPMuxDefault
NewUniversalUDPMuxDefault creates an implementation of UniversalUDPMux embedding UDPMux.
udp_mux_universal.go:47
↓ 2 callersMethodPacketsReceived
PacketsReceived returns total application (non-STUN) packets received on this pair.
candidatepair.go:208
↓ 2 callersMethodPacketsSent
PacketsSent returns total application (non-STUN) packets sent on this pair.
candidatepair.go:203
↓ 2 callersMethodPingCandidate
(local, remote Candidate)
selection.go:349
↓ 2 callersMethodPreference
Preference returns the preference weight of a CandidateType 4.1.2.2. Guidelines for Choosing Type and Local Preferences The RECOMMENDED values are 1
candidatetype.go:44
↓ 2 callersMethodRelatedAddress
RelatedAddress returns *CandidateRelatedAddress.
candidate_base.go:226
↓ 2 callersMethodRelayProtocol
RelayProtocol returns the protocol used between the endpoint and the relay server.
candidate_relay.go:89
↓ 2 callersMethodRemoteAddr
RemoteAddr returns the remote address of the connection which is only set once a background goroutine has successfully dialed. That means this may ret
active_tcp.go:150
↓ 2 callersMethodRemoteAddr
()
gather_test.go:1723
↓ 2 callersMethodSetReadDeadline
(d time.Time)
tcp_packet_conn.go:362
↓ 2 callersMethodSetReadDeadline
nolint:revive
internal/fakenet/mock_conn.go:21
↓ 2 callersMethodSetWriteDeadline
(time.Time)
udp_mux_test.go:717
↓ 2 callersMethodSetWriteDeadline
(t time.Time)
tcp_packet_conn_test.go:47
↓ 2 callersMethodSetWriteDeadline
(d time.Time)
tcp_packet_conn.go:376
↓ 2 callersMethodString
()
candidatepair.go:60
↓ 2 callersMethodTotalRoundTripTime
TotalRoundTripTime returns the current round trip time in seconds https://www.w3.org/TR/webrtc-stats/#dom-rtcicecandidatepairstats-totalroundtriptime
candidatepair.go:174
↓ 2 callersFunctionUDPMuxFromPortWithNet
UDPMuxFromPortWithNet sets the network transport to use.
udp_mux_multi.go:232
↓ 2 callersFunctionUDPMuxFromPortWithReadBufferSize
UDPMuxFromPortWithReadBufferSize set the UDP connection read buffer size.
udp_mux_multi.go:196
↓ 2 callersFunctionUDPMuxFromPortWithWriteBufferSize
UDPMuxFromPortWithWriteBufferSize set the UDP connection write buffer size.
udp_mux_multi.go:205
↓ 2 callersMethodUnmarshalText
UnmarshalText implements TextUnmarshaler.
role.go:20
↓ 2 callersMethodUpdateRequestSent
UpdateRequestSent increments the number of requests sent and updates the timestamp.
candidatepair.go:323
↓ 2 callersMethodUpdateResponseSent
UpdateResponseSent increments the number of responses sent.
candidatepair.go:331
↓ 2 callersFunctionWithCheckInterval
WithCheckInterval sets how often the agent runs connectivity checks while connecting.
agent_options.go:645
↓ 2 callersFunctionWithDisableActiveTCP
WithDisableActiveTCP disables Active TCP candidates. When TCP is enabled, Active TCP candidates will be created when a new passive TCP remote candidat
agent_options.go:753
↓ 2 callersFunctionWithDisconnectedTimeout
WithDisconnectedTimeout sets the duration before the agent transitions to disconnected state. A timeout of 0 disables the transition.
agent_options.go:382
← previousnext →301–400 of 1,382, ranked by callers