OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 static const int kVideoRotationDefaultId; | 89 static const int kVideoRotationDefaultId; |
90 | 90 |
91 // Header extension for transport sequence number, see url for details: | 91 // Header extension for transport sequence number, see url for details: |
92 // http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions | 92 // http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions |
93 static const char* kTransportSequenceNumberUri; | 93 static const char* kTransportSequenceNumberUri; |
94 static const int kTransportSequenceNumberDefaultId; | 94 static const int kTransportSequenceNumberDefaultId; |
95 | 95 |
96 static const char* kPlayoutDelayUri; | 96 static const char* kPlayoutDelayUri; |
97 static const int kPlayoutDelayDefaultId; | 97 static const int kPlayoutDelayDefaultId; |
98 | 98 |
| 99 // Inclusive min and max IDs for one-byte header extensions, per RFC5285. |
| 100 static const int kMinId; |
| 101 static const int kMaxId; |
| 102 |
99 std::string uri; | 103 std::string uri; |
100 int id; | 104 int id; |
101 }; | 105 }; |
102 | 106 |
103 struct VideoStream { | 107 struct VideoStream { |
104 VideoStream(); | 108 VideoStream(); |
105 ~VideoStream(); | 109 ~VideoStream(); |
106 std::string ToString() const; | 110 std::string ToString() const; |
107 | 111 |
108 size_t width; | 112 size_t width; |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 | 228 |
225 private: | 229 private: |
226 // Access to the copy constructor is private to force use of the Copy() | 230 // Access to the copy constructor is private to force use of the Copy() |
227 // method for those exceptional cases where we do use it. | 231 // method for those exceptional cases where we do use it. |
228 VideoEncoderConfig(const VideoEncoderConfig&); | 232 VideoEncoderConfig(const VideoEncoderConfig&); |
229 }; | 233 }; |
230 | 234 |
231 } // namespace webrtc | 235 } // namespace webrtc |
232 | 236 |
233 #endif // WEBRTC_CONFIG_H_ | 237 #endif // WEBRTC_CONFIG_H_ |
OLD | NEW |