FMLiveSwitchMediaTransport Class Reference

Instance Methods

(NSMutableArray *) - addOnReceiveControlFrameResponsesWithBlock
 
(void) - addOnReceiveControlFrameResponsesWithBlock:
 
(void) - addOnReceiveControlFrames:
 
(NSMutableArray *) - addOnReceiveControlFramesWithBlock
 
(void) - addOnReceiveControlFramesWithBlock:
 
(void) - addOnReceiveFrame:
 
(TFrame) - addOnReceiveFrameWithBlock
 
(void) - addOnReceiveFrameWithBlock:
 
(void) - addOnStateChange:
 
(NSObject< FMLiveSwitchIMediaTransport > *) - addOnStateChangeWithBlock
 
(void) - addOnStateChangeWithBlock:
 
(NSString *) - connectionId
 
(int) - doSendControlFrameResponses:
 
(int) - doSendControlFrames:
 
(int) - doSendFrame:
 
(bool) - doStart
 
(bool) - doStop
 
(NSObject< FMLiveSwitchRtpIExtensionParameters > *) - extensionParameters
 
(NSObject< FMLiveSwitchRtpIFormatParameters > *) - formatParameters
 
(bool) - hasRemoteSynchronizationSource:
 
(NSString *) - id
 
(instancetype) - initWithLockObject:
 
(FMLiveSwitchStreamType) - mediaStreamType
 
(NSObject< FMLiveSwitchRtpIParameters > *) - parameters
 
(void) - raiseControlFrameResponses:
 
(void) - raiseStateChangeWithState:
 
(void) - receiveControlFrames:
 
(void) - receiveFrame:
 
(void) - removeOnReceiveControlFrameResponses:
 
(void) - removeOnReceiveControlFrames:
 
(void) - removeOnReceiveFrame:
 
(void) - removeOnStateChange:
 
(int) - sendControlFrameResponses:
 
(int) - sendControlFrames:
 
(int) - sendFrame:
 
(void) - setConnectionId:
 
(void) - setMediaStreamType:
 
(void) - setParameters:
 
(void) - setStreamId:
 
(bool) - start
 
(FMLiveSwitchMediaTransportState) - state
 
(bool) - stop
 
(NSString *) - streamId
 

Class Methods

(FMLiveSwitchMediaTransport *) + mediaTransportWithLockObject:
 
(int) + sendFrameErrorEncryptionFailed
 
(int) + sendFrameErrorFecFailure
 
(int) + sendFrameErrorMalformedRtpHeader
 
(int) + sendFrameErrorMissingRtpHeaders
 
(int) + sendFrameErrorNoBuffers
 
(int) + sendFrameErrorNoEncryptionContext
 
(int) + sendFrameErrorNoPacketizedBuffers
 
(int) + sendFrameErrorNoSynchronizationSource
 
(int) + sendFrameErrorNoTimestamp
 
(int) + sendFrameErrorNotStarted
 
(int) + sendFrameErrorRateLimited
 
(int) + sendFrameErrorUnknownPayloadType
 
(int) + sendFrameErrorUnknownSynchronizationSource
 
(int) + sendFrameSuccess
 

Protected Attributes

 __pad0__: NSObject<FMLiveSwitchIMediaTransport>- (void) addOnReceiveControlFrameResponses:(FMLiveSwitchAction1<NSMutableArray*>*)value
 

Method Documentation

◆ addOnReceiveControlFrameResponsesWithBlock

- (NSMutableArray*) addOnReceiveControlFrameResponsesWithBlock

◆ addOnReceiveControlFrameResponsesWithBlock:

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

◆ addOnReceiveControlFrames:

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

◆ addOnReceiveControlFramesWithBlock

- (NSMutableArray*) addOnReceiveControlFramesWithBlock

◆ addOnReceiveControlFramesWithBlock:

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

◆ addOnReceiveFrame:

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

◆ addOnReceiveFrameWithBlock

- (TFrame) addOnReceiveFrameWithBlock

◆ addOnReceiveFrameWithBlock:

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

◆ addOnStateChange:

- (void) addOnStateChange: (FMLiveSwitchAction1< NSObject< FMLiveSwitchIMediaTransport > * > *)  value

◆ addOnStateChangeWithBlock

- (NSObject<FMLiveSwitchIMediaTransport>*) addOnStateChangeWithBlock

◆ addOnStateChangeWithBlock:

