commit | 1c07c70d88eca07888bf242921dc8dfc3be95737 | [log] [tgz] |
---|---|---|
author | kwiberg <kwiberg@webrtc.org> | Mon Mar 27 14:15:49 2017 |
committer | Commit bot <commit-bot@chromium.org> | Mon Mar 27 14:15:49 2017 |
tree | 1524a1a4a157c9cc1e7728cc924a635b4a485211 | |
parent | b5eae743414d62555c679f662d119ec303b9a857 [diff] [blame] |
Reland "WebRtcVoiceMediaChannel::AddRecvStream: Don't call SetRecPayloadType" BUG=webrtc:5805 Review-Url: https://codereview.webrtc.org/2774833003 Cr-Commit-Position: refs/heads/master@{#17391}
diff --git a/webrtc/modules/audio_coding/acm2/acm_receiver.cc b/webrtc/modules/audio_coding/acm2/acm_receiver.cc index 21dbc74..4980d27 100644 --- a/webrtc/modules/audio_coding/acm2/acm_receiver.cc +++ b/webrtc/modules/audio_coding/acm2/acm_receiver.cc
@@ -179,6 +179,10 @@ return 0; } +void AcmReceiver::SetCodecs(const std::map<int, SdpAudioFormat>& codecs) { + neteq_->SetCodecs(codecs); +} + int32_t AcmReceiver::AddCodec(int acm_codec_id, uint8_t payload_type, size_t channels,