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 fc8ae1ed513cb5098c2406f09a4d63a2e1f9720a..946ad1d82ad93bd7feeedcb278f8c189143c3f3e 100644 |
--- a/webrtc/modules/audio_coding/include/audio_coding_module.h |
+++ b/webrtc/modules/audio_coding/include/audio_coding_module.h |
@@ -479,6 +479,11 @@ class AudioCodingModule { |
// |
virtual int32_t PlayoutFrequency() const = 0; |
+ // Registers a decoder for the given payload type. Returns true iff |
+ // successful. |
+ virtual bool RegisterReceiveCodec(int rtp_payload_type, |
+ const SdpAudioFormat& audio_format) = 0; |
+ |
/////////////////////////////////////////////////////////////////////////// |
// int32_t RegisterReceiveCodec() |
// Register possible decoders, can be called multiple times for |