FMLiveSwitchRtpReceiver Class Reference

Instance Methods

(bool) - canSendLrrWithIntervalTicks:incrementIntervalTicks:transportSystemTimestamp:
 
(bool) - canSendNackWithIntervalTicks:transportSystemTimestamp:
 
(bool) - canSendPliWithIntervalTicks:transportSystemTimestamp:
 
(int) - currentClockRate
 
(int) - currentJitter
 
(int) - currentPayloadType
 
(void) - destroy
 
(NSObject< FMLiveSwitchRtpIExtensionParameters > *) - extensionParameters
 
(FMLiveSwitchRedFecConfig *) - fecConfig
 
(bool) - fecEnabled
 
(long long) - firsSent
 
(NSObject< FMLiveSwitchRtpIFormatParameters > *) - formatParameters
 
(int) - getCcmSendSequenceNumber
 
(FMLiveSwitchReportBlock *) - getReportBlockWithTransportSystemTimestamp:
 
(FMLiveSwitchMediaReceiverStats *) - getStats
 
(bool) - hasUnreportedLoss
 
(FMLiveSwitchHexDump *) - hexDump
 
(NSString *) - id
 
(double) - initialLossBasedBandwidthEstimate
 
(instancetype) - initWithType:remoteSynchronizationSource:remoteRtpStreamId:remoteRepairedRtpStreamId:initialBandwidthEstimate:nackConfig:fecConfig:jitterConfig:legacy:parameters:formatParameters:extensionParameters:localProtectionParameters:remoteProtectionParameters:hexDump:createFrameArray:
 
(instancetype) - initWithType:remoteSynchronizationSource:remoteRtpStreamId:remoteRepairedRtpStreamId:initialBandwidthEstimate:nackConfig:fecConfig:jitterConfig:legacy:parameters:formatParameters:extensionParameters:localProtectionParameters:remoteProtectionParameters:hexDump:createFrameArrayBlock:
 
(FMLiveSwitchJitterConfig *) - jitterConfig
 
(bool) - jitterEnabled
 
(bool) - legacy
 
(FMLiveSwitchJitterBuffer< TFrame, TBuffer, TBufferCollection, TFormat > *) - legacyJitterBuffer
 
(FMLiveSwitchNackBuffer< TFrame, TBuffer, TBufferCollection, TFormat > *) - legacyNackBuffer
 
(FMLiveSwitchSrtpProtectionParameters *) - localProtectionParameters
 
(double) - lossBasedBandwidthEstimate
 
(long long) - lrrsSent
 
(FMLiveSwitchNackConfig *) - nackConfig
 
(bool) - nackEnabled
 
(long long) - nacksSent
 
(long long) - octetsReceivedRtcp
 
(long long) - octetsReceivedRtp
 
(long long) - packetsDiscarded
 
(long long) - packetsDuplicated
 
(long long) - packetsReceivedRtcp
 
(long long) - packetsReceivedRtp
 
(long long) - packetsRepaired
 
(NSObject< FMLiveSwitchRtpIParameters > *) - parameters
 
(long long) - plisSent
 
(void) - processSRControlFrame:transportSystemTimestamp:
 
(FMLiveSwitchAction1< TFrame > *) - receiveFrame
 
(bool) - receiveRtp:roundTripTime:
 
(FMLiveSwitchSrtpProtectionParameters *) - remoteProtectionParameters
 
(NSString *) - remoteRepairedRtpStreamId
 
(NSString *) - remoteRtpStreamId
 
(long long) - remoteSynchronizationSource
 
(void) - resetBandwidthEstimateWithInitialBandwidthEstimate:
 
(void) - resetCurrentBitrate
 
(FMLiveSwitchFunction2< NSMutableArray *, id, id > *) - sendControlFrames
 
(void) - setReceiveFrame:
 
(TFrame) - setReceiveFrameBlock
 
(void) - setReceiveFrameBlock:
 
(void) - setSendControlFrames:
 
(NSMutableArray *, long long) - setSendControlFramesBlock
 
(void) - setSendControlFramesBlock:
 
(void) - setTestReceivedRtpBuffer:
 
(FMLiveSwitchDataBuffer *) - setTestReceivedRtpBufferBlock
 
(void) - setTestReceivedRtpBufferBlock:
 
(FMLiveSwitchFunction1< FMLiveSwitchDataBuffer *, FMLiveSwitchDataBuffer * > *) - testReceivedRtpBuffer
 
(FMLiveSwitchStreamType) - type
 
(void) - updateRtcpReceiverStatisticsWithPacketLength:
 

Class Methods

(FMLiveSwitchRtpReceiver *) + receiverWithType:remoteSynchronizationSource:remoteRtpStreamId:remoteRepairedRtpStreamId:initialBandwidthEstimate:nackConfig:fecConfig:jitterConfig:legacy:parameters:formatParameters:extensionParameters:localProtectionParameters:remoteProtectionParameters:hexDump:createFrameArray:
 
(FMLiveSwitchRtpReceiver *) + receiverWithType:remoteSynchronizationSource:remoteRtpStreamId:remoteRepairedRtpStreamId:initialBandwidthEstimate:nackConfig:fecConfig:jitterConfig:legacy:parameters:formatParameters:extensionParameters:localProtectionParameters:remoteProtectionParameters:hexDump:createFrameArrayBlock:
 

Protected Attributes

 __pad0__: NSObject- (bool) canSendFirWithIntervalTicks:(int)intervalTicks incrementIntervalTicks:(int)incrementIntervalTicks transportSystemTimestamp:(long long)transportSystemTimestamp
 

Method Documentation

◆ canSendLrrWithIntervalTicks:incrementIntervalTicks:transportSystemTimestamp:

- (bool) canSendLrrWithIntervalTicks: (int)  intervalTicks
incrementIntervalTicks: (int)  incrementIntervalTicks
transportSystemTimestamp: (long long)  transportSystemTimestamp 

◆ canSendNackWithIntervalTicks:transportSystemTimestamp:

- (bool) canSendNackWithIntervalTicks: (int)  intervalTicks
transportSystemTimestamp: (long long)  transportSystemTimestamp 

◆ canSendPliWithIntervalTicks:transportSystemTimestamp:

- (bool) canSendPliWithIntervalTicks: (int)  intervalTicks
transportSystemTimestamp: (long long)  transportSystemTimestamp 

◆ currentClockRate

- (int) currentClockRate

◆ currentJitter

- (int) currentJitter

◆ currentPayloadType

- (int) currentPayloadType

◆ destroy

- (void) destroy

◆ extensionParameters

- (NSObject<FMLiveSwitchRtpIExtensionParameters>*) extensionParameters

◆ fecConfig

- (FMLiveSwitchRedFecConfig*) fecConfig

◆ fecEnabled

- (bool) fecEnabled

◆ firsSent

- (long long) firsSent

◆ formatParameters

◆ getCcmSendSequenceNumber

- (int) getCcmSendSequenceNumber

◆ getReportBlockWithTransportSystemTimestamp:

- (FMLiveSwitchReportBlock*) getReportBlockWithTransportSystemTimestamp: (long long)  transportSystemTimestamp

◆ getStats

◆ hasUnreportedLoss

- (bool) hasUnreportedLoss

◆ hexDump

- (FMLiveSwitchHexDump*) hexDump

◆ id

- (NSString*) id

◆ initialLossBasedBandwidthEstimate

- (double) initialLossBasedBandwidthEstimate

◆ initWithType:remoteSynchronizationSource:remoteRtpStreamId:remoteRepairedRtpStreamId:initialBandwidthEstimate:nackConfig:fecConfig:jitterConfig:legacy:parameters:formatParameters:extensionParameters:localProtectionParameters:remoteProtectionParameters:hexDump:createFrameArray:

- (instancetype) initWithType: (FMLiveSwitchStreamType)  type
remoteSynchronizationSource: (long long)  remoteSynchronizationSource
remoteRtpStreamId: (NSString *)  remoteRtpStreamId
remoteRepairedRtpStreamId: (NSString *)  remoteRepairedRtpStreamId
initialBandwidthEstimate: (int)  initialBandwidthEstimate
nackConfig: (FMLiveSwitchNackConfig *)  nackConfig
fecConfig: (FMLiveSwitchRedFecConfig *)  fecConfig
jitterConfig: (FMLiveSwitchJitterConfig *)  jitterConfig
legacy: (bool)  legacy
parameters: (NSObject< FMLiveSwitchRtpIParameters > *)  parameters
formatParameters: (NSObject< FMLiveSwitchRtpIFormatParameters > *)  formatParameters
extensionParameters: (NSObject< FMLiveSwitchRtpIExtensionParameters > *)  extensionParameters
localProtectionParameters: (FMLiveSwitchSrtpProtectionParameters *)  localProtectionParameters
remoteProtectionParameters: (FMLiveSwitchSrtpProtectionParameters *)  remoteProtectionParameters
hexDump: (FMLiveSwitchHexDump *)  hexDump
createFrameArray: (FMLiveSwitchFunction1< id, NSMutableArray * > *)  createFrameArray 

◆ initWithType:remoteSynchronizationSource:remoteRtpStreamId:remoteRepairedRtpStreamId:initialBandwidthEstimate:nackConfig:fecConfig:jitterConfig:legacy:parameters:formatParameters:extensionParameters:localProtectionParameters:remoteProtectionParameters:hexDump:createFrameArrayBlock:

