A message. More...
Instance Methods | |
(NSString *) | - apiServiceId |
Gets the API Service identifier. More... | |
(NSString *) | - apiVersion |
Gets the API Version. More... | |
(NSString *) | - applicationId |
Gets the application identifier. More... | |
(NSString *) | - channelId |
Gets the channel identifier. More... | |
(NSMutableArray *) | - channelReports |
Gets the channel reports. More... | |
(NSString *) | - clientId |
Gets the client identifier. More... | |
(NSString *) | - clientProtocol |
Gets the client protocol. More... | |
(NSMutableArray *) | - clientReports |
Gets the client reports. More... | |
(NSMutableArray *) | - clientRoles |
Gets the client roles. More... | |
(NSString *) | - clientTag |
Gets the client tag. More... | |
(FMLiveSwitchMessage *) | - clone |
Creates a copy of the Message. More... | |
(NSString *) | - connectionId |
Gets the connection identifier. More... | |
(FMLiveSwitchNullableInt *) | - connectionLayoutPriority |
Gets the connection LayoutPriority. More... | |
(NSString *) | - connectionLayoutZone |
Gets the connection LayoutZone. More... | |
(NSString *) | - connectionTag |
Gets the connection tag. More... | |
(NSString *) | - connectionType |
Gets the connection type. More... | |
(NSString *) | - connectorId |
Gets the Connector identifer. More... | |
(NSString *) | - deviceAlias |
Gets the device alias. More... | |
(NSString *) | - deviceId |
Gets the device identifier. More... | |
(NSString *) | - iceServers |
Gets the payload. More... | |
(bool) | - isErrorWithErrorType: |
Gets whether this message is an error of a particular type. More... | |
(bool) | - isHiddenObserver |
Gets if the offerer is a hidden observer. More... | |
(NSString *) | - mediaId |
Gets the broadcast identifier. More... | |
(NSString *) | - mediaServerId |
Gets the Media Server identifier. More... | |
(bool) | - noHostCandidates |
Gets the value indicating whether the client should avoid using local host ICE candidates. More... | |
(NSString *) | - payload |
Gets the payload. More... | |
(NSString *) | - preferredMediaServerId |
Gets the preferred Media Server identifier. More... | |
(NSString *) | - preferredWebSocketMediaServerId |
Gets the preferred WebSocket Media Server identifier. More... | |
(NSString *) | - recordingMonitorId |
Gets the Recording Monitor identifer. More... | |
(NSString *) | - recordingMoverId |
Gets the Recording Mover identifer. More... | |
(NSString *) | - recordingMuxerId |
Gets the Recording Muxer identifer. More... | |
(NSString *) | - region |
Gets the region. More... | |
(NSString *) | - remoteClientId |
Gets the remote client identifier. More... | |
(NSString *) | - remoteConnectionId |
Gets the remote connection identifier. More... | |
(NSString *) | - remoteDeviceId |
Gets the remote device identifier. More... | |
(NSString *) | - remoteMediaId |
Gets the remote broadcast identifier. More... | |
(NSString *) | - remoteUserId |
Gets the remote user identifier. More... | |
(bool) | - requestIceServers |
Gets the value indicating whether ICE Servers have been requested. More... | |
(void) | - setApiServiceId: |
Sets the API Service identifier. More... | |
(void) | - setApiVersion: |
Sets the API Version. More... | |
(void) | - setApplicationId: |
Sets the application identifier. More... | |
(void) | - setChannelId: |
Sets the channel identifier. More... | |
(void) | - setChannelReports: |
Sets the channel reports. More... | |
(void) | - setClientId: |
Sets the client identifier. More... | |
(void) | - setClientProtocol: |
Sets the client protocol. More... | |
(void) | - setClientReports: |
Sets the client reports. More... | |
(void) | - setClientRoles: |
Sets the client roles. More... | |
(void) | - setClientTag: |
Sets the client tag. More... | |
(void) | - setConnectionId: |
Sets the connection identifier. More... | |
(void) | - setConnectionLayoutPriority: |
Sets the connection LayoutPriority. More... | |
(void) | - setConnectionLayoutZone: |
Sets the connection LayoutZone. More... | |
(void) | - setConnectionTag: |
Sets the connection tag. More... | |
(void) | - setConnectionType: |
Sets the connection type. More... | |
(void) | - setConnectorId: |
Sets the Connector identifer. More... | |
(void) | - setDeviceAlias: |
Sets the device alias. More... | |
(void) | - setDeviceId: |
Sets the device identifier. More... | |
(void) | - setIceServers: |
Sets the payload. More... | |
(void) | - setIsHiddenObserver: |
Sets if the offerer is a hidden observer. More... | |
(void) | - setMediaId: |
Sets the broadcast identifier. More... | |
(void) | - setMediaServerId: |
Sets the Media Server identifier. More... | |
(void) | - setNoHostCandidates: |
Sets the value indicating whether the client should avoid using local host ICE candidates. More... | |
(void) | - setPayload: |
Sets the payload. More... | |
(void) | - setPreferredMediaServerId: |
Sets the preferred Media Server identifier. More... | |
(void) | - setPreferredWebSocketMediaServerId: |
Sets the preferred WebSocket Media Server identifier. More... | |
(void) | - setRecordingMonitorId: |
Sets the Recording Monitor identifer. More... | |
(void) | - setRecordingMoverId: |
Sets the Recording Mover identifer. More... | |
(void) | - setRecordingMuxerId: |
Sets the Recording Muxer identifer. More... | |
(void) | - setRegion: |
Sets the region. More... | |
(void) | - setRemoteClientId: |
Sets the remote client identifier. More... | |
(void) | - setRemoteConnectionId: |
Sets the remote connection identifier. More... | |
(void) | - setRemoteDeviceId: |
Sets the remote device identifier. More... | |
(void) | - setRemoteMediaId: |
Sets the remote broadcast identifier. More... | |
(void) | - setRemoteUserId: |
Sets the remote user identifier. More... | |
(void) | - setRequestIceServers: |
Sets the value indicating whether ICE Servers have been requested. More... | |
(void) | - setTimestamp: |
Sets the message timestamp. More... | |
(void) | - setToken: |
Sets the token. More... | |
(void) | - setTransactionId: |
Sets the transaction identifier. More... | |
(void) | - setType: |
Sets the type. More... | |
(void) | - setUserAlias: |
Sets the user alias. More... | |
(void) | - setUserId: |
Sets the user identifier. More... | |
(void) | - setWebSocketMediaServerId: |
Sets the Media Server identifier. More... | |
(long long) | - timestamp |
Gets the message timestamp. More... | |
(NSString *) | - toJson |
Serializes this instance to JSON. More... | |
(NSString *) | - token |
Gets the token. More... | |
(NSString *) | - transactionId |
Gets the transaction identifier. More... | |
(NSString *) | - type |
Gets the type. More... | |
(NSString *) | - userAlias |
Gets the user alias. More... | |
(NSString *) | - userId |
Gets the user identifier. More... | |
(NSString *) | - webSocketMediaServerId |
Gets the Media Server identifier. More... | |
Instance Methods inherited from FMLiveSwitchDynamic | |
(NSMutableDictionary< NSString *, id > *) | - dynamicProperties |
Gets all dynamic properties on this instance. More... | |
(id) | - getDynamicValueWithKey: |
Gets a property value from the local cache. More... | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchSerializable class. More... | |
(void) | - setDynamicValueWithKey:value: |
Sets a property value in the local cache. More... | |
(bool) | - unsetDynamicValueWithKey: |
Removes a property value from the local cache. More... | |
A message.
- (NSString*) apiServiceId |
Gets the API Service identifier.
- (NSString*) apiVersion |
Gets the API Version.
- (NSString*) applicationId |
Gets the application identifier.
- (NSString*) channelId |
Gets the channel identifier.
- (NSMutableArray*) channelReports |
Gets the channel reports.
- (NSString*) clientId |
Gets the client identifier.
- (NSString*) clientProtocol |
Gets the client protocol.
- (NSMutableArray*) clientReports |
Gets the client reports.
- (NSMutableArray*) clientRoles |
Gets the client roles.
- (NSString*) clientTag |
Gets the client tag.
- (FMLiveSwitchMessage*) clone |
Creates a copy of the Message.
- (NSString*) connectionId |
Gets the connection identifier.
- (FMLiveSwitchNullableInt*) connectionLayoutPriority |
Gets the connection LayoutPriority.
- (NSString*) connectionLayoutZone |
Gets the connection LayoutZone.
- (NSString*) connectionTag |
Gets the connection tag.
- (NSString*) connectionType |
Gets the connection type.
- (NSString*) connectorId |
Gets the Connector identifer.
+ (FMLiveSwitchMessage*) createBitrateNotificationMessageWithBitrateNotification: | (FMLiveSwitchBitrateNotification *) | bitrateNotification |
Creates a "bitrateNotification" message.
+ (FMLiveSwitchMessage*) createBitrateNotificationMessageWithBitrateNotifications: | (NSMutableArray *) | bitrateNotifications |
Creates a "bitrateNotification" message.
+ (FMLiveSwitchMessage*) createBitrateRequestMessageWithBitrateRequest: | (FMLiveSwitchBitrateRequest *) | bitrateRequest |
Creates a "bitrateRequest" message.
+ (FMLiveSwitchMessage*) createBitrateRequestMessageWithBitrateRequests: | (NSMutableArray *) | bitrateRequests |
Creates a "bitrateRequest" message.
+ (FMLiveSwitchMessage*) createCancelInviteMessageWithUserId: | (NSString *) | userId | |
protocol: | (NSString *) | protocol | |
Creates a "cancelInvite" message.
+ (FMLiveSwitchMessage*) createCandidateMessageWithCandidateJson: | (NSString *) | candidateJson |
Creates a "candidate" message.
candidateJson | The candidate. |
+ (FMLiveSwitchMessage*) createCloseMessage |
Creates a "close" message.
+ (FMLiveSwitchMessage*) createDtmfTonesMessageWithDtmfTones: | (NSMutableArray *) | dtmfTones |
Creates a "dtmfTones" message.
+ (FMLiveSwitchMessage*) createErrorMessageWithError: | (NSString *) | error |
Creates a "error" message.
error | The error type. |
+ (FMLiveSwitchMessage*) createErrorMessageWithError: | (NSString *) | error | |
remoteUserId: | (NSString *) | remoteUserId | |
remoteDeviceId: | (NSString *) | remoteDeviceId | |
remoteClientId: | (NSString *) | remoteClientId | |
Creates a "error" message.
error | The error type. |
remoteUserId | The remote user identifier. |
remoteDeviceId | The remote device identifier. |
remoteClientId | The remote client identifier. |
+ (FMLiveSwitchMessage*) createEventMessageWithEventInfoJson: | (NSString *) | eventInfoJson |
Creates an "event" message.
+ (FMLiveSwitchMessage*) createIceServersMessage |
Creates an "iceServers" message.
+ (FMLiveSwitchMessage*) createInviteMessageWithUserId: | (NSString *) | userId | |
protocol: | (NSString *) | protocol | |
Creates a "invite" message.
+ (FMLiveSwitchMessage*) createJoinMessageWithChannelId: | (NSString *) | channelId | |
token: | (NSString *) | token | |
Creates a "join" message.
channelId | The channel to join. |
token | The auth token. |
+ (FMLiveSwitchMessage*) createKeyFrameRequestMessageWithSynchronizationSources: | (NSMutableArray *) | synchronizationSources |
Creates a "keyFrameRequest" message.
+ (FMLiveSwitchMessage*) createKickMessageWithChannelId: | (NSString *) | channelId | |
clientId: | (NSString *) | clientId | |
Creates a "kick" message.
channelId | The channel identifier. |
clientId | The ID of the client to kick. |
+ (FMLiveSwitchMessage*) createKickMessageWithRemoteUserId: | (NSString *) | remoteUserId | |
remoteDeviceId: | (NSString *) | remoteDeviceId | |
remoteClientId: | (NSString *) | remoteClientId | |
remoteConnectionId: | (NSString *) | remoteConnectionId | |
Creates a "kick" message.
remoteUserId | The remote user identifier. |
remoteDeviceId | The remote device identifier. |
remoteClientId | The remote client identifier. |
remoteConnectionId | The remote connection identifier. |
+ (FMLiveSwitchMessage*) createLayoutMessageWithConfigJson: | (NSString *) | configJson | |
remoteUserId: | (NSString *) | remoteUserId | |
remoteDeviceId: | (NSString *) | remoteDeviceId | |
remoteClientId: | (NSString *) | remoteClientId | |
remoteConnectionId: | (NSString *) | remoteConnectionId | |
Creates a "layout" message.
configJson | The layout config to send to the server. |
remoteUserId | The remote user identifier. |
remoteDeviceId | The remote device identifier. |
remoteClientId | The remote client identifier. |
remoteConnectionId | The remote connection identifier. |
+ (FMLiveSwitchMessage*) createLeaveMessageWithChannelId: | (NSString *) | channelId | |
channelReport: | (FMLiveSwitchChannelReport *) | channelReport | |
Creates a "leave" message.
channelId | The channel to leave. |
channelReport | The channel report. |
+ (FMLiveSwitchMessage*) createMcuOfferMessageWithLayoutZone: | (NSString *) | layoutZone | |
layoutPriority: | (FMLiveSwitchNullableInt *) | layoutPriority | |
tag: | (NSString *) | tag | |
offerJson: | (NSString *) | offerJson | |
Creates an MCU "offer" message.
tag | The tag |
layoutZone | The connection LayoutZone |
layoutPriority | The connection LayoutPriority |
offerJson | The offer. |
+ (FMLiveSwitchMessage*) createMcuOfferMessageWithTag: | (NSString *) | tag | |
offerJson: | (NSString *) | offerJson | |
Creates an MCU "offer" message.
tag | The tag. |
offerJson | The offer. |
+ (FMLiveSwitchMessage*) createMessageMessage: | (NSString *) | message |
Creates a "message" message.
message | The message. |
+ (FMLiveSwitchMessage*) createMessageMessage: | (NSString *) | message | |
remoteUserId: | (NSString *) | remoteUserId | |
Creates a "message" message.
message | The message. |
remoteUserId | The remote user identifier. |
+ (FMLiveSwitchMessage*) createMessageMessage: | (NSString *) | message | |
remoteUserId: | (NSString *) | remoteUserId | |
remoteDeviceId: | (NSString *) | remoteDeviceId | |
Creates a "message" message.
message | The message. |
remoteUserId | The remote user identifier. |
remoteDeviceId | The remote device identifier. |
+ (FMLiveSwitchMessage*) createMessageMessage: | (NSString *) | message | |
remoteUserId: | (NSString *) | remoteUserId | |
remoteDeviceId: | (NSString *) | remoteDeviceId | |
remoteClientId: | (NSString *) | remoteClientId | |
Creates a "message" message.
message | The message. |
remoteUserId | The remote user identifier. |
remoteDeviceId | The remote device identifier. |
remoteClientId | The remote client identifier. |
+ (FMLiveSwitchMessage*) createPeerAnswerMessageWithTag: | (NSString *) | tag | |
answerJson: | (NSString *) | answerJson | |
remoteUserId: | (NSString *) | remoteUserId | |
remoteDeviceId: | (NSString *) | remoteDeviceId | |
remoteClientId: | (NSString *) | remoteClientId | |
Creates a peer "answer" message.
tag | The tag. |
answerJson | The answer. |
remoteUserId | The remote user identifier. |
remoteDeviceId | The remote device identifier. |
remoteClientId | The remote client identifier. |
+ (FMLiveSwitchMessage*) createPeerCandidateMessageWithCandidateJson: | (NSString *) | candidateJson | |
remoteUserId: | (NSString *) | remoteUserId | |
remoteDeviceId: | (NSString *) | remoteDeviceId | |
remoteClientId: | (NSString *) | remoteClientId | |
Creates a "candidate" message.
candidateJson | The candidate. |
remoteUserId | The remote user identifier. |
remoteDeviceId | The remote device identifier. |
remoteClientId | The remote client identifier. |
+ (FMLiveSwitchMessage*) createPeerCloseMessageWithRemoteUserId: | (NSString *) | remoteUserId | |
remoteDeviceId: | (NSString *) | remoteDeviceId | |
remoteClientId: | (NSString *) | remoteClientId | |
Creates a "close" message.
remoteUserId | The remote user identifier. |
remoteDeviceId | The remote device identifier. |
remoteClientId | The remote client identifier. |
+ (FMLiveSwitchMessage*) createPeerOfferMessageWithTag: | (NSString *) | tag | |
offerJson: | (NSString *) | offerJson | |
remoteUserId: | (NSString *) | remoteUserId | |
remoteDeviceId: | (NSString *) | remoteDeviceId | |
remoteClientId: | (NSString *) | remoteClientId | |
Creates a peer "offer" message.
tag | The tag. |
offerJson | The offer. |
remoteUserId | The remote user identifier. |
remoteDeviceId | The remote device identifier. |
remoteClientId | The remote client identifier. |
+ (FMLiveSwitchMessage*) createPeerRejectMessageWithRemoteUserId: | (NSString *) | remoteUserId | |
remoteDeviceId: | (NSString *) | remoteDeviceId | |
remoteClientId: | (NSString *) | remoteClientId | |
remoteConnectionId: | (NSString *) | remoteConnectionId | |
Creates a "reject" message.
remoteUserId | The remote user identifier. |
remoteDeviceId | The remote device identifier. |
remoteClientId | The remote client identifier. |
remoteConnectionId | The remote connection identifier. |
+ (FMLiveSwitchMessage*) createRegisterMessageWithApplicationId: | (NSString *) | applicationId | |
userId: | (NSString *) | userId | |
userAlias: | (NSString *) | userAlias | |
deviceId: | (NSString *) | deviceId | |
deviceAlias: | (NSString *) | deviceAlias | |
clientId: | (NSString *) | clientId | |
clientTag: | (NSString *) | clientTag | |
clientRoles: | (NSMutableArray *) | clientRoles | |
region: | (NSString *) | region | |
token: | (NSString *) | token | |
Creates a "register" message.
applicationId | The application identifier. |
userId | The user identifier. |
userAlias | The user alias. |
deviceId | The device identifier. |
deviceAlias | The device alias. |
clientId | The client identifier. |
clientTag | The client tag. |
clientRoles | The client roles. |
region | The region. |
token | The auth token. |
+ (FMLiveSwitchMessage*) createRtcpDataChannelSignallingActivationMessageWithSupportedMessageTypes: | (FMLiveSwitchRtcpDataChannelSignallingActivation *) | supportedMessageTypes |
Creates a "activateInbandSignalling" message.
+ (FMLiveSwitchMessage*) createSfuOfferMessageWithLayoutZone: | (NSString *) | layoutZone | |
layoutPriority: | (FMLiveSwitchNullableInt *) | layoutPriority | |
tag: | (NSString *) | tag | |
offerJson: | (NSString *) | offerJson | |
Creates an SFU upstream "offer" message.
tag | The tag |
layoutZone | The connection LayoutZone |
layoutPriority | The connection LayoutPriority |
offerJson | The offer. |
+ (FMLiveSwitchMessage*) createSfuOfferMessageWithTag: | (NSString *) | tag | |
offerJson: | (NSString *) | offerJson | |
Creates an SFU upstream "offer" message.
tag | The tag. |
offerJson | The offer. |
+ (FMLiveSwitchMessage*) createSfuOfferMessageWithTag: | (NSString *) | tag | |
offerJson: | (NSString *) | offerJson | |
remoteMediaId: | (NSString *) | remoteMediaId | |
Creates an SFU downstream "offer" message.
tag | The tag. |
offerJson | The offer. |
remoteMediaId | The remote media identifier. |
+ (FMLiveSwitchMessage*) createSfuOfferMessageWithTag: | (NSString *) | tag | |
offerJson: | (NSString *) | offerJson | |
remoteUserId: | (NSString *) | remoteUserId | |
remoteDeviceId: | (NSString *) | remoteDeviceId | |
remoteClientId: | (NSString *) | remoteClientId | |
remoteConnectionId: | (NSString *) | remoteConnectionId | |
Creates an SFU downstream "offer" message.
tag | The tag. |
offerJson | The offer. |
remoteUserId | The remote user identifier. |
remoteDeviceId | The remote device identifier. |
remoteClientId | The remote client identifier. |
remoteConnectionId | The remote connection identifier. |
+ (FMLiveSwitchMessage*) createSimulcastNotificationMessageWithSimulcastNotification: | (FMLiveSwitchSimulcastNotification *) | simulcastNotification |
Creates a "simulcastNotification" message.
+ (FMLiveSwitchMessage*) createSimulcastNotificationMessageWithSimulcastNotifications: | (NSMutableArray *) | simulcastNotifications |
Creates a "simulcastNotification" message.
+ (FMLiveSwitchMessage*) createUnregisterMessage |
Creates an "unregister" message.
+ (FMLiveSwitchMessage*) createUnregisterMessageWithClientReport: | (FMLiveSwitchClientReport *) | clientReport | |
channelReports: | (NSMutableArray *) | channelReports | |
Creates an "unregister" message.
clientReport | The client report. |
channelReports | The channel reports. |
+ (FMLiveSwitchMessage*) createUpdateMessageWithConfigJson: | (NSString *) | configJson |
Creates an "update" message.
configJson | The config to send to the server. |
+ (FMLiveSwitchMessage*) createUpdateMessageWithConfigJson: | (NSString *) | configJson | |
remoteUserId: | (NSString *) | remoteUserId | |
remoteDeviceId: | (NSString *) | remoteDeviceId | |
remoteClientId: | (NSString *) | remoteClientId | |
Creates an "update" message.
configJson | The config to send to the server. |
remoteUserId | The remote user identifier. |
remoteDeviceId | The remote device identifier. |
remoteClientId | The remote client identifier. |
+ (FMLiveSwitchMessage*) createUpdateMessageWithConfigJson: | (NSString *) | configJson | |
remoteUserId: | (NSString *) | remoteUserId | |
remoteDeviceId: | (NSString *) | remoteDeviceId | |
remoteClientId: | (NSString *) | remoteClientId | |
remoteConnectionId: | (NSString *) | remoteConnectionId | |
Creates an "update" message.
configJson | The config to send to the server. |
remoteUserId | The remote user identifier. |
remoteDeviceId | The remote device identifier. |
remoteClientId | The remote client identifier. |
remoteConnectionId | The remote connection identifier. |
- (NSString*) deviceAlias |
Gets the device alias.
- (NSString*) deviceId |
Gets the device identifier.
+ (NSMutableArray*) fromJsonArrayWithMessagesJson: | (NSString *) | messagesJson |
Deserializes an array of instances from JSON.
messagesJson | The JSON to deserialize. |
+ (FMLiveSwitchMessage*) fromJsonWithMessageJson: | (NSString *) | messageJson |
Deserializes an instance from JSON.
messageJson | The JSON to deserialize. |
- (NSString*) iceServers |
Gets the payload.
- (bool) isErrorWithErrorType: | (NSString *) | errorType |
Gets whether this message is an error of a particular type.
errorType | The error type. |
true
if this message is an error of the particular type; otherwise, false
. - (bool) isHiddenObserver |
Gets if the offerer is a hidden observer.
- (NSString*) mediaId |
Gets the broadcast identifier.
- (NSString*) mediaServerId |
Gets the Media Server identifier.
- (bool) noHostCandidates |
Gets the value indicating whether the client should avoid using local host ICE candidates.
Client can override this request.
- (NSString*) payload |
Gets the payload.
- (NSString*) preferredMediaServerId |
Gets the preferred Media Server identifier.
- (NSString*) preferredWebSocketMediaServerId |
Gets the preferred WebSocket Media Server identifier.
- (NSString*) recordingMonitorId |
Gets the Recording Monitor identifer.
- (NSString*) recordingMoverId |
Gets the Recording Mover identifer.
- (NSString*) recordingMuxerId |
Gets the Recording Muxer identifer.
- (NSString*) region |
Gets the region.
- (NSString*) remoteClientId |
Gets the remote client identifier.
- (NSString*) remoteConnectionId |
Gets the remote connection identifier.
- (NSString*) remoteDeviceId |
Gets the remote device identifier.
- (NSString*) remoteMediaId |
Gets the remote broadcast identifier.
- (NSString*) remoteUserId |
Gets the remote user identifier.
- (bool) requestIceServers |
Gets the value indicating whether ICE Servers have been requested.
- (void) setApiServiceId: | (NSString *) | value |
Sets the API Service identifier.
- (void) setApiVersion: | (NSString *) | value |
Sets the API Version.
- (void) setApplicationId: | (NSString *) | value |
Sets the application identifier.
- (void) setChannelId: | (NSString *) | value |
Sets the channel identifier.
- (void) setChannelReports: | (NSMutableArray *) | value |
Sets the channel reports.
- (void) setClientId: | (NSString *) | value |
Sets the client identifier.
- (void) setClientProtocol: | (NSString *) | value |
Sets the client protocol.
- (void) setClientReports: | (NSMutableArray *) | value |
Sets the client reports.
- (void) setClientRoles: | (NSMutableArray *) | value |
Sets the client roles.
- (void) setClientTag: | (NSString *) | value |
Sets the client tag.
- (void) setConnectionId: | (NSString *) | value |
Sets the connection identifier.
- (void) setConnectionLayoutPriority: | (FMLiveSwitchNullableInt *) | value |
Sets the connection LayoutPriority.
- (void) setConnectionLayoutZone: | (NSString *) | value |
Sets the connection LayoutZone.
- (void) setConnectionTag: | (NSString *) | value |
Sets the connection tag.
- (void) setConnectionType: | (NSString *) | value |
Sets the connection type.
- (void) setConnectorId: | (NSString *) | value |
Sets the Connector identifer.
- (void) setDeviceAlias: | (NSString *) | value |
Sets the device alias.
- (void) setDeviceId: | (NSString *) | value |
Sets the device identifier.
- (void) setIceServers: | (NSString *) | value |
Sets the payload.
- (void) setIsHiddenObserver: | (bool) | value |
Sets if the offerer is a hidden observer.
- (void) setMediaId: | (NSString *) | value |
Sets the broadcast identifier.
- (void) setMediaServerId: | (NSString *) | value |
Sets the Media Server identifier.
- (void) setNoHostCandidates: | (bool) | value |
Sets the value indicating whether the client should avoid using local host ICE candidates.
Client can override this request.
- (void) setPayload: | (NSString *) | value |
Sets the payload.
- (void) setPreferredMediaServerId: | (NSString *) | value |
Sets the preferred Media Server identifier.
- (void) setPreferredWebSocketMediaServerId: | (NSString *) | value |
Sets the preferred WebSocket Media Server identifier.
- (void) setRecordingMonitorId: | (NSString *) | value |
Sets the Recording Monitor identifer.
- (void) setRecordingMoverId: | (NSString *) | value |
Sets the Recording Mover identifer.
- (void) setRecordingMuxerId: | (NSString *) | value |
Sets the Recording Muxer identifer.
- (void) setRegion: | (NSString *) | value |
Sets the region.
- (void) setRemoteClientId: | (NSString *) | value |
Sets the remote client identifier.
- (void) setRemoteConnectionId: | (NSString *) | value |
Sets the remote connection identifier.
- (void) setRemoteDeviceId: | (NSString *) | value |
Sets the remote device identifier.
- (void) setRemoteMediaId: | (NSString *) | value |
Sets the remote broadcast identifier.
- (void) setRemoteUserId: | (NSString *) | value |
Sets the remote user identifier.
- (void) setRequestIceServers: | (bool) | value |
Sets the value indicating whether ICE Servers have been requested.
- (void) setTimestamp: | (long long) | value |
Sets the message timestamp.
- (void) setToken: | (NSString *) | value |
Sets the token.
- (void) setTransactionId: | (NSString *) | value |
Sets the transaction identifier.
- (void) setType: | (NSString *) | value |
Sets the type.
- (void) setUserAlias: | (NSString *) | value |
Sets the user alias.
- (void) setUserId: | (NSString *) | value |
Sets the user identifier.
- (void) setWebSocketMediaServerId: | (NSString *) | value |
Sets the Media Server identifier.
- (long long) timestamp |
Gets the message timestamp.
- (NSString*) toJson |
Serializes this instance to JSON.
+ (NSString*) toJsonArrayWithMessages: | (NSMutableArray *) | messages |
Serializes an array of instances to JSON.
messages | The messages to serialize. |
+ (NSString*) toJsonWithMessage: | (FMLiveSwitchMessage *) | message |
Serializes an instance to JSON.
message | The message to serialize. |
+ (NSString*) toJsonWithMessage: | (FMLiveSwitchMessage *) | message | |
forceTimestamp: | (bool) | forceTimestamp | |
Serializes an instance to JSON and forces timestamp regardless of what generates Json.
message | The message to serialize. |
forceTimestamp | Indicates whether timestamp must be included regardless of where serialization occurs. |
- (NSString*) token |
Gets the token.
- (NSString*) transactionId |
Gets the transaction identifier.
- (NSString*) type |
Gets the type.
- (NSString*) userAlias |
Gets the user alias.
- (NSString*) userId |
Gets the user identifier.
- (NSString*) webSocketMediaServerId |
Gets the Media Server identifier.