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 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 public: | 48 public: |
49 UlpfecHeaderWriter(); | 49 UlpfecHeaderWriter(); |
50 ~UlpfecHeaderWriter() override; | 50 ~UlpfecHeaderWriter() override; |
51 | 51 |
52 size_t MinPacketMaskSize(const uint8_t* packet_mask, | 52 size_t MinPacketMaskSize(const uint8_t* packet_mask, |
53 size_t packet_mask_size) const override; | 53 size_t packet_mask_size) const override; |
54 | 54 |
55 size_t FecHeaderSize(size_t packet_mask_row_size) const override; | 55 size_t FecHeaderSize(size_t packet_mask_row_size) const override; |
56 | 56 |
57 void FinalizeFecHeader( | 57 void FinalizeFecHeader( |
| 58 uint32_t media_ssrc, // Unused by ULPFEC. |
58 uint16_t seq_num_base, | 59 uint16_t seq_num_base, |
59 const uint8_t* packet_mask, | 60 const uint8_t* packet_mask, |
60 size_t packet_mask_size, | 61 size_t packet_mask_size, |
61 ForwardErrorCorrection::Packet* fec_packet) const override; | 62 ForwardErrorCorrection::Packet* fec_packet) const override; |
62 }; | 63 }; |
63 | 64 |
64 } // namespace webrtc | 65 } // namespace webrtc |
65 | 66 |
66 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_ULPFEC_HEADER_READER_WRITER_H_ | 67 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_ULPFEC_HEADER_READER_WRITER_H_ |
OLD | NEW |