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..29498b746bd429bd778f450edd9ea83fa06981f0 100644 |
--- a/webrtc/modules/audio_coding/include/audio_coding_module.h |
+++ b/webrtc/modules/audio_coding/include/audio_coding_module.h |
@@ -511,6 +511,11 @@ class AudioCodingModule { |
int num_channels, |
const std::string& name) = 0; |
+ // Registers a decoder for the given payload type. Returns true iff |
ossu
2016/09/28 14:12:28
Place this one directly under the other RegisterRe
kwiberg-webrtc
2016/09/29 12:38:34
Done.
|
+ // successful. |
+ virtual bool RegisterReceiveCodec(int rtp_payload_type, |
+ const SdpAudioFormat& audio_format) = 0; |
+ |
/////////////////////////////////////////////////////////////////////////// |
// int32_t UnregisterReceiveCodec() |
// Unregister the codec currently registered with a specific payload type |