MCPcopy Create free account
hub / github.com/HackWebRTC/webrtc / GetDefaultDestination

Function GetDefaultDestination

pc/webrtc_sdp.cc:778–816  ·  view source on GitHub ↗

Get ip and port of the default destination from the |candidates| with the given value of |component_id|. The default candidate should be the one most likely to work, typically IPv4 relay. RFC 5245 The value of |component_id| currently supported are 1 (RTP) and 2 (RTCP). TODO(deadbeef): Decide the default destination in webrtcsession and pass it down via SessionDescription.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

GetRtcpLineFunction · 0.85

Calls 8

familyMethod · 0.80
PortAsStringMethod · 0.80
componentMethod · 0.45
protocolMethod · 0.45
typeMethod · 0.45
addressMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected