FMLiveSwitchFecProducer Class Reference

Instance Methods

(bool) - addRtpPacketAndGenerateFecWithDataBuffer:payloadLength:rtpHeaderLength:
 
(FMLiveSwitchFecRedPacket *) - buildRedPacketWithDataBuffer:payloadLength:rtpHeaderLength:redPayloadType:
 
(bool) - excessOverheadBelowMax
 
(bool) - fecAvailable
 
(FMLiveSwitchFecRedPacket *) - getFecPacketWithRedPayloadType:fecPayloadType:sequenceNumber:rtpHeaderLength:
 
(instancetype) - initWithFec:
 
(bool) - minimumMediaPacketsReached
 
(void) - setFecParameters:numberFirstPartition:
 

Class Methods

(FMLiveSwitchFecProducer *) + producerWithFec:
 

Method Documentation

◆ addRtpPacketAndGenerateFecWithDataBuffer:payloadLength:rtpHeaderLength:

- (bool) addRtpPacketAndGenerateFecWithDataBuffer: (NSMutableData *)  dataBuffer
payloadLength: (int)  payloadLength
rtpHeaderLength: (int)  rtpHeaderLength 

◆ buildRedPacketWithDataBuffer:payloadLength:rtpHeaderLength:redPayloadType:

- (FMLiveSwitchFecRedPacket*) buildRedPacketWithDataBuffer: (NSMutableData *)  dataBuffer
payloadLength: (int)  payloadLength
rtpHeaderLength: (int)  rtpHeaderLength
redPayloadType: (int)  redPayloadType 

◆ excessOverheadBelowMax

- (bool) excessOverheadBelowMax

◆ fecAvailable

- (bool) fecAvailable

◆ getFecPacketWithRedPayloadType:fecPayloadType:sequenceNumber:rtpHeaderLength:

- (FMLiveSwitchFecRedPacket*) getFecPacketWithRedPayloadType: (int)  redPayloadType
fecPayloadType: (int)  fecPayloadType
sequenceNumber: (int)  sequenceNumber
rtpHeaderLength: (int)  rtpHeaderLength 

◆ initWithFec:

- (instancetype) initWithFec: (FMLiveSwitchFecContext *)  fec

◆ minimumMediaPacketsReached

- (bool) minimumMediaPacketsReached

◆ producerWithFec:

+ (FMLiveSwitchFecProducer*) producerWithFec: (FMLiveSwitchFecContext *)  fec

◆ setFecParameters:numberFirstPartition:

- (void) setFecParameters: (FMLiveSwitchFecProtectionParameters *)  parameters
numberFirstPartition: (int)  numberFirstPartition