| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 std::vector<RedPacket*> GetFecPackets(int red_pl_type, | 65 std::vector<RedPacket*> GetFecPackets(int red_pl_type, |
| 66 int fec_pl_type, | 66 int fec_pl_type, |
| 67 uint16_t first_seq_num, | 67 uint16_t first_seq_num, |
| 68 size_t rtp_header_length); | 68 size_t rtp_header_length); |
| 69 | 69 |
| 70 private: | 70 private: |
| 71 void DeletePackets(); | 71 void DeletePackets(); |
| 72 int Overhead() const; | 72 int Overhead() const; |
| 73 ForwardErrorCorrection* fec_; | 73 ForwardErrorCorrection* fec_; |
| 74 ForwardErrorCorrection::PacketList media_packets_fec_; | 74 ForwardErrorCorrection::PacketList media_packets_fec_; |
| 75 ForwardErrorCorrection::PacketList fec_packets_; | 75 std::list<ForwardErrorCorrection::Packet*> fec_packets_; |
| 76 int num_frames_; | 76 int num_frames_; |
| 77 int num_first_partition_; | 77 int num_first_partition_; |
| 78 int minimum_media_packets_fec_; | 78 int minimum_media_packets_fec_; |
| 79 FecProtectionParams params_; | 79 FecProtectionParams params_; |
| 80 FecProtectionParams new_params_; | 80 FecProtectionParams new_params_; |
| 81 }; | 81 }; |
| 82 | 82 |
| 83 } // namespace webrtc | 83 } // namespace webrtc |
| 84 | 84 |
| 85 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_PRODUCER_FEC_H_ | 85 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_PRODUCER_FEC_H_ |
| OLD | NEW |