- (instancetype) initWithType: (FMLiveSwitchStreamType)  type
remoteSynchronizationSource: (long long)  remoteSynchronizationSource
remoteRtpStreamId: (NSString *)  remoteRtpStreamId
remoteRepairedRtpStreamId: (NSString *)  remoteRepairedRtpStreamId
initialBandwidthEstimate: (int)  initialBandwidthEstimate
nackConfig: (FMLiveSwitchNackConfig *)  nackConfig
fecConfig: (FMLiveSwitchRedFecConfig *)  fecConfig
jitterConfig: (FMLiveSwitchJitterConfig *)  jitterConfig
legacy: (bool)  legacy
parameters: (NSObject< FMLiveSwitchRtpIParameters > *)  parameters
formatParameters: (NSObject< FMLiveSwitchRtpIFormatParameters > *)  formatParameters
extensionParameters: (NSObject< FMLiveSwitchRtpIExtensionParameters > *)  extensionParameters
localProtectionParameters: (FMLiveSwitchSrtpProtectionParameters *)  localProtectionParameters
remoteProtectionParameters: (FMLiveSwitchSrtpProtectionParameters *)  remoteProtectionParameters
hexDump: (FMLiveSwitchHexDump *)  hexDump
createFrameArrayBlock: (NSMutableArray *(^)(int))  createFrameArrayBlock 

◆ jitterConfig

- (FMLiveSwitchJitterConfig*) jitterConfig

◆ jitterEnabled

- (bool) jitterEnabled

◆ legacy

- (bool) legacy

◆ legacyJitterBuffer

- (FMLiveSwitchJitterBuffer<TFrame,TBuffer,TBufferCollection,TFormat>*) legacyJitterBuffer

◆ legacyNackBuffer

- (FMLiveSwitchNackBuffer<TFrame,TBuffer,TBufferCollection,TFormat>*) legacyNackBuffer

◆ localProtectionParameters

- (FMLiveSwitchSrtpProtectionParameters*) localProtectionParameters

◆ lossBasedBandwidthEstimate

- (double) lossBasedBandwidthEstimate

◆ lrrsSent

- (long long) lrrsSent

◆ nackConfig

- (FMLiveSwitchNackConfig*) nackConfig

◆ nackEnabled

- (bool) nackEnabled

◆ nacksSent

- (long long) nacksSent

◆ octetsReceivedRtcp

- (long long) octetsReceivedRtcp

◆ octetsReceivedRtp

- (long long) octetsReceivedRtp

◆ packetsDiscarded

- (long long) packetsDiscarded

◆ packetsDuplicated

- (long long) packetsDuplicated

◆ packetsReceivedRtcp

- (long long) packetsReceivedRtcp

◆ packetsReceivedRtp

- (long long) packetsReceivedRtp

◆ packetsRepaired

- (long long) packetsRepaired

◆ parameters

◆ plisSent

- (long long) plisSent

◆ processSRControlFrame:transportSystemTimestamp:

- (void) processSRControlFrame: (FMLiveSwitchSRControlFrame *)  controlFrame
transportSystemTimestamp: (long long)  transportSystemTimestamp 

◆ receiveFrame

- (FMLiveSwitchAction1<TFrame>*) receiveFrame

◆ receiveRtp:roundTripTime:

- (bool) receiveRtp: (FMLiveSwitchRtpInboundRtp *)  rtp
roundTripTime: (int)  roundTripTime 

◆ receiverWithType:remoteSynchronizationSource:remoteRtpStreamId:remoteRepairedRtpStreamId:initialBandwidthEstimate:nackConfig:fecConfig:jitterConfig:legacy:parameters:formatParameters:extensionParameters:localProtectionParameters:remoteProtectionParameters:hexDump:createFrameArray:

+ (FMLiveSwitchRtpReceiver*) receiverWithType: (FMLiveSwitchStreamType)  type
remoteSynchronizationSource: (long long)  remoteSynchronizationSource
remoteRtpStreamId: (NSString *)  remoteRtpStreamId
remoteRepairedRtpStreamId: (NSString *)  remoteRepairedRtpStreamId
initialBandwidthEstimate: (int)  initialBandwidthEstimate
nackConfig: (FMLiveSwitchNackConfig *)  nackConfig
fecConfig: (FMLiveSwitchRedFecConfig *)  fecConfig
jitterConfig: (FMLiveSwitchJitterConfig *)  jitterConfig
legacy: (bool)  legacy
parameters: (NSObject< FMLiveSwitchRtpIParameters > *)  parameters
formatParameters: (NSObject< FMLiveSwitchRtpIFormatParameters > *)  formatParameters
extensionParameters: (NSObject< FMLiveSwitchRtpIExtensionParameters > *)  extensionParameters
localProtectionParameters: (FMLiveSwitchSrtpProtectionParameters *)  localProtectionParameters
remoteProtectionParameters: (FMLiveSwitchSrtpProtectionParameters *)  remoteProtectionParameters
hexDump: (FMLiveSwitchHexDump *)  hexDump
createFrameArray: (FMLiveSwitchFunction1< id, NSMutableArray * > *)  createFrameArray 

