| 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 | 10 |
| 11 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_EXTENDED_REPORTS_H_ | 11 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_EXTENDED_REPORTS_H_ |
| 12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_EXTENDED_REPORTS_H_ | 12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_EXTENDED_REPORTS_H_ |
| 13 | 13 |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "webrtc/api/optional.h" |
| 16 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" | 17 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" |
| 17 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr.h" | 18 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr.h" |
| 18 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/rrtr.h" | 19 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/rrtr.h" |
| 19 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/target_bitrate.h" | 20 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/target_bitrate.h" |
| 20 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/voip_metric.h" | 21 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/voip_metric.h" |
| 21 #include "webrtc/rtc_base/optional.h" | |
| 22 | 22 |
| 23 namespace webrtc { | 23 namespace webrtc { |
| 24 namespace rtcp { | 24 namespace rtcp { |
| 25 class CommonHeader; | 25 class CommonHeader; |
| 26 | 26 |
| 27 // From RFC 3611: RTP Control Protocol Extended Reports (RTCP XR). | 27 // From RFC 3611: RTP Control Protocol Extended Reports (RTCP XR). |
| 28 class ExtendedReports : public RtcpPacket { | 28 class ExtendedReports : public RtcpPacket { |
| 29 public: | 29 public: |
| 30 static constexpr uint8_t kPacketType = 207; | 30 static constexpr uint8_t kPacketType = 207; |
| 31 | 31 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 | 76 |
| 77 uint32_t sender_ssrc_; | 77 uint32_t sender_ssrc_; |
| 78 rtc::Optional<Rrtr> rrtr_block_; | 78 rtc::Optional<Rrtr> rrtr_block_; |
| 79 Dlrr dlrr_block_; // Dlrr without items treated same as no dlrr block. | 79 Dlrr dlrr_block_; // Dlrr without items treated same as no dlrr block. |
| 80 rtc::Optional<VoipMetric> voip_metric_block_; | 80 rtc::Optional<VoipMetric> voip_metric_block_; |
| 81 rtc::Optional<TargetBitrate> target_bitrate_; | 81 rtc::Optional<TargetBitrate> target_bitrate_; |
| 82 }; | 82 }; |
| 83 } // namespace rtcp | 83 } // namespace rtcp |
| 84 } // namespace webrtc | 84 } // namespace webrtc |
| 85 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_EXTENDED_REPORTS_H_ | 85 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_EXTENDED_REPORTS_H_ |
| OLD | NEW |