| 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 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_ULPFEC_HEADER_READER_WRITER_H_ | 11 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_ULPFEC_HEADER_READER_WRITER_H_ |
| 12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_ULPFEC_HEADER_READER_WRITER_H_ | 12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_ULPFEC_HEADER_READER_WRITER_H_ |
| 13 | 13 |
| 14 #include "webrtc/base/basictypes.h" |
| 14 #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h" | 15 #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h" |
| 15 #include "webrtc/rtc_base/basictypes.h" | |
| 16 | 16 |
| 17 namespace webrtc { | 17 namespace webrtc { |
| 18 | 18 |
| 19 // FEC Level 0 Header, 10 bytes. | 19 // FEC Level 0 Header, 10 bytes. |
| 20 // 0 1 2 3 | 20 // 0 1 2 3 |
| 21 // 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 | 21 // 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 |
| 22 // +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | 22 // +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
| 23 // |E|L|P|X| CC |M| PT recovery | SN base | | 23 // |E|L|P|X| CC |M| PT recovery | SN base | |
| 24 // +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | 24 // +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
| 25 // | TS recovery | | 25 // | TS recovery | |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 uint32_t media_ssrc, // Unused by ULPFEC. | 58 uint32_t media_ssrc, // Unused by ULPFEC. |
| 59 uint16_t seq_num_base, | 59 uint16_t seq_num_base, |
| 60 const uint8_t* packet_mask, | 60 const uint8_t* packet_mask, |
| 61 size_t packet_mask_size, | 61 size_t packet_mask_size, |
| 62 ForwardErrorCorrection::Packet* fec_packet) const override; | 62 ForwardErrorCorrection::Packet* fec_packet) const override; |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 } // namespace webrtc | 65 } // namespace webrtc |
| 66 | 66 |
| 67 #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 |