OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 | 354 |
355 protected: | 355 protected: |
356 bool Create(uint8_t* packet, | 356 bool Create(uint8_t* packet, |
357 size_t* index, | 357 size_t* index, |
358 size_t max_length, | 358 size_t max_length, |
359 RtcpPacket::PacketReadyCallback* callback) const override; | 359 RtcpPacket::PacketReadyCallback* callback) const override; |
360 | 360 |
361 size_t BlockLength() const override; | 361 size_t BlockLength() const override; |
362 | 362 |
363 private: | 363 private: |
364 | |
365 RTCPUtility::RTCPPacketRTPFBNACK nack_; | 364 RTCPUtility::RTCPPacketRTPFBNACK nack_; |
366 std::vector<RTCPUtility::RTCPPacketRTPFBNACKItem> nack_fields_; | 365 std::vector<RTCPUtility::RTCPPacketRTPFBNACKItem> nack_fields_; |
367 | 366 |
368 RTC_DISALLOW_COPY_AND_ASSIGN(Nack); | 367 RTC_DISALLOW_COPY_AND_ASSIGN(Nack); |
369 }; | 368 }; |
370 | 369 |
371 // Reference picture selection indication (RPSI) (RFC 4585). | 370 // Reference picture selection indication (RPSI) (RFC 4585). |
372 // | 371 // |
373 // FCI: | 372 // FCI: |
374 // | 373 // |
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
813 | 812 |
814 private: | 813 private: |
815 const size_t buffer_length_; | 814 const size_t buffer_length_; |
816 size_t length_; | 815 size_t length_; |
817 rtc::scoped_ptr<uint8_t[]> buffer_; | 816 rtc::scoped_ptr<uint8_t[]> buffer_; |
818 }; | 817 }; |
819 | 818 |
820 } // namespace rtcp | 819 } // namespace rtcp |
821 } // namespace webrtc | 820 } // namespace webrtc |
822 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_H_ | 821 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_PACKET_H_ |
OLD | NEW |