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

Unified Diff: webrtc/media/engine/payload_type_mapper.cc

Issue 2337473002: Multi frequency DTMF support - receiver side (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/media/engine/payload_type_mapper.cc
diff --git a/webrtc/media/engine/payload_type_mapper.cc b/webrtc/media/engine/payload_type_mapper.cc
index 87b54be33b51f530e0aac15da859d614bba7eedd..f58e5f890982055fbcce756ed027c25d9c205ffc 100644
--- a/webrtc/media/engine/payload_type_mapper.cc
+++ b/webrtc/media/engine/payload_type_mapper.cc
@@ -84,6 +84,9 @@ PayloadTypeMapper::PayloadTypeMapper()
{{"minptime", "10"}, {"useinbandfec", "1"}}}, 111},
{{kRedCodecName, 90000, 0}, kDefaultRedPlType},
{{kUlpfecCodecName, 90000, 0}, kDefaultUlpfecType},
+ {{kDtmfCodecName, 48000, 1}, 123},
ossu 2016/10/04 09:26:56 I'm not sure these need to be added here, but mayb
the sun 2016/10/08 22:06:51 If they're not there, we may map the PTs different
ossu 2016/10/10 23:26:34 I believe that'll be handled by the PeerConnection
the sun 2016/10/11 19:17:17 Because you gave the lgtm, I guess you still think
ossu 2016/10/11 20:17:26 Yes, I've no strong feelings either way. It's prob
+ {{kDtmfCodecName, 32000, 1}, 124},
+ {{kDtmfCodecName, 16000, 1}, 125},
{{kDtmfCodecName, 8000, 1}, 126}}) {
// TODO(ossu): Try to keep this as change-proof as possible until we're able
// to remove the payload type constants from everywhere in the code.
« no previous file with comments | « no previous file | webrtc/media/engine/payload_type_mapper_unittest.cc » ('j') | webrtc/modules/audio_coding/acm2/rent_a_codec.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698