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

Unified Diff: webrtc/voice_engine/channel_proxy.cc

Issue 2516993002: Pass SdpAudioFormat through Channel, without converting to CodecInst (Closed)
Patch Set: . Created 4 years 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
« webrtc/voice_engine/channel_proxy.h ('K') | « webrtc/voice_engine/channel_proxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/voice_engine/channel_proxy.cc
diff --git a/webrtc/voice_engine/channel_proxy.cc b/webrtc/voice_engine/channel_proxy.cc
index 2dd74facb4f550d5ea357ec6ab081d26b20770c8..71bf8ec68cc6e676890b2b5ea8f467d14466a7ab 100644
--- a/webrtc/voice_engine/channel_proxy.cc
+++ b/webrtc/voice_engine/channel_proxy.cc
@@ -153,6 +153,12 @@ void ChannelProxy::SetBitrate(int bitrate_bps, int64_t probing_interval_ms) {
channel()->SetBitRate(bitrate_bps, probing_interval_ms);
}
+int ChannelProxy::SetRecPayloadType(int payload_type,
+ const SdpAudioFormat& format) {
+ RTC_DCHECK(thread_checker_.CalledOnValidThread());
+ return channel()->SetRecPayloadType(payload_type, format);
+}
+
void ChannelProxy::SetSink(std::unique_ptr<AudioSinkInterface> sink) {
RTC_DCHECK(thread_checker_.CalledOnValidThread());
channel()->SetSink(std::move(sink));
« webrtc/voice_engine/channel_proxy.h ('K') | « webrtc/voice_engine/channel_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698