FMLiveSwitchFecReceiver Class Reference

Instance Methods

(bool) - addReceivedRedPacketWithIncomingRtpHeaderLength:incomingRtpSequenceNumber:incomingRtpPacket:packetLength:fecPayloadType:
 
(instancetype) - initWithCallback:
 
(instancetype) - initWithCallbackBlock:
 
(bool) - lastPacketReceivedSoloFec
 
(int) - numFecPackets
 
(int) - numPackets
 
(int) - numRecoveredPackets
 
(bool) - processReceivedFec
 

Class Methods

(FMLiveSwitchFecReceiver *) + receiverWithCallback:
 
(FMLiveSwitchFecReceiver *) + receiverWithCallbackBlock:
 

Method Documentation

◆ addReceivedRedPacketWithIncomingRtpHeaderLength:incomingRtpSequenceNumber:incomingRtpPacket:packetLength:fecPayloadType:

- (bool) addReceivedRedPacketWithIncomingRtpHeaderLength: (int)  incomingRtpHeaderLength
incomingRtpSequenceNumber: (int)  incomingRtpSequenceNumber
incomingRtpPacket: (NSMutableData *)  incomingRtpPacket
packetLength: (int)  packetLength
fecPayloadType: (int)  fecPayloadType 

◆ initWithCallback:

- (instancetype) initWithCallback: (FMLiveSwitchAction2< FMLiveSwitchFecRawPacket *, id > *)  callback

◆ initWithCallbackBlock:

- (instancetype) initWithCallbackBlock: (void(^)(FMLiveSwitchFecRawPacket *, bool))  callbackBlock

◆ lastPacketReceivedSoloFec

- (bool) lastPacketReceivedSoloFec

◆ numFecPackets

- (int) numFecPackets

◆ numPackets

- (int) numPackets

◆ numRecoveredPackets

- (int) numRecoveredPackets

◆ processReceivedFec

- (bool) processReceivedFec

◆ receiverWithCallback:

+ (FMLiveSwitchFecReceiver*) receiverWithCallback: (FMLiveSwitchAction2< FMLiveSwitchFecRawPacket *, id > *)  callback

◆ receiverWithCallbackBlock:

+ (FMLiveSwitchFecReceiver*) receiverWithCallbackBlock: (void(^)(FMLiveSwitchFecRawPacket *, bool))  callbackBlock