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

Unified Diff: webrtc/audio/audio_send_stream.cc

Issue 2987763003: Make ~webrtc::AudioSendStream public, and s/config()/GetConfig(), as well as make public. (Closed)
Patch Set: CR response Created 3 years, 5 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/audio/audio_send_stream.h ('k') | webrtc/call/audio_send_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/audio/audio_send_stream.cc
diff --git a/webrtc/audio/audio_send_stream.cc b/webrtc/audio/audio_send_stream.cc
index 103d6306fd857ee4d076bbf471c1bd41a8c69db5..376af816f63ee026800e34e65e291b67748a0e9e 100644
--- a/webrtc/audio/audio_send_stream.cc
+++ b/webrtc/audio/audio_send_stream.cc
@@ -126,6 +126,11 @@ AudioSendStream::~AudioSendStream() {
channel_proxy_->SetRtcpRttStats(nullptr);
}
+const webrtc::AudioSendStream::Config& AudioSendStream::GetConfig() const {
+ RTC_DCHECK(worker_thread_checker_.CalledOnValidThread());
+ return config_;
+}
+
void AudioSendStream::Reconfigure(
const webrtc::AudioSendStream::Config& new_config) {
ConfigureStream(this, new_config, false);
@@ -405,11 +410,6 @@ void AudioSendStream::OnPacketFeedbackVector(
}
}
-const webrtc::AudioSendStream::Config& AudioSendStream::config() const {
- RTC_DCHECK(worker_thread_checker_.CalledOnValidThread());
- return config_;
-}
-
void AudioSendStream::SetTransportOverhead(int transport_overhead_per_packet) {
RTC_DCHECK(worker_thread_checker_.CalledOnValidThread());
transport_->send_side_cc()->SetTransportOverhead(
« no previous file with comments | « webrtc/audio/audio_send_stream.h ('k') | webrtc/call/audio_send_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698