WebRtcVoiceMediaChannel::AddRecvStream: Don't call SetRecPayloadType

This removes one more place where we were unable to handle codecs not
in the built-in set.

BUG=webrtc:5805

Review-Url: https://codereview.webrtc.org/2686043006
Cr-Commit-Position: refs/heads/master@{#17370}
This commit is contained in:
kwiberg
2017-03-24 03:16:04 -07:00
committed by Commit bot
parent f137e97adb
commit 1724cfbdba
28 changed files with 221 additions and 150 deletions

View File

@ -111,6 +111,8 @@ class NetEqImpl : public webrtc::NetEq {
int GetAudio(AudioFrame* audio_frame, bool* muted) override;
void SetCodecs(const std::map<int, SdpAudioFormat>& codecs) override;
int RegisterPayloadType(NetEqDecoder codec,
const std::string& codec_name,
uint8_t rtp_payload_type) override;