Remove unused VideoSendStream TransportAdapter.

BUG=
R=danilchap@webrtc.org

Review URL: https://codereview.webrtc.org/1702963002 .

Cr-Commit-Position: refs/heads/master@{#11654}
This commit is contained in:
Peter Boström 2016-02-17 15:42:52 +01:00
parent 62eaacf5ee
commit bad7804b99
2 changed files with 0 additions and 6 deletions

View File

@ -30,7 +30,6 @@
namespace webrtc {
class PacedSender;
class RtcpIntraFrameObserver;
class TransportFeedbackObserver;
@ -160,7 +159,6 @@ VideoSendStream::VideoSendStream(
: stats_proxy_(Clock::GetRealTimeClock(),
config,
encoder_config.content_type),
transport_adapter_(config.send_transport),
encoded_frame_proxy_(config.post_encode_callback),
config_(config),
suspended_ssrcs_(suspended_ssrcs),
@ -334,7 +332,6 @@ VideoCaptureInput* VideoSendStream::Input() {
}
void VideoSendStream::Start() {
transport_adapter_.Enable();
vie_encoder_.Pause();
if (vie_channel_.StartSend() == 0) {
// Was not already started, trigger a keyframe.
@ -348,7 +345,6 @@ void VideoSendStream::Stop() {
// TODO(pbos): Make sure the encoder stops here.
vie_channel_.StopSend();
vie_receiver_->StopReceive();
transport_adapter_.Disable();
}
bool VideoSendStream::ReconfigureVideoEncoder(

View File

@ -15,7 +15,6 @@
#include <vector>
#include "webrtc/call.h"
#include "webrtc/call/transport_adapter.h"
#include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
#include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
#include "webrtc/video/encoded_frame_callback_adapter.h"
@ -81,7 +80,6 @@ class VideoSendStream : public webrtc::VideoSendStream,
void ConfigureSsrcs();
SendStatisticsProxy stats_proxy_;
TransportAdapter transport_adapter_;
EncodedFrameCallbackAdapter encoded_frame_proxy_;
const VideoSendStream::Config config_;
VideoEncoderConfig encoder_config_;