chromium/remoting/protocol/ice_transport.cc

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "remoting/protocol/ice_transport.h"

#include <memory>

#include "base/functional/bind.h"
#include "remoting/protocol/channel_authenticator.h"
#include "remoting/protocol/channel_multiplexer.h"
#include "remoting/protocol/pseudotcp_channel_factory.h"
#include "remoting/protocol/secure_channel_factory.h"
#include "remoting/protocol/stream_channel_factory.h"
#include "remoting/protocol/stream_message_pipe_adapter.h"
#include "remoting/protocol/transport_context.h"

namespace remoting::protocol {

// Delay after candidate creation before sending transport-info message to
// accumulate multiple candidates. This is an optimization to reduce number of
// transport-info messages.
const int kTransportInfoSendDelayMs =;

// Name of the multiplexed channel.
static const char kMuxChannelName[] =;

IceTransport::IceTransport(scoped_refptr<TransportContext> transport_context,
                           EventHandler* event_handler)
    :{}

IceTransport::~IceTransport() {}

void IceTransport::Start(
    Authenticator* authenticator,
    SendTransportInfoCallback send_transport_info_callback) {}

bool IceTransport::ProcessTransportInfo(
    jingle_xmpp::XmlElement* transport_info_xml) {}

MessageChannelFactory* IceTransport::GetChannelFactory() {}

MessageChannelFactory* IceTransport::GetMultiplexedChannelFactory() {}

void IceTransport::ApplyNetworkSettings(const NetworkSettings& settings) {}

void IceTransport::CreateChannel(const std::string& name,
                                 ChannelCreatedCallback callback) {}

void IceTransport::CancelChannelCreation(const std::string& name) {}

void IceTransport::AddPendingRemoteTransportInfo(IceTransportChannel* channel) {}

void IceTransport::OnChannelIceCredentials(IceTransportChannel* channel,
                                           const std::string& ufrag,
                                           const std::string& password) {}

void IceTransport::OnChannelCandidate(IceTransportChannel* channel,
                                      const cricket::Candidate& candidate) {}

void IceTransport::OnChannelRouteChange(IceTransportChannel* channel,
                                        const TransportRoute& route) {}

void IceTransport::OnChannelFailed(IceTransportChannel* channel) {}

void IceTransport::OnChannelDeleted(IceTransportChannel* channel) {}

void IceTransport::EnsurePendingTransportInfoMessage() {}

void IceTransport::SendTransportInfo() {}

void IceTransport::OnChannelError(int error) {}

}  // namespace remoting::protocol