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

Unified Diff: audio/audio_send_stream.cc

Issue 3020473002: Remove voe::Statistics. (Closed)
Patch Set: rebase Created 3 years, 3 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 | « audio/audio_receive_stream_unittest.cc ('k') | audio/audio_send_stream_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: audio/audio_send_stream.cc
diff --git a/audio/audio_send_stream.cc b/audio/audio_send_stream.cc
index 4bdd42b6aeb0fe1659ce6d62d04e9b8368e28e01..997c95edb53e763bd9d6c5fd3e96a59633b13ecb 100644
--- a/audio/audio_send_stream.cc
+++ b/audio/audio_send_stream.cc
@@ -120,7 +120,7 @@ AudioSendStream::~AudioSendStream() {
RTC_DCHECK(worker_thread_checker_.CalledOnValidThread());
LOG(LS_INFO) << "~AudioSendStream: " << config_.ToString();
transport_->send_side_cc()->DeRegisterPacketFeedbackObserver(this);
- channel_proxy_->DeRegisterExternalTransport();
+ channel_proxy_->RegisterTransport(nullptr);
channel_proxy_->ResetSenderCongestionControlObjects();
channel_proxy_->SetRtcEventLog(nullptr);
channel_proxy_->SetRtcpRttStats(nullptr);
@@ -164,7 +164,7 @@ void AudioSendStream::ConfigureStream(
if (first_time ||
new_config.send_transport != old_config.send_transport) {
if (old_config.send_transport) {
- channel_proxy->DeRegisterExternalTransport();
+ channel_proxy->RegisterTransport(nullptr);
}
if (new_config.send_transport) {
stream->timed_send_transport_adapter_.reset(new TimedTransport(
@@ -172,7 +172,7 @@ void AudioSendStream::ConfigureStream(
} else {
stream->timed_send_transport_adapter_.reset(nullptr);
}
- channel_proxy->RegisterExternalTransport(
+ channel_proxy->RegisterTransport(
stream->timed_send_transport_adapter_.get());
}
« no previous file with comments | « audio/audio_receive_stream_unittest.cc ('k') | audio/audio_send_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698