FMLiveSwitchFecRedPacket Class Reference

Instance Methods

(void) - assignPayload:offset:length:
 
(void) - clearMarkerBit
 
(void) - createHeaderWithRtpHeader:headerLength:redPayloadType:payloadType:
 
(NSMutableData *) - data
 
(instancetype) - initWithLength:
 
(int) - length
 
(void) - setSequenceNumber:
 

Class Methods

(void) + getPayloadTypesWithRtpPayload:payloadType1:payloadType1Offset:payloadType2:payloadType2Offset:
 
(int) + highProtectionThreshold
 
(int) + maxExcessOverhead
 
(int) + minimumMediaPackets
 
(int) + redForFecHeaderLength
 
(FMLiveSwitchFecRedPacket *) + redPacketWithLength:
 
(void) + replacePayloadTypesWithRtpPayload:sourceMediaPayloadType:targetMediaPayloadType:sourceFecPayloadType:targetFecPayloadType:
 

Method Documentation

◆ assignPayload:offset:length:

- (void) assignPayload: (NSMutableData *)  payload
offset: (int)  offset
length: (int)  length 

◆ clearMarkerBit

- (void) clearMarkerBit

◆ createHeaderWithRtpHeader:headerLength:redPayloadType:payloadType:

- (void) createHeaderWithRtpHeader: (NSMutableData *)  rtpHeader
headerLength: (int)  headerLength
redPayloadType: (int)  redPayloadType
payloadType: (int)  payloadType 

◆ data

- (NSMutableData*) data

◆ getPayloadTypesWithRtpPayload:payloadType1:payloadType1Offset:payloadType2:payloadType2Offset:

+ (void) getPayloadTypesWithRtpPayload: (NSMutableData *)  rtpPayload
payloadType1: (int *)  payloadType1
payloadType1Offset: (int *)  payloadType1Offset
payloadType2: (int *)  payloadType2
payloadType2Offset: (int *)  payloadType2Offset 

◆ highProtectionThreshold

+ (int) highProtectionThreshold

◆ initWithLength:

- (instancetype) initWithLength: (int)  length

◆ length

- (int) length

◆ maxExcessOverhead

+ (int) maxExcessOverhead

◆ minimumMediaPackets

+ (int) minimumMediaPackets

◆ redForFecHeaderLength

+ (int) redForFecHeaderLength

◆ redPacketWithLength:

+ (FMLiveSwitchFecRedPacket*) redPacketWithLength: (int)  length

◆ replacePayloadTypesWithRtpPayload:sourceMediaPayloadType:targetMediaPayloadType:sourceFecPayloadType:targetFecPayloadType:

+ (void) replacePayloadTypesWithRtpPayload: (NSMutableData *)  rtpPayload
sourceMediaPayloadType: (int)  sourceMediaPayloadType
targetMediaPayloadType: (int)  targetMediaPayloadType
sourceFecPayloadType: (int)  sourceFecPayloadType
targetFecPayloadType: (int)  targetFecPayloadType 

◆ setSequenceNumber:

- (void) setSequenceNumber: (int)  sequenceNumber