#include "p2p/base/ice_transport_internal.h"
#include "absl/strings/string_view.h"
#include "p2p/base/p2p_constants.h"
namespace cricket {
RTCError;
RTCErrorType;
RTCError VerifyCandidate(const Candidate& cand) { … }
RTCError VerifyCandidates(const Candidates& candidates) { … }
IceConfig::IceConfig() = default;
IceConfig::IceConfig(int receiving_timeout_ms,
int backup_connection_ping_interval,
ContinualGatheringPolicy gathering_policy,
bool prioritize_most_likely_candidate_pairs,
int stable_writable_connection_ping_interval_ms,
bool presume_writable_when_fully_relayed,
int regather_on_failed_networks_interval_ms,
int receiving_switching_delay_ms)
: … { … }
IceConfig::~IceConfig() = default;
int IceConfig::receiving_timeout_or_default() const { … }
int IceConfig::backup_connection_ping_interval_or_default() const { … }
int IceConfig::stable_writable_connection_ping_interval_or_default() const { … }
int IceConfig::regather_on_failed_networks_interval_or_default() const { … }
int IceConfig::receiving_switching_delay_or_default() const { … }
int IceConfig::ice_check_interval_strong_connectivity_or_default() const { … }
int IceConfig::ice_check_interval_weak_connectivity_or_default() const { … }
int IceConfig::ice_check_min_interval_or_default() const { … }
int IceConfig::ice_unwritable_timeout_or_default() const { … }
int IceConfig::ice_unwritable_min_checks_or_default() const { … }
int IceConfig::ice_inactive_timeout_or_default() const { … }
int IceConfig::stun_keepalive_interval_or_default() const { … }
IceTransportInternal::IceTransportInternal() { … }
IceTransportInternal::~IceTransportInternal() = default;
void IceTransportInternal::SetIceCredentials(absl::string_view ice_ufrag,
absl::string_view ice_pwd) { … }
void IceTransportInternal::SetRemoteIceCredentials(absl::string_view ice_ufrag,
absl::string_view ice_pwd) { … }
void IceTransportInternal::AddGatheringStateCallback(
const void* removal_tag,
absl::AnyInvocable<void(IceTransportInternal*)> callback) { … }
void IceTransportInternal::RemoveGatheringStateCallback(
const void* removal_tag) { … }
}