| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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_TRANSPORT_FEEDBACK_H_ | 11 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_TRANSPORT_FEEDBACK_H_ |
| 12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_TRANSPORT_FEEDBACK_H_ | 12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_TRANSPORT_FEEDBACK_H_ |
| 13 | 13 |
| 14 #include <memory> | 14 #include <memory> |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "webrtc/base/constructormagic.h" | |
| 18 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/rtpfb.h" | 17 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/rtpfb.h" |
| 19 | 18 |
| 20 namespace webrtc { | 19 namespace webrtc { |
| 21 namespace rtcp { | 20 namespace rtcp { |
| 22 class CommonHeader; | 21 class CommonHeader; |
| 23 | 22 |
| 24 class TransportFeedback : public Rtpfb { | 23 class TransportFeedback : public Rtpfb { |
| 25 public: | 24 public: |
| 26 class ReceivedPacket { | 25 class ReceivedPacket { |
| 27 public: | 26 public: |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 uint16_t num_seq_no_; | 101 uint16_t num_seq_no_; |
| 103 int32_t base_time_ticks_; | 102 int32_t base_time_ticks_; |
| 104 uint8_t feedback_seq_; | 103 uint8_t feedback_seq_; |
| 105 | 104 |
| 106 int64_t last_timestamp_us_; | 105 int64_t last_timestamp_us_; |
| 107 std::vector<ReceivedPacket> packets_; | 106 std::vector<ReceivedPacket> packets_; |
| 108 // All but last encoded packet chunks. | 107 // All but last encoded packet chunks. |
| 109 std::vector<uint16_t> encoded_chunks_; | 108 std::vector<uint16_t> encoded_chunks_; |
| 110 const std::unique_ptr<LastChunk> last_chunk_; | 109 const std::unique_ptr<LastChunk> last_chunk_; |
| 111 size_t size_bytes_; | 110 size_t size_bytes_; |
| 112 | |
| 113 RTC_DISALLOW_COPY_AND_ASSIGN(TransportFeedback); | |
| 114 }; | 111 }; |
| 115 | 112 |
| 116 } // namespace rtcp | 113 } // namespace rtcp |
| 117 } // namespace webrtc | 114 } // namespace webrtc |
| 118 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_TRANSPORT_FEEDBACK_H_ | 115 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_TRANSPORT_FEEDBACK_H_ |
| OLD | NEW |