FMLiveSwitchRtpTransport Class Reference

Instance Methods

(void) - addOnSendControlFrameResponses:
 
(NSMutableArray *) - addOnSendControlFrameResponsesWithBlock
 
(void) - addOnSendControlFrameResponsesWithBlock:
 
(void) - addOnSendControlFrames:
 
(NSMutableArray *) - addOnSendControlFramesWithBlock
 
(void) - addOnSendControlFramesWithBlock:
 
(bool) - canSendRembWithSystemTimestamp:
 
(bool) - canSendReportWithSystemTimestamp:
 
(NSMutableArray *) - createFrameArrayWithSize:
 
(TFrame) - createFrameWithHeader:payload:format:
 
(long long) - defaultLocalSynchronizationSource
 
(FMLiveSwitchStreamDirection) - direction
 
(bool) - disableAutomaticReports
 
(int) - doSendControlFrameResponses:
 
(int) - doSendControlFrames:
 
(int) - doSendFrame:
 
(bool) - doStart
 
(bool) - doStop
 
(long long) - firstLocalSynchronizationSource
 
(FMLiveSwitchRtpReceiver< TFrame, TBuffer, TBufferCollection, TFormat, TFormatCollection > *) - firstReceiver
 
(long long) - firstRemoteSynchronizationSource
 
(FMLiveSwitchRtpSender< TFrame, TBuffer, TBufferCollection, TFormat, TFormatCollection > *) - firstSender
 
(FMLiveSwitchFunction0< id > *) - getInboundRtcpTransportSystemTimestamp
 
(FMLiveSwitchFunction0< id > *) - getInboundRtpTransportSystemTimestamp
 
(FMLiveSwitchFunction0< id > *) - getOutboundRtcpTransportSystemTimestamp
 
(FMLiveSwitchSdesControlFrame *) - getSdesControlFrame
 
(FMLiveSwitchHexDump *) - hexDump
 
(double) - inboundBandwidthEstimate
 
(bool) - includeMidSdes
 
(double) - initialInboundBandwidthEstimate
 
(double) - initialLossBasedInboundBandwidthEstimate
 
(double) - initialLossBasedOutboundBandwidthEstimate
 
(double) - initialOutboundBandwidthEstimate
 
(instancetype) - initWithLockObject:streamType:simulcastMode:nackConfig:redFecConfig:jitterConfig:disableAutomaticReports:hexDump:rtpTransport:rtcpTransport:
 
(FMLiveSwitchJitterConfig *) - jitterConfig
 
(bool) - legacyReceiver
 
(FMLiveSwitchRtpListener *) - listener
 
(FMLiveSwitchSrtpProtectionParameters *) - localProtectionParameters
 
(double) - lossBasedInboundBandwidthEstimate
 
(double) - lossBasedOutboundBandwidthEstimate
 
(NSString *) - mid
 
(FMLiveSwitchNackConfig *) - nackConfig
 
(long long) - octetsReceivedRtp
 
(long long) - octetsSentRtp
 
(double) - outboundBandwidthEstimate
 
(NSMutableArray *) - receivers
 
(FMLiveSwitchRedFecConfig *) - redFecConfig
 
(bool) - rembEnabled
 
(FMLiveSwitchSrtpProtectionParameters *) - remoteProtectionParameters
 
(void) - removeOnSendControlFrameResponses:
 
(void) - removeOnSendControlFrames:
 
(double) - requestedInboundBitrate
 
(double) - requestedOutboundBitrate
 
(bool) - resetInboundBandwidthEstimateWithInitialBandwidthEstimate:remoteSynchronizationSource:remoteRtpStreamId:
 
(void) - resetInboundCurrentBitrateWithRemoteSynchronizationSource:
 
(bool) - resetOutboundBandwidthEstimateWithInitialBandwidthEstimate:localSynchronizationSource:localRtpStreamId:
 
(void) - resetOutboundCurrentBitrateWithLocalSynchronizationSource:
 
(int) - roundTripTime
 
(FMLiveSwitchTransport *) - rtcpTransport
 
