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

Side by Side Diff: webrtc/media/base/mediaconstants.cc

Issue 2845603002: Normalize codec names to those used by AcmCodecDatabase. (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/media/engine/payload_type_mapper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 18 matching lines...) Expand all
29 // TODO(brandtr): Change this to 'flexfec' when we are confident that the 29 // TODO(brandtr): Change this to 'flexfec' when we are confident that the
30 // header format is not changing anymore. 30 // header format is not changing anymore.
31 const char kFlexfecCodecName[] = "flexfec-03"; 31 const char kFlexfecCodecName[] = "flexfec-03";
32 32
33 // draft-ietf-payload-flexible-fec-scheme-02.txt 33 // draft-ietf-payload-flexible-fec-scheme-02.txt
34 const char kFlexfecFmtpRepairWindow[] = "repair-window"; 34 const char kFlexfecFmtpRepairWindow[] = "repair-window";
35 35
36 const char kCodecParamAssociatedPayloadType[] = "apt"; 36 const char kCodecParamAssociatedPayloadType[] = "apt";
37 37
38 const char kOpusCodecName[] = "opus"; 38 const char kOpusCodecName[] = "opus";
39 const char kIsacCodecName[] = "isac"; 39 const char kIsacCodecName[] = "ISAC";
40 const char kL16CodecName[] = "l16"; 40 const char kL16CodecName[] = "L16";
41 const char kG722CodecName[] = "g722"; 41 const char kG722CodecName[] = "G722";
42 const char kIlbcCodecName[] = "ilbc"; 42 const char kIlbcCodecName[] = "ILBC";
43 const char kPcmuCodecName[] = "pcmu"; 43 const char kPcmuCodecName[] = "PCMU";
44 const char kPcmaCodecName[] = "pcma"; 44 const char kPcmaCodecName[] = "PCMA";
45 const char kCnCodecName[] = "cn"; 45 const char kCnCodecName[] = "CN";
46 const char kDtmfCodecName[] = "telephone-event"; 46 const char kDtmfCodecName[] = "telephone-event";
47 47
48 // draft-spittka-payload-rtp-opus-03.txt 48 // draft-spittka-payload-rtp-opus-03.txt
49 const char kCodecParamPTime[] = "ptime"; 49 const char kCodecParamPTime[] = "ptime";
50 const char kCodecParamMaxPTime[] = "maxptime"; 50 const char kCodecParamMaxPTime[] = "maxptime";
51 const char kCodecParamMinPTime[] = "minptime"; 51 const char kCodecParamMinPTime[] = "minptime";
52 const char kCodecParamSPropStereo[] = "sprop-stereo"; 52 const char kCodecParamSPropStereo[] = "sprop-stereo";
53 const char kCodecParamStereo[] = "stereo"; 53 const char kCodecParamStereo[] = "stereo";
54 const char kCodecParamUseInbandFec[] = "useinbandfec"; 54 const char kCodecParamUseInbandFec[] = "useinbandfec";
55 const char kCodecParamUseDtx[] = "usedtx"; 55 const char kCodecParamUseDtx[] = "usedtx";
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 // RFC 6184 RTP Payload Format for H.264 video 105 // RFC 6184 RTP Payload Format for H.264 video
106 const char kH264FmtpProfileLevelId[] = "profile-level-id"; 106 const char kH264FmtpProfileLevelId[] = "profile-level-id";
107 const char kH264FmtpLevelAsymmetryAllowed[] = "level-asymmetry-allowed"; 107 const char kH264FmtpLevelAsymmetryAllowed[] = "level-asymmetry-allowed";
108 const char kH264FmtpPacketizationMode[] = "packetization-mode"; 108 const char kH264FmtpPacketizationMode[] = "packetization-mode";
109 const char kH264FmtpSpropParameterSets[] = "sprop-parameter-sets"; 109 const char kH264FmtpSpropParameterSets[] = "sprop-parameter-sets";
110 const char kH264ProfileLevelConstrainedBaseline[] = "42e01f"; 110 const char kH264ProfileLevelConstrainedBaseline[] = "42e01f";
111 111
112 const int kDefaultVideoMaxFramerate = 60; 112 const int kDefaultVideoMaxFramerate = 60;
113 } // namespace cricket 113 } // namespace cricket
OLDNEW
« no previous file with comments | « no previous file | webrtc/media/engine/payload_type_mapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698