Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1286)

Unified Diff: webrtc/modules/audio_coding/include/audio_coding_module.h

Issue 2365653004: AudioCodingModule: Specify decoders using SdpAudioFormat (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698