| 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 | 11 |
| 12 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_SLI_H_ | 12 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_SLI_H_ |
| 13 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_SLI_H_ | 13 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_SLI_H_ |
| 14 | 14 |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "webrtc/base/basictypes.h" | 17 #include "webrtc/base/basictypes.h" |
| 18 #include "webrtc/base/constructormagic.h" |
| 18 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/psfb.h" | 19 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/psfb.h" |
| 19 #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" | 20 #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" |
| 20 | 21 |
| 21 namespace webrtc { | 22 namespace webrtc { |
| 22 namespace rtcp { | 23 namespace rtcp { |
| 23 | 24 |
| 24 // Slice loss indication (SLI) (RFC 4585). | 25 // Slice loss indication (SLI) (RFC 4585). |
| 25 class Sli : public Psfb { | 26 class Sli : public Psfb { |
| 26 public: | 27 public: |
| 27 static const uint8_t kFeedbackMessageType = 2; | 28 static const uint8_t kFeedbackMessageType = 2; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 } | 73 } |
| 73 | 74 |
| 74 std::vector<Macroblocks> items_; | 75 std::vector<Macroblocks> items_; |
| 75 | 76 |
| 76 RTC_DISALLOW_COPY_AND_ASSIGN(Sli); | 77 RTC_DISALLOW_COPY_AND_ASSIGN(Sli); |
| 77 }; | 78 }; |
| 78 | 79 |
| 79 } // namespace rtcp | 80 } // namespace rtcp |
| 80 } // namespace webrtc | 81 } // namespace webrtc |
| 81 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_SLI_H_ | 82 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_SLI_H_ |
| OLD | NEW |