FMLiveSwitchWssDemuxerBase Class Reference

Instance Methods

(void) - addOnConnectionStateUpdateWithConnectionId:action:
 
(void) - addOnConnectionStateUpdateWithConnectionId:actionBlock:
 
(FMLiveSwitchConnectionState) - addOnConnectionStateUpdateWithConnectionIdAndActionBlock
 
(void) - addOnKeyFrameRequestReceivedWithStreamId:action:
 
(void) - addOnMediaChangeRequestWithStreamId:action:
 
(void) - addOnMediaChangeRequestWithStreamId:actionBlock:
 
(FMLiveSwitchWssChangeMediaParametersRequest *) - addOnMediaChangeRequestWithStreamIdAndActionBlock
 
(void) - addOnMediaChangeResponseWithStreamId:action:
 
(void) - addOnMediaChangeResponseWithStreamId:actionBlock:
 
(FMLiveSwitchWssChangeMediaParametersResponse *) - addOnMediaChangeResponseWithStreamIdAndActionBlock
 
(void) - addOnSignallingMessageWithConnectionId:action:
 
(void) - addOnSignallingMessageWithConnectionId:actionBlock:
 
(FMLiveSwitchMessage *) - addOnSignallingMessageWithConnectionIdAndActionBlock
 
(long long) - bytesReceivedWithStreamId:
 
(void) - close
 
(instancetype) - initWithRelayPort:depacketizer:
 
(long long) - messagesReceivedWithStreamId:
 
(void) - onReceivedWithReceiveArgs:
 
(void) - raiseConnectionStateUpdateWithConnectionId:state:
 
(void) - raiseEncodedFrameReceivedWithStreamId:frame:
 
(void) - raiseKeyFrameRequestReceivedWithStreamId:
 
(void) - raiseMediaChangeRequestWithStreamId:request:
 
(void) - raiseMediaChangeResponseWithStreamId:response:
 
(void) - raiseSignallingMessage:
 
(void) - removeOnConnectionStateUpdateWithConnectionId:action:
 
(void) - removeOnConnectionStateUpdateWithConnectionId:actionBlock:
 
(FMLiveSwitchConnectionState) - removeOnConnectionStateUpdateWithConnectionIdAndActionBlock
 
(void) - removeOnKeyFrameRequestReceivedWithStreamId:action:
 
(void) - removeOnMediaChangeRequestWithStreamId:action:
 
(void) - removeOnMediaChangeRequestWithStreamId:actionBlock:
 
(FMLiveSwitchWssChangeMediaParametersRequest *) - removeOnMediaChangeRequestWithStreamIdAndActionBlock
 
(void) - removeOnMediaChangeResponseWithStreamId:action:
 
(void) - removeOnMediaChangeResponseWithStreamId:actionBlock:
 
(FMLiveSwitchWssChangeMediaParametersResponse *) - removeOnMediaChangeResponseWithStreamIdAndActionBlock
 
(void) - removeOnSignallingMessageWithConnectionId:action:
 
(void) - removeOnSignallingMessageWithConnectionId:actionBlock:
 
(FMLiveSwitchMessage *) - removeOnSignallingMessageWithConnectionIdAndActionBlock
 
(void) - subscribeWithRelayPort:
 
(void) - trackStatsWithStreamId:receiveArgs:
 
(void) - unsubscribeWithRelayPort:
 

Class Methods

(FMLiveSwitchWssDemuxerBase *) + wssDemuxerBaseWithRelayPort:depacketizer:
 

Method Documentation

◆ addOnConnectionStateUpdateWithConnectionId:action:

- (void) addOnConnectionStateUpdateWithConnectionId: (NSString *)  connectionId
action: (FMLiveSwitchAction1< id > *)  action 

◆ addOnConnectionStateUpdateWithConnectionId:actionBlock:

- (void) addOnConnectionStateUpdateWithConnectionId: (NSString *)  connectionId
actionBlock: (void(^)(FMLiveSwitchConnectionState))  actionBlock 

◆ addOnConnectionStateUpdateWithConnectionIdAndActionBlock

- (FMLiveSwitchConnectionState) addOnConnectionStateUpdateWithConnectionIdAndActionBlock

