Chromium Code Reviews| Index: webrtc/modules/audio_coding/include/audio_coding_module.h |
| diff --git a/webrtc/modules/audio_coding/include/audio_coding_module.h b/webrtc/modules/audio_coding/include/audio_coding_module.h |
| index 1893b626de86dcbeb2809fef169ccb423b3fb4a4..b5cbff2d3a86cf52206f128a08fe71ecca6a64e0 100644 |
| --- a/webrtc/modules/audio_coding/include/audio_coding_module.h |
| +++ b/webrtc/modules/audio_coding/include/audio_coding_module.h |
| @@ -485,6 +485,10 @@ class AudioCodingModule { |
| // |
| virtual int32_t PlayoutFrequency() const = 0; |
| + // Replace any existing decoders with the given payload type -> decoder map. |
|
the sun
2017/03/14 20:07:00
nit: how about renaming the argument so that the c
kwiberg-webrtc
2017/03/16 10:24:12
payload_type_to_decoder_format_map? That's a mouth
|
| + virtual void SetReceiveCodecs( |
| + const std::map<int, SdpAudioFormat>& codecs) = 0; |
| + |
| // Registers a decoder for the given payload type. Returns true iff |
| // successful. |
| virtual bool RegisterReceiveCodec(int rtp_payload_type, |