OLD | NEW |
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 const char kCodecParamPort[] = "x-google-port"; | 84 const char kCodecParamPort[] = "x-google-port"; |
85 | 85 |
86 const int kGoogleRtpDataCodecId = 101; | 86 const int kGoogleRtpDataCodecId = 101; |
87 const char kGoogleRtpDataCodecName[] = "google-data"; | 87 const char kGoogleRtpDataCodecName[] = "google-data"; |
88 | 88 |
89 const int kGoogleSctpDataCodecId = 108; | 89 const int kGoogleSctpDataCodecId = 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 int kRtpAudioLevelHeaderExtensionDefaultId = 1; | |
95 const char kRtpAudioLevelHeaderExtension[] = | |
96 "urn:ietf:params:rtp-hdrext:ssrc-audio-level"; | |
97 | |
98 const int kRtpTimestampOffsetHeaderExtensionDefaultId = 2; | |
99 const char kRtpTimestampOffsetHeaderExtension[] = | |
100 "urn:ietf:params:rtp-hdrext:toffset"; | |
101 | |
102 const int kRtpAbsoluteSenderTimeHeaderExtensionDefaultId = 3; | |
103 const char kRtpAbsoluteSenderTimeHeaderExtension[] = | |
104 "http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"; | |
105 | |
106 const int kRtpVideoRotationHeaderExtensionDefaultId = 4; | |
107 const char kRtpVideoRotationHeaderExtension[] = "urn:3gpp:video-orientation"; | |
108 const char kRtpVideoRotation6BitsHeaderExtensionForTesting[] = | |
109 "urn:3gpp:video-orientation:6"; | |
110 | |
111 const int kRtpTransportSequenceNumberHeaderExtensionDefaultId = 5; | |
112 const char kRtpTransportSequenceNumberHeaderExtension[] = | |
113 "http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01"; | |
114 | |
115 const char kVp8CodecName[] = "VP8"; | 94 const char kVp8CodecName[] = "VP8"; |
116 const char kVp9CodecName[] = "VP9"; | 95 const char kVp9CodecName[] = "VP9"; |
117 const char kH264CodecName[] = "H264"; | 96 const char kH264CodecName[] = "H264"; |
118 | 97 |
119 // RFC 6184 RTP Payload Format for H.264 video | 98 // RFC 6184 RTP Payload Format for H.264 video |
120 const char kH264FmtpProfileLevelId[] = "profile-level-id"; | 99 const char kH264FmtpProfileLevelId[] = "profile-level-id"; |
121 const char kH264FmtpLevelAsymmetryAllowed[] = "level-asymmetry-allowed"; | 100 const char kH264FmtpLevelAsymmetryAllowed[] = "level-asymmetry-allowed"; |
122 const char kH264FmtpPacketizationMode[] = "packetization-mode"; | 101 const char kH264FmtpPacketizationMode[] = "packetization-mode"; |
123 const char kH264ProfileLevelConstrainedBaseline[] = "42e01f"; | 102 const char kH264ProfileLevelConstrainedBaseline[] = "42e01f"; |
124 | 103 |
125 const int kDefaultVp8PlType = 100; | 104 const int kDefaultVp8PlType = 100; |
126 const int kDefaultVp9PlType = 101; | 105 const int kDefaultVp9PlType = 101; |
127 const int kDefaultH264PlType = 107; | 106 const int kDefaultH264PlType = 107; |
128 const int kDefaultRedPlType = 116; | 107 const int kDefaultRedPlType = 116; |
129 const int kDefaultUlpfecType = 117; | 108 const int kDefaultUlpfecType = 117; |
130 const int kDefaultRtxVp8PlType = 96; | 109 const int kDefaultRtxVp8PlType = 96; |
131 const int kDefaultRtxVp9PlType = 97; | 110 const int kDefaultRtxVp9PlType = 97; |
132 const int kDefaultRtxRedPlType = 98; | 111 const int kDefaultRtxRedPlType = 98; |
133 const int kDefaultRtxH264PlType = 99; | 112 const int kDefaultRtxH264PlType = 99; |
134 | 113 |
135 const int kDefaultVideoMaxWidth = 640; | 114 const int kDefaultVideoMaxWidth = 640; |
136 const int kDefaultVideoMaxHeight = 400; | 115 const int kDefaultVideoMaxHeight = 400; |
137 const int kDefaultVideoMaxFramerate = 30; | 116 const int kDefaultVideoMaxFramerate = 30; |
138 } // namespace cricket | 117 } // namespace cricket |
OLD | NEW |