#include "third_party/blink/renderer/modules/peerconnection/adapters/ice_transport_adapter_impl.h"
#include <utility>
#include "base/notreached.h"
#include "third_party/webrtc/api/ice_transport_factory.h"
namespace blink {
IceTransportAdapterImpl::IceTransportAdapterImpl(
Delegate* delegate,
rtc::scoped_refptr<webrtc::IceTransportInterface> ice_transport)
: … { … }
IceTransportAdapterImpl::~IceTransportAdapterImpl() { … }
void IceTransportAdapterImpl::StartGathering(
const cricket::IceParameters& local_parameters,
const cricket::ServerAddresses& stun_servers,
const WebVector<cricket::RelayServerConfig>& turn_servers,
IceTransportPolicy policy) { … }
void IceTransportAdapterImpl::Start(
const cricket::IceParameters& remote_parameters,
cricket::IceRole role,
const Vector<cricket::Candidate>& initial_remote_candidates) { … }
void IceTransportAdapterImpl::HandleRemoteRestart(
const cricket::IceParameters& new_remote_parameters) { … }
void IceTransportAdapterImpl::AddRemoteCandidate(
const cricket::Candidate& candidate) { … }
void IceTransportAdapterImpl::SetupIceTransportChannel() { … }
void IceTransportAdapterImpl::OnGatheringStateChanged(
cricket::IceTransportInternal* transport) { … }
void IceTransportAdapterImpl::OnCandidateGathered(
cricket::IceTransportInternal* transport,
const cricket::Candidate& candidate) { … }
void IceTransportAdapterImpl::OnStateChanged(
cricket::IceTransportInternal* transport) { … }
void IceTransportAdapterImpl::OnNetworkRouteChanged(
std::optional<rtc::NetworkRoute> new_network_route) { … }
static const char* IceRoleToString(cricket::IceRole role) { … }
static cricket::IceRole IceRoleReversed(cricket::IceRole role) { … }
void IceTransportAdapterImpl::OnRoleConflict(
cricket::IceTransportInternal* transport) { … }
}