(FMLiveSwitchTransport *) - rtpTransport
 
(NSMutableArray *) - senders
 
(void) - setDirection:
 
(void) - setDisableAutomaticReports:
 
(void) - setGetInboundRtcpTransportSystemTimestamp:
 
(void) - setGetInboundRtcpTransportSystemTimestampBlock
 
(void) - setGetInboundRtcpTransportSystemTimestampBlock:
 
(void) - setGetInboundRtpTransportSystemTimestamp:
 
(void) - setGetInboundRtpTransportSystemTimestampBlock
 
(void) - setGetInboundRtpTransportSystemTimestampBlock:
 
(void) - setGetOutboundRtcpTransportSystemTimestamp:
 
(void) - setGetOutboundRtcpTransportSystemTimestampBlock
 
(void) - setGetOutboundRtcpTransportSystemTimestampBlock:
 
(void) - setIncludeMidSdes:
 
(void) - setLegacyReceiver:
 
(void) - setListener:
 
(void) - setMid:
 
(bool) - setProtectionParametersWithLocalProtectionParameters:remoteProtectionParameters:
 
(void) - setRembEnabled:
 
(void) - setTestReceivedRtpBuffer:
 
(FMLiveSwitchDataBuffer *) - setTestReceivedRtpBufferBlock
 
(void) - setTestReceivedRtpBufferBlock:
 
(void) - setTestRoundTripTime:
 
(void) - setTestSendingRtpBuffer:
 
(FMLiveSwitchDataBuffer *) - setTestSendingRtpBufferBlock
 
(void) - setTestSendingRtpBufferBlock:
 
(FMLiveSwitchSimulcastMode) - simulcastMode
 
(long long) - singleLocalSynchronizationSource
 
(FMLiveSwitchRtpReceiver< TFrame, TBuffer, TBufferCollection, TFormat, TFormatCollection > *) - singleReceiver
 
(long long) - singleRemoteSynchronizationSource
 
(FMLiveSwitchRtpSender< TFrame, TBuffer, TBufferCollection, TFormat, TFormatCollection > *) - singleSender
 
(FMLiveSwitchFunction1< FMLiveSwitchDataBuffer *, FMLiveSwitchDataBuffer * > *) - testReceivedRtpBuffer
 
(int) - testRoundTripTime
 
(FMLiveSwitchFunction1< FMLiveSwitchDataBuffer *, FMLiveSwitchDataBuffer * > *) - testSendingRtpBuffer
 
(FMLiveSwitchStreamType) - type
 

Class Methods

(FMLiveSwitchRtpTransport *) + transportWithLockObject:streamType:simulcastMode:nackConfig:redFecConfig:jitterConfig:disableAutomaticReports:hexDump:rtpTransport:rtcpTransport:
 

Protected Attributes

 __pad0__: FMLiveSwitchMediaTransport<TFrame
 
 TBuffer
 
 TBufferCollection
 
 TFormat
 

Method Documentation

◆ addOnSendControlFrameResponses:

- (void) addOnSendControlFrameResponses: (FMLiveSwitchAction1< NSMutableArray * > *)  value

◆ addOnSendControlFrameResponsesWithBlock

- (NSMutableArray*) addOnSendControlFrameResponsesWithBlock

◆ addOnSendControlFrameResponsesWithBlock:

- (void) addOnSendControlFrameResponsesWithBlock: (void(^)(NSMutableArray *))  valueBlock

◆ addOnSendControlFrames:

- (void) addOnSendControlFrames: (FMLiveSwitchAction1< NSMutableArray * > *)  value

◆ addOnSendControlFramesWithBlock

- (NSMutableArray*) addOnSendControlFramesWithBlock

◆ addOnSendControlFramesWithBlock:

- (void) addOnSendControlFramesWithBlock: (void(^)(NSMutableArray *))  valueBlock

◆ canSendRembWithSystemTimestamp:

- (bool) canSendRembWithSystemTimestamp: (long long)  systemTimestamp