- (void) addOnStateChangeWithBlock: (void(^)(NSObject< FMLiveSwitchIMediaTransport > *))  valueBlock

◆ connectionId

- (NSString*) connectionId

◆ doSendControlFrameResponses:

- (int) doSendControlFrameResponses: (NSMutableArray *)  controlFrameResponses

◆ doSendControlFrames:

- (int) doSendControlFrames: (NSMutableArray *)  controlFrames

◆ doSendFrame:

- (int) doSendFrame: (TFrame)  frame

◆ doStart

- (bool) doStart

◆ doStop

- (bool) doStop

◆ extensionParameters

- (NSObject<FMLiveSwitchRtpIExtensionParameters>*) extensionParameters

◆ formatParameters

◆ hasRemoteSynchronizationSource:

- (bool) hasRemoteSynchronizationSource: (long long)  synchronizationSource

◆ id

- (NSString*) id

◆ initWithLockObject:

- (instancetype) initWithLockObject: (id lockObject

◆ mediaStreamType

- (FMLiveSwitchStreamType) mediaStreamType

◆ mediaTransportWithLockObject:

+ (FMLiveSwitchMediaTransport*) mediaTransportWithLockObject: (id lockObject

◆ parameters

◆ raiseControlFrameResponses:

- (void) raiseControlFrameResponses: (NSMutableArray *)  controlFrameResponses

◆ raiseStateChangeWithState:

- (void) raiseStateChangeWithState: (FMLiveSwitchMediaTransportState)  state

◆ receiveControlFrames:

- (void) receiveControlFrames: (NSMutableArray *)  controlFrames

◆ receiveFrame:

- (void) receiveFrame: (TFrame)  frame

◆ removeOnReceiveControlFrameResponses:

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

◆ removeOnReceiveControlFrames:

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

◆ removeOnReceiveFrame:

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

◆ removeOnStateChange:

- (void) removeOnStateChange: (FMLiveSwitchAction1< NSObject< FMLiveSwitchIMediaTransport > * > *)  value

◆ sendControlFrameResponses:

- (int) sendControlFrameResponses: (NSMutableArray *)  controlFrameResponses

◆ sendControlFrames:

- (int) sendControlFrames: (NSMutableArray *)  controlFrames

◆ sendFrame:

- (int) sendFrame: (TFrame)  frame

◆ sendFrameErrorEncryptionFailed

+ (int) sendFrameErrorEncryptionFailed

◆ sendFrameErrorFecFailure

+ (int) sendFrameErrorFecFailure

◆ sendFrameErrorMalformedRtpHeader

+ (int) sendFrameErrorMalformedRtpHeader

◆ sendFrameErrorMissingRtpHeaders

+ (int) sendFrameErrorMissingRtpHeaders

◆ sendFrameErrorNoBuffers

+ (int) sendFrameErrorNoBuffers

◆ sendFrameErrorNoEncryptionContext

+ (int) sendFrameErrorNoEncryptionContext

◆ sendFrameErrorNoPacketizedBuffers

+ (int) sendFrameErrorNoPacketizedBuffers

◆ sendFrameErrorNoSynchronizationSource

+ (int) sendFrameErrorNoSynchronizationSource

◆ sendFrameErrorNoTimestamp

+ (int) sendFrameErrorNoTimestamp

◆ sendFrameErrorNotStarted

+ (int) sendFrameErrorNotStarted

◆ sendFrameErrorRateLimited

+ (int) sendFrameErrorRateLimited

◆ sendFrameErrorUnknownPayloadType

+ (int) sendFrameErrorUnknownPayloadType

◆ sendFrameErrorUnknownSynchronizationSource

+ (int) sendFrameErrorUnknownSynchronizationSource

◆ sendFrameSuccess

+ (int) sendFrameSuccess

◆ setConnectionId:

- (void) setConnectionId: (NSString *)  value

◆ setMediaStreamType:

- (void) setMediaStreamType: (FMLiveSwitchStreamType)  value

◆ setParameters:

- (void) setParameters: (FMLiveSwitchRtpParameters< TFormat, TFormatCollection > *)  parameters

◆ setStreamId:

- (void) setStreamId: (NSString *)  value

◆ start

- (bool) start

◆ state

- (FMLiveSwitchMediaTransportState) state

◆ stop

- (bool) stop

◆ streamId

- (NSString*) streamId

Member Data Documentation

◆ __pad0__

- __pad0__
protected