◆ receiverWithType:remoteSynchronizationSource:remoteRtpStreamId:remoteRepairedRtpStreamId:initialBandwidthEstimate:nackConfig:fecConfig:jitterConfig:legacy:parameters:formatParameters:extensionParameters:localProtectionParameters:remoteProtectionParameters:hexDump:createFrameArrayBlock:

+ (FMLiveSwitchRtpReceiver*) receiverWithType: (FMLiveSwitchStreamType)  type
remoteSynchronizationSource: (long long)  remoteSynchronizationSource
remoteRtpStreamId: (NSString *)  remoteRtpStreamId
remoteRepairedRtpStreamId: (NSString *)  remoteRepairedRtpStreamId
initialBandwidthEstimate: (int)  initialBandwidthEstimate
nackConfig: (FMLiveSwitchNackConfig *)  nackConfig
fecConfig: (FMLiveSwitchRedFecConfig *)  fecConfig
jitterConfig: (FMLiveSwitchJitterConfig *)  jitterConfig
legacy: (bool)  legacy
parameters: (NSObject< FMLiveSwitchRtpIParameters > *)  parameters
formatParameters: (NSObject< FMLiveSwitchRtpIFormatParameters > *)  formatParameters
extensionParameters: (NSObject< FMLiveSwitchRtpIExtensionParameters > *)  extensionParameters
localProtectionParameters: (FMLiveSwitchSrtpProtectionParameters *)  localProtectionParameters
remoteProtectionParameters: (FMLiveSwitchSrtpProtectionParameters *)  remoteProtectionParameters
hexDump: (FMLiveSwitchHexDump *)  hexDump
createFrameArrayBlock: (NSMutableArray *(^)(int))  createFrameArrayBlock 

◆ remoteProtectionParameters

- (FMLiveSwitchSrtpProtectionParameters*) remoteProtectionParameters

◆ remoteRepairedRtpStreamId

- (NSString*) remoteRepairedRtpStreamId

◆ remoteRtpStreamId

- (NSString*) remoteRtpStreamId

◆ remoteSynchronizationSource

- (long long) remoteSynchronizationSource

◆ resetBandwidthEstimateWithInitialBandwidthEstimate:

- (void) resetBandwidthEstimateWithInitialBandwidthEstimate: (double)  initialBandwidthEstimate

◆ resetCurrentBitrate

- (void) resetCurrentBitrate

◆ sendControlFrames

- (FMLiveSwitchFunction2<NSMutableArray*,id,id>*) sendControlFrames

◆ setReceiveFrame:

- (void) setReceiveFrame: (FMLiveSwitchAction1< TFrame > *)  value

◆ setReceiveFrameBlock

- (TFrame) setReceiveFrameBlock

◆ setReceiveFrameBlock:

- (void) setReceiveFrameBlock: (void(^)(TFrame))  valueBlock

◆ setSendControlFrames:

- (void) setSendControlFrames: (FMLiveSwitchFunction2< NSMutableArray *, id, id > *)  value

◆ setSendControlFramesBlock

- (NSMutableArray*, long long) setSendControlFramesBlock

◆ setSendControlFramesBlock:

- (void) setSendControlFramesBlock: (int(^)(NSMutableArray *, long long))  valueBlock

◆ setTestReceivedRtpBuffer:

- (void) setTestReceivedRtpBuffer: (FMLiveSwitchFunction1< FMLiveSwitchDataBuffer *, FMLiveSwitchDataBuffer * > *)  value

◆ setTestReceivedRtpBufferBlock

- (FMLiveSwitchDataBuffer*) setTestReceivedRtpBufferBlock

◆ setTestReceivedRtpBufferBlock:

- (void) setTestReceivedRtpBufferBlock: (FMLiveSwitchDataBuffer *(^)(FMLiveSwitchDataBuffer *))  valueBlock

◆ testReceivedRtpBuffer

- (FMLiveSwitchFunction1<FMLiveSwitchDataBuffer*,FMLiveSwitchDataBuffer*>*) testReceivedRtpBuffer

◆ type

- (FMLiveSwitchStreamType) type

◆ updateRtcpReceiverStatisticsWithPacketLength:

- (void) updateRtcpReceiverStatisticsWithPacketLength: (int)  packetLength

Member Data Documentation

◆ __pad0__

- __pad0__
protected