◆ canSendReportWithSystemTimestamp:

- (bool) canSendReportWithSystemTimestamp: (long long)  systemTimestamp

◆ createFrameArrayWithSize:

- (NSMutableArray*) createFrameArrayWithSize: (int)  size

◆ createFrameWithHeader:payload:format:

- (TFrame) createFrameWithHeader: (FMLiveSwitchRtpPacketHeader *)  header
payload: (FMLiveSwitchDataBuffer *)  payload
format: (TFormat format 

◆ defaultLocalSynchronizationSource

- (long long) defaultLocalSynchronizationSource

◆ direction

- (FMLiveSwitchStreamDirection) direction

◆ disableAutomaticReports

- (bool) disableAutomaticReports

◆ doSendControlFrameResponses:

- (int) doSendControlFrameResponses: (NSMutableArray *)  controlFrameResponses

◆ doSendControlFrames:

- (int) doSendControlFrames: (NSMutableArray *)  controlFrames

◆ doSendFrame:

- (int) doSendFrame: (TFrame)  frame

◆ doStart

- (bool) doStart

◆ doStop

- (bool) doStop

◆ firstLocalSynchronizationSource

- (long long) firstLocalSynchronizationSource

◆ firstReceiver

- (FMLiveSwitchRtpReceiver<TFrame,TBuffer,TBufferCollection,TFormat,TFormatCollection>*) firstReceiver

◆ firstRemoteSynchronizationSource

- (long long) firstRemoteSynchronizationSource

◆ firstSender

- (FMLiveSwitchRtpSender<TFrame,TBuffer,TBufferCollection,TFormat,TFormatCollection>*) firstSender

◆ getInboundRtcpTransportSystemTimestamp

- (FMLiveSwitchFunction0<id>*) getInboundRtcpTransportSystemTimestamp

◆ getInboundRtpTransportSystemTimestamp

- (FMLiveSwitchFunction0<id>*) getInboundRtpTransportSystemTimestamp

◆ getOutboundRtcpTransportSystemTimestamp

- (FMLiveSwitchFunction0<id>*) getOutboundRtcpTransportSystemTimestamp

◆ getSdesControlFrame

- (FMLiveSwitchSdesControlFrame*) getSdesControlFrame

◆ hexDump

- (FMLiveSwitchHexDump*) hexDump

◆ inboundBandwidthEstimate

- (double) inboundBandwidthEstimate

◆ includeMidSdes

- (bool) includeMidSdes

◆ initialInboundBandwidthEstimate

- (double) initialInboundBandwidthEstimate

◆ initialLossBasedInboundBandwidthEstimate

- (double) initialLossBasedInboundBandwidthEstimate

◆ initialLossBasedOutboundBandwidthEstimate

- (double) initialLossBasedOutboundBandwidthEstimate

◆ initialOutboundBandwidthEstimate

- (double) initialOutboundBandwidthEstimate

◆ initWithLockObject:streamType:simulcastMode:nackConfig:redFecConfig:jitterConfig:disableAutomaticReports:hexDump:rtpTransport:rtcpTransport:

- (instancetype) initWithLockObject: (id lockObject
streamType: (FMLiveSwitchStreamType)  streamType
simulcastMode: (FMLiveSwitchSimulcastMode)  simulcastMode
nackConfig: (FMLiveSwitchNackConfig *)  nackConfig
redFecConfig: (FMLiveSwitchRedFecConfig *)  redFecConfig
jitterConfig: (FMLiveSwitchJitterConfig *)  jitterConfig
disableAutomaticReports: (bool)  disableAutomaticReports
hexDump: (FMLiveSwitchHexDump *)  hexDump
rtpTransport: (FMLiveSwitchTransport *)  rtpTransport
rtcpTransport: (FMLiveSwitchTransport *)  rtcpTransport 

◆ jitterConfig

- (FMLiveSwitchJitterConfig*) jitterConfig

◆ legacyReceiver

- (bool) legacyReceiver

◆ listener

- (FMLiveSwitchRtpListener*) listener

◆ localProtectionParameters

- (FMLiveSwitchSrtpProtectionParameters*) localProtectionParameters

◆ lossBasedInboundBandwidthEstimate

- (double) lossBasedInboundBandwidthEstimate

◆ lossBasedOutboundBandwidthEstimate

- (double) lossBasedOutboundBandwidthEstimate

◆ mid

- (NSString*) mid

◆ nackConfig

- (FMLiveSwitchNackConfig*) nackConfig

◆ octetsReceivedRtp

- (long long) octetsReceivedRtp

◆ octetsSentRtp

- (long long) octetsSentRtp

◆ outboundBandwidthEstimate

- (double) outboundBandwidthEstimate

◆ receivers

- (NSMutableArray*) receivers

◆ redFecConfig

- (FMLiveSwitchRedFecConfig*) redFecConfig

◆ rembEnabled

- (bool) rembEnabled

◆ remoteProtectionParameters

- (FMLiveSwitchSrtpProtectionParameters*) remoteProtectionParameters

◆ removeOnSendControlFrameResponses:

- (void) removeOnSendControlFrameResponses: (FMLiveSwitchAction1< NSMutableArray * > *)  value

◆ removeOnSendControlFrames:

- (void) removeOnSendControlFrames: (FMLiveSwitchAction1< NSMutableArray * > *)  value

◆ requestedInboundBitrate

- (double) requestedInboundBitrate

◆ requestedOutboundBitrate

- (double) requestedOutboundBitrate

◆ resetInboundBandwidthEstimateWithInitialBandwidthEstimate:remoteSynchronizationSource:remoteRtpStreamId:

- (bool) resetInboundBandwidthEstimateWithInitialBandwidthEstimate: (double)  initialBandwidthEstimate
remoteSynchronizationSource: (long long *)  remoteSynchronizationSource
remoteRtpStreamId: (NSString **)  remoteRtpStreamId 

◆ resetInboundCurrentBitrateWithRemoteSynchronizationSource:

- (void) resetInboundCurrentBitrateWithRemoteSynchronizationSource: (long long)  remoteSynchronizationSource

◆ resetOutboundBandwidthEstimateWithInitialBandwidthEstimate:localSynchronizationSource:localRtpStreamId:

- (bool) resetOutboundBandwidthEstimateWithInitialBandwidthEstimate: (double)  initialBandwidthEstimate
localSynchronizationSource: (long long *)  localSynchronizationSource
localRtpStreamId: (NSString **)  localRtpStreamId 

◆ resetOutboundCurrentBitrateWithLocalSynchronizationSource:

- (void) resetOutboundCurrentBitrateWithLocalSynchronizationSource: (long long)  localSynchronizationSource

◆ roundTripTime

- (int) roundTripTime

◆ rtcpTransport

- (FMLiveSwitchTransport*) rtcpTransport

◆ rtpTransport

- (FMLiveSwitchTransport*) rtpTransport

◆ senders

- (NSMutableArray*) senders

◆ setDirection:

- (void) setDirection: (FMLiveSwitchStreamDirection)  value

◆ setDisableAutomaticReports:

- (void) setDisableAutomaticReports: (bool)  value

◆ setGetInboundRtcpTransportSystemTimestamp:

- (void) setGetInboundRtcpTransportSystemTimestamp: (FMLiveSwitchFunction0< id > *)  value

◆ setGetInboundRtcpTransportSystemTimestampBlock

- (void) setGetInboundRtcpTransportSystemTimestampBlock

◆ setGetInboundRtcpTransportSystemTimestampBlock:

- (void) setGetInboundRtcpTransportSystemTimestampBlock: (long long(^)(void))  valueBlock

◆ setGetInboundRtpTransportSystemTimestamp:

- (void) setGetInboundRtpTransportSystemTimestamp: (FMLiveSwitchFunction0< id > *)  value

◆ setGetInboundRtpTransportSystemTimestampBlock

- (void) setGetInboundRtpTransportSystemTimestampBlock

◆ setGetInboundRtpTransportSystemTimestampBlock:

- (void) setGetInboundRtpTransportSystemTimestampBlock: (long long(^)(void))  valueBlock

◆ setGetOutboundRtcpTransportSystemTimestamp:

- (void) setGetOutboundRtcpTransportSystemTimestamp: (FMLiveSwitchFunction0< id > *)  value

◆ setGetOutboundRtcpTransportSystemTimestampBlock

- (void) setGetOutboundRtcpTransportSystemTimestampBlock

◆ setGetOutboundRtcpTransportSystemTimestampBlock:

- (void) setGetOutboundRtcpTransportSystemTimestampBlock: (long long(^)(void))  valueBlock

◆ setIncludeMidSdes:

- (void) setIncludeMidSdes: (bool)  value

◆ setLegacyReceiver:

- (void) setLegacyReceiver: (bool)  value

◆ setListener:

- (void) setListener: (FMLiveSwitchRtpListener *)  value

◆ setMid:

- (void) setMid: (NSString *)  value

◆ setProtectionParametersWithLocalProtectionParameters:remoteProtectionParameters:

- (bool) setProtectionParametersWithLocalProtectionParameters: (FMLiveSwitchSrtpProtectionParameters *)  localProtectionParameters
remoteProtectionParameters: (FMLiveSwitchSrtpProtectionParameters *)  remoteProtectionParameters 

◆ setRembEnabled:

- (void) setRembEnabled: (bool)  value

◆ setTestReceivedRtpBuffer:

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

◆ setTestReceivedRtpBufferBlock

- (FMLiveSwitchDataBuffer*) setTestReceivedRtpBufferBlock

◆ setTestReceivedRtpBufferBlock:

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

◆ setTestRoundTripTime:

- (void) setTestRoundTripTime: (int)  value

◆ setTestSendingRtpBuffer:

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

◆ setTestSendingRtpBufferBlock

- (FMLiveSwitchDataBuffer*) setTestSendingRtpBufferBlock

◆ setTestSendingRtpBufferBlock:

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

◆ simulcastMode

- (FMLiveSwitchSimulcastMode) simulcastMode

◆ singleLocalSynchronizationSource

- (long long) singleLocalSynchronizationSource

◆ singleReceiver

- (FMLiveSwitchRtpReceiver<TFrame,TBuffer,TBufferCollection,TFormat,TFormatCollection>*) singleReceiver

◆ singleRemoteSynchronizationSource

- (long long) singleRemoteSynchronizationSource

◆ singleSender

- (FMLiveSwitchRtpSender<TFrame,TBuffer,TBufferCollection,TFormat,TFormatCollection>*) singleSender

◆ testReceivedRtpBuffer

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

◆ testRoundTripTime

- (int) testRoundTripTime

◆ testSendingRtpBuffer

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

◆ transportWithLockObject:streamType:simulcastMode:nackConfig:redFecConfig:jitterConfig:disableAutomaticReports:hexDump:rtpTransport:rtcpTransport:

+ (FMLiveSwitchRtpTransport*) transportWithLockObject: (id lockObject
streamType: (FMLiveSwitchStreamType)  streamType
simulcastMode: (FMLiveSwitchSimulcastMode)  simulcastMode
nackConfig: (FMLiveSwitchNackConfig *)  nackConfig
redFecConfig: (FMLiveSwitchRedFecConfig *)  redFecConfig
jitterConfig: (FMLiveSwitchJitterConfig *)  jitterConfig
disableAutomaticReports: (bool)  disableAutomaticReports
hexDump: (FMLiveSwitchHexDump *)  hexDump
rtpTransport: (FMLiveSwitchTransport *)  rtpTransport
rtcpTransport: (FMLiveSwitchTransport *)  rtcpTransport 

◆ type

- (FMLiveSwitchStreamType) type

Member Data Documentation

◆ __pad0__

- __pad0__
protected

◆ TBuffer

- TBuffer
protected

◆ TBufferCollection

- TBufferCollection
protected

◆ TFormat

- TFormat
protected