Reland "WebRtcVoiceMediaChannel::AddRecvStream: Don't call SetRecPayloadType"

BUG=webrtc:5805

Review-Url: https://codereview.webrtc.org/2774833003
Cr-Commit-Position: refs/heads/master@{#17391}
This commit is contained in:
kwiberg
2017-03-27 07:15:49 -07:00
committed by Commit bot
parent b5eae74341
commit 1c07c70d88
29 changed files with 268 additions and 172 deletions

View File

@ -179,6 +179,10 @@ int AcmReceiver::GetAudio(int desired_freq_hz,
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,