FMLiveSwitchFecContext Class Reference

Instance Methods

(bool) - decodeWithReceivedPacketList:recoveredPacketList:
 
(bool) - generateWithMediaPackets:protectionFactor:numImportantPackets:useUnequalProtection:maskType:packetList:
 
(int) - getNumberOfFecPacketsWithNumMediaPackets:protectionFactor:
 
(instancetype) - init
 
(bool) - packetReceived
 
(void) - resetStateWithRecoveredPacketList:
 

Class Methods

(FMLiveSwitchFecContext *) + context
 
(int) + ipPacketSize
 
(int) + maxMediaPackets
 
(int) + packetOverhead
 

Method Documentation

◆ context

+ (FMLiveSwitchFecContext*) context

◆ decodeWithReceivedPacketList:recoveredPacketList:

- (bool) decodeWithReceivedPacketList: (NSMutableArray< FMLiveSwitchFecReceivedPacket * > *)  receivedPacketList
recoveredPacketList: (NSMutableArray< FMLiveSwitchFecRecoveredPacket * > *)  recoveredPacketList 

◆ generateWithMediaPackets:protectionFactor:numImportantPackets:useUnequalProtection:maskType:packetList:

- (bool) generateWithMediaPackets: (NSMutableArray< FMLiveSwitchFecRawPacket * > *)  mediaPackets
protectionFactor: (int)  protectionFactor
numImportantPackets: (int)  numImportantPackets
useUnequalProtection: (bool)  useUnequalProtection
maskType: (FMLiveSwitchFecMaskType)  maskType
packetList: (NSMutableArray< FMLiveSwitchFecRawPacket * > *)  packetList 

◆ getNumberOfFecPacketsWithNumMediaPackets:protectionFactor:

- (int) getNumberOfFecPacketsWithNumMediaPackets: (int)  numMediaPackets
protectionFactor: (int)  protectionFactor 

◆ init

- (instancetype) init

◆ ipPacketSize

+ (int) ipPacketSize

◆ maxMediaPackets

+ (int) maxMediaPackets

◆ packetOverhead

+ (int) packetOverhead

◆ packetReceived

- (bool) packetReceived

◆ resetStateWithRecoveredPacketList:

- (void) resetStateWithRecoveredPacketList: (NSMutableArray< FMLiveSwitchFecRecoveredPacket * > *)  recoveredPacketList