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

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

Issue 2365653004: AudioCodingModule: Specify decoders using SdpAudioFormat (Closed)
Patch Set: rebase Created 4 years, 2 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..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

Powered by Google App Engine
This is Rietveld 408576698