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. |
+ 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, |