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

Unified Diff: webrtc/modules/audio_coding/acm2/acm_receiver.h

Issue 2686043006: WebRtcVoiceMediaChannel::AddRecvStream: Don't call SetRecPayloadType (Closed)
Patch Set: Discard packets when updating payload type map Created 3 years, 9 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/acm2/acm_receiver.h
diff --git a/webrtc/modules/audio_coding/acm2/acm_receiver.h b/webrtc/modules/audio_coding/acm2/acm_receiver.h
index 63ed43d8fa8d5751a5be7a28b77c5df11f059c6f..b7737892a8839139b2290312dca68625bed0f5d6 100644
--- a/webrtc/modules/audio_coding/acm2/acm_receiver.h
+++ b/webrtc/modules/audio_coding/acm2/acm_receiver.h
@@ -79,6 +79,9 @@ class AcmReceiver {
//
int GetAudio(int desired_freq_hz, AudioFrame* audio_frame, bool* muted);
+ // Replace the current set of deocders with the specified set.
the sun 2017/03/14 20:07:00 s/deocders/decoders/g
kwiberg-webrtc 2017/03/16 10:24:12 Done.
+ void SetCodecs(const std::map<int, SdpAudioFormat>& codecs);
the sun 2017/03/14 20:07:00 nit: these aren't exactly "Codecs"...
kwiberg-webrtc 2017/03/16 10:24:12 What should these methods be called? SetDecoders?
+
//
// Adds a new codec to the NetEq codec database.
//

Powered by Google App Engine
This is Rietveld 408576698