Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1652)

Unified Diff: webrtc/video/video_send_stream.cc

Issue 1702963002: Remove unused VideoSendStream TransportAdapter. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/video/video_send_stream.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/video_send_stream.cc
diff --git a/webrtc/video/video_send_stream.cc b/webrtc/video/video_send_stream.cc
index fafb0223aee3f47cd7a32624c9de47a8217ddd40..58ed646363ebbee899656dbb95731eeeeaa36d2a 100644
--- a/webrtc/video/video_send_stream.cc
+++ b/webrtc/video/video_send_stream.cc
@@ -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(
« no previous file with comments | « webrtc/video/video_send_stream.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698