OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_HEADER_EXTENSIONS_H_ | 10 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_HEADER_EXTENSIONS_H_ |
11 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_HEADER_EXTENSIONS_H_ | 11 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_HEADER_EXTENSIONS_H_ |
12 | 12 |
13 #include <stdint.h> | 13 #include <stdint.h> |
14 #include <string> | 14 #include <string> |
15 | 15 |
| 16 #include "webrtc/api/array_view.h" |
16 #include "webrtc/api/video/video_content_type.h" | 17 #include "webrtc/api/video/video_content_type.h" |
17 #include "webrtc/api/video/video_rotation.h" | 18 #include "webrtc/api/video/video_rotation.h" |
18 #include "webrtc/api/video/video_timing.h" | 19 #include "webrtc/api/video/video_timing.h" |
19 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" | 20 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
20 #include "webrtc/rtc_base/array_view.h" | |
21 | 21 |
22 namespace webrtc { | 22 namespace webrtc { |
23 | 23 |
24 class AbsoluteSendTime { | 24 class AbsoluteSendTime { |
25 public: | 25 public: |
26 static constexpr RTPExtensionType kId = kRtpExtensionAbsoluteSendTime; | 26 static constexpr RTPExtensionType kId = kRtpExtensionAbsoluteSendTime; |
27 static constexpr uint8_t kValueSizeBytes = 3; | 27 static constexpr uint8_t kValueSizeBytes = 3; |
28 static constexpr const char kUri[] = | 28 static constexpr const char kUri[] = |
29 "http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"; | 29 "http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"; |
30 | 30 |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 }; | 177 }; |
178 | 178 |
179 class RtpMid : public BaseRtpStringExtension { | 179 class RtpMid : public BaseRtpStringExtension { |
180 public: | 180 public: |
181 static constexpr RTPExtensionType kId = kRtpExtensionMid; | 181 static constexpr RTPExtensionType kId = kRtpExtensionMid; |
182 static constexpr const char kUri[] = "urn:ietf:params:rtp-hdrext:sdes:mid"; | 182 static constexpr const char kUri[] = "urn:ietf:params:rtp-hdrext:sdes:mid"; |
183 }; | 183 }; |
184 | 184 |
185 } // namespace webrtc | 185 } // namespace webrtc |
186 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_HEADER_EXTENSIONS_H_ | 186 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_HEADER_EXTENSIONS_H_ |
OLD | NEW |