This source file includes following definitions.
- weak_factory_
- SetDestination
#include "chrome/renderer/media/cast_udp_transport.h"
#include "chrome/renderer/media/cast_session.h"
CastUdpTransport::CastUdpTransport(
const scoped_refptr<CastSession>& session)
: cast_session_(session), weak_factory_(this) {
}
CastUdpTransport::~CastUdpTransport() {
}
void CastUdpTransport::SetDestination(const net::IPEndPoint& remote_address) {
remote_address_ = remote_address;
cast_session_->StartUDP(remote_address);
}