3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/webrtc/FecMaskType.h"
10namespace webrtc {
class FecHeaderReader; }
11namespace webrtc {
class FecHeaderWriter; }
54 virtual int Release();
259 ::std::list<::std::unique_ptr<::webrtc::ForwardErrorCorrection::Packet>>
const& media_packets,
260 uchar protection_factor,
261 int num_important_packets,
262 bool use_unequal_protection,
263 ::webrtc::FecMaskType fec_mask_type,
264 ::std::list<::webrtc::ForwardErrorCorrection::Packet*>* fec_packets
270 ::std::unique_ptr<::webrtc::FecHeaderReader> fec_header_reader,
271 ::std::unique_ptr<::webrtc::FecHeaderWriter> fec_header_writer,
273 uint protected_media_ssrc
277 ::std::list<::std::unique_ptr<::webrtc::ForwardErrorCorrection::Packet>>
const& media_packets,
278 uint64 num_fec_packets
282 ::std::list<::std::unique_ptr<::webrtc::ForwardErrorCorrection::Packet>>
const& media_packets,
283 uint64 num_fec_packets
294 MCNAPI static ::std::unique_ptr<::webrtc::ForwardErrorCorrection>
297 MCNAPI static ::std::unique_ptr<::webrtc::ForwardErrorCorrection>
CreateUlpfec(uint ssrc);
299 MCNAPI
static int NumFecPackets(
int num_media_packets,
int protection_factor);
310 uint64 payload_length,
320 ::std::unique_ptr<::webrtc::FecHeaderReader> fec_header_reader,
321 ::std::unique_ptr<::webrtc::FecHeaderWriter> fec_header_writer,
323 uint protected_media_ssrc
Definition ForwardErrorCorrection.h:31
static MCAPI void ** $vftable()
Definition ForwardErrorCorrection.h:147
Definition ForwardErrorCorrection.h:190
MCAPI ~ReceivedFecPacket()
Definition ForwardErrorCorrection.h:114
Definition ForwardErrorCorrection.h:131
Definition ForwardErrorCorrection.h:90
Definition ForwardErrorCorrection.h:16
MCAPI int EncodeFec(::std::list<::std::unique_ptr<::webrtc::ForwardErrorCorrection::Packet > > const &media_packets, uchar protection_factor, int num_important_packets, bool use_unequal_protection, ::webrtc::FecMaskType fec_mask_type, ::std::list<::webrtc::ForwardErrorCorrection::Packet * > *fec_packets)
static MCAPI void XorPayloads(::webrtc::ForwardErrorCorrection::Packet const &src, uint64 payload_length, uint64 dst_offset, ::webrtc::ForwardErrorCorrection::Packet *dst)
static MCAPI int NumFecPackets(int num_media_packets, int protection_factor)
static MCAPI ushort ParseSequenceNumber(uchar const *packet)
static MCAPI uint ParseSsrc(uchar const *packet)
MCAPI void * $ctor(::std::unique_ptr<::webrtc::FecHeaderReader > fec_header_reader, ::std::unique_ptr<::webrtc::FecHeaderWriter > fec_header_writer, uint ssrc, uint protected_media_ssrc)
static MCAPI ::std::unique_ptr<::webrtc::ForwardErrorCorrection > CreateFlexfec(uint ssrc, uint protected_media_ssrc)
MCAPI void FinalizeFecHeaders(uint64 num_fec_packets, uint media_ssrc, ushort seq_num_base)
MCAPI uint64 MaxPacketOverhead() const
MCAPI ~ForwardErrorCorrection()
static MCAPI ::std::unique_ptr<::webrtc::ForwardErrorCorrection > CreateUlpfec(uint ssrc)
static MCAPI void XorHeaders(::webrtc::ForwardErrorCorrection::Packet const &src, ::webrtc::ForwardErrorCorrection::Packet *dst)
MCAPI void GenerateFecPayloads(::std::list<::std::unique_ptr<::webrtc::ForwardErrorCorrection::Packet > > const &media_packets, uint64 num_fec_packets)
MCAPI int InsertZerosInPacketMasks(::std::list<::std::unique_ptr<::webrtc::ForwardErrorCorrection::Packet > > const &media_packets, uint64 num_fec_packets)
MCAPI ForwardErrorCorrection(::std::unique_ptr<::webrtc::FecHeaderReader > fec_header_reader, ::std::unique_ptr<::webrtc::FecHeaderWriter > fec_header_writer, uint ssrc, uint protected_media_ssrc)
Definition ForwardErrorCorrection.h:221
Definition ForwardErrorCorrection.h:173
Definition ForwardErrorCorrection.h:98