FMLiveSwitchRtpListener Class Reference

Instance Methods

(void) - addOnReceiveRtcp:
 
(FMLiveSwitchRtpInboundRtcp *) - addOnReceiveRtcpWithBlock
 
(void) - addOnReceiveRtcpWithBlock:
 
(void) - addOnReceiveRtp:
 
(FMLiveSwitchRtpInboundRtp *) - addOnReceiveRtpWithBlock
 
(void) - addOnReceiveRtpWithBlock:
 
(void) - addOnStateChange:
 
(FMLiveSwitchRtpListener *) - addOnStateChangeWithBlock
 
(void) - addOnStateChangeWithBlock:
 
(NSString *) - id
 
(instancetype) - initWithLockObject:audioTransport:
 
(instancetype) - initWithLockObject:videoTransport:
 
(NSObject< FMLiveSwitchIMediaTransport > *) - mediaTransport
 
(void) - removeOnReceiveRtcp:
 
(void) - removeOnReceiveRtp:
 
(void) - removeOnStateChange:
 
(bool) - startWithReceiveBufferSize:
 
(FMLiveSwitchMediaTransportState) - state
 
(bool) - stop
 
(FMLiveSwitchStreamType) - streamType
 

Class Methods

(FMLiveSwitchRtpListener *) + listenerWithLockObject:audioTransport:
 
(FMLiveSwitchRtpListener *) + listenerWithLockObject:videoTransport:
 

Method Documentation

◆ addOnReceiveRtcp:

- (void) addOnReceiveRtcp: (FMLiveSwitchAction1< FMLiveSwitchRtpInboundRtcp * > *)  value

◆ addOnReceiveRtcpWithBlock

- (FMLiveSwitchRtpInboundRtcp*) addOnReceiveRtcpWithBlock

◆ addOnReceiveRtcpWithBlock:

- (void) addOnReceiveRtcpWithBlock: (void(^)(FMLiveSwitchRtpInboundRtcp *))  valueBlock

◆ addOnReceiveRtp:

- (void) addOnReceiveRtp: (FMLiveSwitchAction1< FMLiveSwitchRtpInboundRtp * > *)  value

◆ addOnReceiveRtpWithBlock

- (FMLiveSwitchRtpInboundRtp*) addOnReceiveRtpWithBlock

◆ addOnReceiveRtpWithBlock:

- (void) addOnReceiveRtpWithBlock: (void(^)(FMLiveSwitchRtpInboundRtp *))  valueBlock

◆ addOnStateChange:

- (void) addOnStateChange: (FMLiveSwitchAction1< FMLiveSwitchRtpListener * > *)  value

◆ addOnStateChangeWithBlock

- (FMLiveSwitchRtpListener*) addOnStateChangeWithBlock

◆ addOnStateChangeWithBlock:

- (void) addOnStateChangeWithBlock: (void(^)(FMLiveSwitchRtpListener *))  valueBlock

◆ id

- (NSString*) id

◆ initWithLockObject:audioTransport:

- (instancetype) initWithLockObject: (id lockObject
audioTransport: (FMLiveSwitchRtpAudioTransport *)  audioTransport 

◆ initWithLockObject:videoTransport:

- (instancetype) initWithLockObject: (id lockObject
videoTransport: (FMLiveSwitchRtpVideoTransport *)  videoTransport 

◆ listenerWithLockObject:audioTransport:

+ (FMLiveSwitchRtpListener*) listenerWithLockObject: (id lockObject
audioTransport: (FMLiveSwitchRtpAudioTransport *)  audioTransport 

◆ listenerWithLockObject:videoTransport:

+ (FMLiveSwitchRtpListener*) listenerWithLockObject: (id lockObject
videoTransport: (FMLiveSwitchRtpVideoTransport *)  videoTransport 

◆ mediaTransport

- (NSObject<FMLiveSwitchIMediaTransport>*) mediaTransport

◆ removeOnReceiveRtcp:

- (void) removeOnReceiveRtcp: (FMLiveSwitchAction1< FMLiveSwitchRtpInboundRtcp * > *)  value

◆ removeOnReceiveRtp:

- (void) removeOnReceiveRtp: (FMLiveSwitchAction1< FMLiveSwitchRtpInboundRtp * > *)  value

◆ removeOnStateChange:

- (void) removeOnStateChange: (FMLiveSwitchAction1< FMLiveSwitchRtpListener * > *)  value

◆ startWithReceiveBufferSize:

- (bool) startWithReceiveBufferSize: (int)  receiveBufferSize

◆ state

- (FMLiveSwitchMediaTransportState) state

◆ stop

- (bool) stop

◆ streamType

- (FMLiveSwitchStreamType) streamType