| Index: webrtc/api/webrtcsession.cc
|
| diff --git a/webrtc/api/webrtcsession.cc b/webrtc/api/webrtcsession.cc
|
| index 5d67fef3d8595f3869b402f788df567517b22330..f4151bb71c1b25a3554dd86f727e3910dc452280 100644
|
| --- a/webrtc/api/webrtcsession.cc
|
| +++ b/webrtc/api/webrtcsession.cc
|
| @@ -35,7 +35,6 @@
|
| #include "webrtc/media/base/videocapturer.h"
|
| #include "webrtc/media/sctp/sctptransportinternal.h"
|
| #include "webrtc/p2p/base/portallocator.h"
|
| -#include "webrtc/p2p/base/transportchannel.h"
|
| #include "webrtc/pc/channel.h"
|
| #include "webrtc/pc/channelmanager.h"
|
| #include "webrtc/pc/mediasession.h"
|
| @@ -1896,7 +1895,7 @@ bool WebRtcSession::CreateSctpTransport_n(const std::string& content_name,
|
| const std::string& transport_name) {
|
| RTC_DCHECK(network_thread_->IsCurrent());
|
| RTC_DCHECK(sctp_factory_);
|
| - cricket::TransportChannel* tc =
|
| + cricket::DtlsTransportInternal* tc =
|
| transport_controller_->CreateTransportChannel_n(
|
| transport_name, cricket::ICE_CANDIDATE_COMPONENT_RTP);
|
| sctp_transport_ = sctp_factory_->CreateSctpTransport(tc);
|
| @@ -1919,7 +1918,7 @@ void WebRtcSession::ChangeSctpTransport_n(const std::string& transport_name) {
|
| RTC_DCHECK(sctp_transport_name_);
|
| std::string old_sctp_transport_name = *sctp_transport_name_;
|
| sctp_transport_name_ = rtc::Optional<std::string>(transport_name);
|
| - cricket::TransportChannel* tc =
|
| + cricket::DtlsTransportInternal* tc =
|
| transport_controller_->CreateTransportChannel_n(
|
| transport_name, cricket::ICE_CANDIDATE_COMPONENT_RTP);
|
| sctp_transport_->SetTransportChannel(tc);
|
|
|