◆ addOnKeyFrameRequestReceivedWithStreamId:action:

- (void) addOnKeyFrameRequestReceivedWithStreamId: (NSString *)  streamId
action: (FMLiveSwitchAction0 *)  action 

◆ addOnMediaChangeRequestWithStreamId:action:

- (void) addOnMediaChangeRequestWithStreamId: (NSString *)  streamId
action: (FMLiveSwitchAction1< FMLiveSwitchWssChangeMediaParametersRequest * > *)  action 

◆ addOnMediaChangeRequestWithStreamId:actionBlock:

- (void) addOnMediaChangeRequestWithStreamId: (NSString *)  streamId
actionBlock: (void(^)(FMLiveSwitchWssChangeMediaParametersRequest *))  actionBlock 

◆ addOnMediaChangeRequestWithStreamIdAndActionBlock

- (FMLiveSwitchWssChangeMediaParametersRequest*) addOnMediaChangeRequestWithStreamIdAndActionBlock

◆ addOnMediaChangeResponseWithStreamId:action:

- (void) addOnMediaChangeResponseWithStreamId: (NSString *)  streamId
action: (FMLiveSwitchAction1< FMLiveSwitchWssChangeMediaParametersResponse * > *)  action 

◆ addOnMediaChangeResponseWithStreamId:actionBlock:

- (void) addOnMediaChangeResponseWithStreamId: (NSString *)  streamId
actionBlock: (void(^)(FMLiveSwitchWssChangeMediaParametersResponse *))  actionBlock 

◆ addOnMediaChangeResponseWithStreamIdAndActionBlock

- (FMLiveSwitchWssChangeMediaParametersResponse*) addOnMediaChangeResponseWithStreamIdAndActionBlock

◆ addOnSignallingMessageWithConnectionId:action:

- (void) addOnSignallingMessageWithConnectionId: (NSString *)  connectionId
action: (FMLiveSwitchAction1< FMLiveSwitchMessage * > *)  action 

◆ addOnSignallingMessageWithConnectionId:actionBlock:

- (void) addOnSignallingMessageWithConnectionId: (NSString *)  connectionId
actionBlock: (void(^)(FMLiveSwitchMessage *))  actionBlock 

◆ addOnSignallingMessageWithConnectionIdAndActionBlock

- (FMLiveSwitchMessage*) addOnSignallingMessageWithConnectionIdAndActionBlock

◆ bytesReceivedWithStreamId:

- (long long) bytesReceivedWithStreamId: (int)  streamId

◆ close

- (void) close

Implemented in FMLiveSwitchWssDemuxer.

◆ initWithRelayPort:depacketizer:

- (instancetype) initWithRelayPort: (FMLiveSwitchRelayPort *)  relayPort
depacketizer: (FMLiveSwitchWssDepacketizer *)  depacketizer 

Implemented in FMLiveSwitchWssDemuxer.

◆ messagesReceivedWithStreamId:

- (long long) messagesReceivedWithStreamId: (int)  streamId

◆ onReceivedWithReceiveArgs:

- (void) onReceivedWithReceiveArgs: (FMLiveSwitchWebSocketReceiveArgs *)  receiveArgs

◆ raiseConnectionStateUpdateWithConnectionId:state:

- (void) raiseConnectionStateUpdateWithConnectionId: (NSString *)  connectionId
state: (FMLiveSwitchConnectionState)  state 

◆ raiseEncodedFrameReceivedWithStreamId:frame:

- (void) raiseEncodedFrameReceivedWithStreamId: (NSString *)  streamId
frame: (FMLiveSwitchWssMediaPacket *)  frame 

Implemented in FMLiveSwitchWssDemuxer.

◆ raiseKeyFrameRequestReceivedWithStreamId:

- (void) raiseKeyFrameRequestReceivedWithStreamId: (NSString *)  streamId

◆ raiseMediaChangeRequestWithStreamId:request:

- (void) raiseMediaChangeRequestWithStreamId: (NSString *)  streamId
request: (FMLiveSwitchWssChangeMediaParametersRequest *)  request 

◆ raiseMediaChangeResponseWithStreamId:response:

- (void) raiseMediaChangeResponseWithStreamId: (NSString *)  streamId
response: (FMLiveSwitchWssChangeMediaParametersResponse *)  response 

