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

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

Issue 2397413002: - Filter data channel codecs based on codec name instead of payload type, which may have been remap… (Closed)
Patch Set: reviewer comments 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 unified diff | Download patch
« no previous file with comments | « webrtc/media/base/mediaconstants.h ('k') | webrtc/media/base/rtpdataengine.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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 const char kRtcpFbParamTransportCc[] = "transport-cc"; 76 const char kRtcpFbParamTransportCc[] = "transport-cc";
77 77
78 const char kRtcpFbParamCcm[] = "ccm"; 78 const char kRtcpFbParamCcm[] = "ccm";
79 const char kRtcpFbCcmParamFir[] = "fir"; 79 const char kRtcpFbCcmParamFir[] = "fir";
80 const char kCodecParamMaxBitrate[] = "x-google-max-bitrate"; 80 const char kCodecParamMaxBitrate[] = "x-google-max-bitrate";
81 const char kCodecParamMinBitrate[] = "x-google-min-bitrate"; 81 const char kCodecParamMinBitrate[] = "x-google-min-bitrate";
82 const char kCodecParamStartBitrate[] = "x-google-start-bitrate"; 82 const char kCodecParamStartBitrate[] = "x-google-start-bitrate";
83 const char kCodecParamMaxQuantization[] = "x-google-max-quantization"; 83 const char kCodecParamMaxQuantization[] = "x-google-max-quantization";
84 const char kCodecParamPort[] = "x-google-port"; 84 const char kCodecParamPort[] = "x-google-port";
85 85
86 const int kGoogleRtpDataCodecId = 101; 86 const int kGoogleRtpDataCodecPlType = 109;
87 const char kGoogleRtpDataCodecName[] = "google-data"; 87 const char kGoogleRtpDataCodecName[] = "google-data";
88 88
89 const int kGoogleSctpDataCodecId = 108; 89 const int kGoogleSctpDataCodecPlType = 108;
90 const char kGoogleSctpDataCodecName[] = "google-sctp-data"; 90 const char kGoogleSctpDataCodecName[] = "google-sctp-data";
91 91
92 const char kComfortNoiseCodecName[] = "CN"; 92 const char kComfortNoiseCodecName[] = "CN";
93 93
94 const char kVp8CodecName[] = "VP8"; 94 const char kVp8CodecName[] = "VP8";
95 const char kVp9CodecName[] = "VP9"; 95 const char kVp9CodecName[] = "VP9";
96 const char kH264CodecName[] = "H264"; 96 const char kH264CodecName[] = "H264";
97 97
98 // RFC 6184 RTP Payload Format for H.264 video 98 // RFC 6184 RTP Payload Format for H.264 video
99 const char kH264FmtpProfileLevelId[] = "profile-level-id"; 99 const char kH264FmtpProfileLevelId[] = "profile-level-id";
(...skipping 11 matching lines...) Expand all
111 const int kDefaultUlpfecType = 117; 111 const int kDefaultUlpfecType = 117;
112 const int kDefaultRtxVp8PlType = 96; 112 const int kDefaultRtxVp8PlType = 96;
113 const int kDefaultRtxVp9PlType = 97; 113 const int kDefaultRtxVp9PlType = 97;
114 const int kDefaultRtxRedPlType = 98; 114 const int kDefaultRtxRedPlType = 98;
115 const int kDefaultRtxH264PlType = 99; 115 const int kDefaultRtxH264PlType = 99;
116 116
117 const int kDefaultVideoMaxWidth = 640; 117 const int kDefaultVideoMaxWidth = 640;
118 const int kDefaultVideoMaxHeight = 400; 118 const int kDefaultVideoMaxHeight = 400;
119 const int kDefaultVideoMaxFramerate = 30; 119 const int kDefaultVideoMaxFramerate = 30;
120 } // namespace cricket 120 } // namespace cricket
OLDNEW
« no previous file with comments | « webrtc/media/base/mediaconstants.h ('k') | webrtc/media/base/rtpdataengine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698