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

Unified Diff: webrtc/audio/audio_receive_stream.cc

Issue 2516993002: Pass SdpAudioFormat through Channel, without converting to CodecInst (Closed)
Patch Set: Fix SetRecvCodecsAfterAddingStreams 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
« no previous file with comments | « no previous file | webrtc/call/audio_receive_stream.h » ('j') | webrtc/call/audio_receive_stream.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/audio/audio_receive_stream.cc
diff --git a/webrtc/audio/audio_receive_stream.cc b/webrtc/audio/audio_receive_stream.cc
index 8da0616f1d3eb4f531361daf0e16ab5e7faebec9..3d9dded58311b30bdb21bab62aac430603e63755 100644
--- a/webrtc/audio/audio_receive_stream.cc
+++ b/webrtc/audio/audio_receive_stream.cc
@@ -101,6 +101,10 @@ AudioReceiveStream::AudioReceiveStream(
channel_proxy_->RegisterExternalTransport(config.rtcp_send_transport);
+ for (const auto& dec : config.decoder_map) {
the sun 2016/12/14 08:58:21 nit: dec -> kv dec makes it read like it's a decod
kwiberg-webrtc 2016/12/14 13:09:36 Done.
+ channel_proxy_->SetRecPayloadType(dec.first, dec.second);
+ }
+
for (const auto& extension : config.rtp.extensions) {
if (extension.uri == RtpExtension::kAudioLevelUri) {
channel_proxy_->SetReceiveAudioLevelIndicationStatus(true, extension.id);
« no previous file with comments | « no previous file | webrtc/call/audio_receive_stream.h » ('j') | webrtc/call/audio_receive_stream.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698