◆ raiseSignallingMessage:

- (void) raiseSignallingMessage: (FMLiveSwitchMessage *)  message

◆ removeOnConnectionStateUpdateWithConnectionId:action:

- (void) removeOnConnectionStateUpdateWithConnectionId: (NSString *)  connectionId
action: (FMLiveSwitchAction1< id > *)  action 

◆ removeOnConnectionStateUpdateWithConnectionId:actionBlock:

- (void) removeOnConnectionStateUpdateWithConnectionId: (NSString *)  connectionId
actionBlock: (void(^)(FMLiveSwitchConnectionState))  actionBlock 

◆ removeOnConnectionStateUpdateWithConnectionIdAndActionBlock

- (FMLiveSwitchConnectionState) removeOnConnectionStateUpdateWithConnectionIdAndActionBlock

◆ removeOnKeyFrameRequestReceivedWithStreamId:action:

- (void) removeOnKeyFrameRequestReceivedWithStreamId: (NSString *)  streamId
action: (FMLiveSwitchAction0 *)  action 

◆ removeOnMediaChangeRequestWithStreamId:action:

- (void) removeOnMediaChangeRequestWithStreamId: (NSString *)  streamId
action: (FMLiveSwitchAction1< FMLiveSwitchWssChangeMediaParametersRequest * > *)  action 

◆ removeOnMediaChangeRequestWithStreamId:actionBlock:

- (void) removeOnMediaChangeRequestWithStreamId: (NSString *)  streamId
actionBlock: (void(^)(FMLiveSwitchWssChangeMediaParametersRequest *))  actionBlock 

◆ removeOnMediaChangeRequestWithStreamIdAndActionBlock

- (FMLiveSwitchWssChangeMediaParametersRequest*) removeOnMediaChangeRequestWithStreamIdAndActionBlock

◆ removeOnMediaChangeResponseWithStreamId:action:

- (void) removeOnMediaChangeResponseWithStreamId: (NSString *)  streamId
action: (FMLiveSwitchAction1< FMLiveSwitchWssChangeMediaParametersResponse * > *)  action 

◆ removeOnMediaChangeResponseWithStreamId:actionBlock:

- (void) removeOnMediaChangeResponseWithStreamId: (NSString *)  streamId
actionBlock: (void(^)(FMLiveSwitchWssChangeMediaParametersResponse *))  actionBlock 

◆ removeOnMediaChangeResponseWithStreamIdAndActionBlock

- (FMLiveSwitchWssChangeMediaParametersResponse*) removeOnMediaChangeResponseWithStreamIdAndActionBlock

◆ removeOnSignallingMessageWithConnectionId:action:

- (void) removeOnSignallingMessageWithConnectionId: (NSString *)  connectionId
action: (FMLiveSwitchAction1< FMLiveSwitchMessage * > *)  action 

◆ removeOnSignallingMessageWithConnectionId:actionBlock:

- (void) removeOnSignallingMessageWithConnectionId: (NSString *)  connectionId
actionBlock: (void(^)(FMLiveSwitchMessage *))  actionBlock 

◆ removeOnSignallingMessageWithConnectionIdAndActionBlock

- (FMLiveSwitchMessage*) removeOnSignallingMessageWithConnectionIdAndActionBlock

◆ subscribeWithRelayPort:

- (void) subscribeWithRelayPort: (FMLiveSwitchRelayPort *)  relayPort

Implemented in FMLiveSwitchWssDemuxer.

◆ trackStatsWithStreamId:receiveArgs:

- (void) trackStatsWithStreamId: (int)  streamId
receiveArgs: (FMLiveSwitchWebSocketReceiveArgs *)  receiveArgs 

◆ unsubscribeWithRelayPort:

- (void) unsubscribeWithRelayPort: (FMLiveSwitchRelayPort *)  relayPort

Implemented in FMLiveSwitchWssDemuxer.

◆ wssDemuxerBaseWithRelayPort:depacketizer:

+ (FMLiveSwitchWssDemuxerBase*) wssDemuxerBaseWithRelayPort: (FMLiveSwitchRelayPort *)  relayPort
depacketizer: (FMLiveSwitchWssDepacketizer *)  depacketizer