A managed connection. More...
Instance Methods | |
(void) | - addOnAudioUnmuteDisabled: |
Adds a handler that is raised when the ability to unmute audio is disabled. More... | |
(void) | - addOnAudioUnmuteEnabled: |
Adds a handler that is raised when the ability to unmute audio is enabled. More... | |
(void) | - addOnAutomaticIceServers: |
Adds a handler that is raised when automatic ICE servers have been received. More... | |
(FMLiveSwitchManagedConnection *, FMLiveSwitchIceServerCollection *) | - addOnAutomaticIceServersWithBlock |
Adds a handler that is raised when automatic ICE servers have been received. More... | |
(void) | - addOnAutomaticIceServersWithBlock: |
Adds a handler that is raised when automatic ICE servers have been received. More... | |
(void) | - addOnGatheringStateChange: |
Adds a handler that is raised when the ICE gathering state changes. More... | |
(FMLiveSwitchManagedConnection *) | - addOnGatheringStateChangeWithBlock |
Adds a handler that is raised when the ICE gathering state changes. More... | |
(void) | - addOnGatheringStateChangeWithBlock: |
Adds a handler that is raised when the ICE gathering state changes. More... | |
(void) | - addOnIceConnectionStateChange: |
Adds a handler that is raised when the ICE connection state changes. More... | |
(FMLiveSwitchManagedConnection *) | - addOnIceConnectionStateChangeWithBlock |
Adds a handler that is raised when the ICE connection state changes. More... | |
(void) | - addOnIceConnectionStateChangeWithBlock: |
Adds a handler that is raised when the ICE connection state changes. More... | |
(void) | - addOnLocalCandidate: |
Adds a handler that is raised when a local candidate is ready. More... | |
(FMLiveSwitchManagedConnection *, FMLiveSwitchCandidate *) | - addOnLocalCandidateWithBlock |
Adds a handler that is raised when a local candidate is ready. More... | |
(void) | - addOnLocalCandidateWithBlock: |
Adds a handler that is raised when a local candidate is ready. More... | |
(void) | - addOnLocalDescription: |
Adds a handler that is raised when the local description is ready. More... | |
(FMLiveSwitchManagedConnection *, FMLiveSwitchSessionDescription *) | - addOnLocalDescriptionWithBlock |
Adds a handler that is raised when the local description is ready. More... | |
(void) | - addOnLocalDescriptionWithBlock: |
Adds a handler that is raised when the local description is ready. More... | |
(void) | - addOnMediaQuality: |
Adds a handler that is raised every statsEventInterval milliseconds with the current estimated media quality. More... | |
(double) | - addOnMediaQualityWithBlock |
Adds a handler that is raised every statsEventInterval milliseconds with the current estimated media quality. More... | |
(void) | - addOnMediaQualityWithBlock: |
Adds a handler that is raised every statsEventInterval milliseconds with the current estimated media quality. More... | |
(void) | - addOnNetworkQuality: |
Adds a handler that is raised every statsEventInterval milliseconds with the current estimated network quality. More... | |
(double) | - addOnNetworkQualityWithBlock |
Adds a handler that is raised every statsEventInterval milliseconds with the current estimated network quality. More... | |
(void) | - addOnNetworkQualityWithBlock: |
Adds a handler that is raised every statsEventInterval milliseconds with the current estimated network quality. More... | |
(void) | - addOnNoMediaServersAvailable: |
Adds a handler that is raised when there are no Media Servers available. More... | |
(FMLiveSwitchManagedConnection *, FMLiveSwitchNoMediaServersAvailableEventArgs *) | - addOnNoMediaServersAvailableWithBlock |
Adds a handler that is raised when there are no Media Servers available. More... | |
(void) | - addOnNoMediaServersAvailableWithBlock: |
Adds a handler that is raised when there are no Media Servers available. More... | |
(void) | - addOnNoWebSocketMediaServersAvailable: |
Adds a handler that is raised when there are no WebSocket Media Servers available. More... | |
(FMLiveSwitchManagedConnection *, FMLiveSwitchNoWebSocketMediaServersAvailableEventArgs *) | - addOnNoWebSocketMediaServersAvailableWithBlock |
Adds a handler that is raised when there are no WebSocket Media Servers available. More... | |
(void) | - addOnNoWebSocketMediaServersAvailableWithBlock: |
Adds a handler that is raised when there are no WebSocket Media Servers available. More... | |
(void) | - addOnRecordingDisabled: |
Adds a handler that is raised when this connection is no longer being recorded. More... | |
(NSString *) | - addOnRecordingDisabledWithBlock |
Adds a handler that is raised when this connection is no longer being recorded. More... | |
(void) | - addOnRecordingDisabledWithBlock: |
Adds a handler that is raised when this connection is no longer being recorded. More... | |
(void) | - addOnRecordingEnabled: |
Adds a handler that is raised when this connection is being recorded. More... | |
(NSString *) | - addOnRecordingEnabledWithBlock |
Adds a handler that is raised when this connection is being recorded. More... | |
(void) | - addOnRecordingEnabledWithBlock: |
Adds a handler that is raised when this connection is being recorded. More... | |
(void) | - addOnRemoteAudioEncodingSwitch: |
Adds a handler that is raised when the remote audio encoding is switched by the server. More... | |
(FMLiveSwitchEncodingInfo *, FMLiveSwitchEncodingInfo *) | - addOnRemoteAudioEncodingSwitchWithBlock |
Adds a handler that is raised when the remote audio encoding is switched by the server. More... | |
(void) | - addOnRemoteAudioEncodingSwitchWithBlock: |
Adds a handler that is raised when the remote audio encoding is switched by the server. More... | |
(void) | - addOnRemoteCandidate: |
Adds a handler that is raised when a remote candidate is ready. More... | |
(FMLiveSwitchManagedConnection *, FMLiveSwitchCandidate *) | - addOnRemoteCandidateWithBlock |
Adds a handler that is raised when a remote candidate is ready. More... | |
(void) | - addOnRemoteCandidateWithBlock: |
Adds a handler that is raised when a remote candidate is ready. More... | |
(void) | - addOnRemoteDescription: |
Adds a handler that is raised when the remote description is ready. More... | |
(FMLiveSwitchManagedConnection *, FMLiveSwitchSessionDescription *) | - addOnRemoteDescriptionWithBlock |
Adds a handler that is raised when the remote description is ready. More... | |
(void) | - addOnRemoteDescriptionWithBlock: |
Adds a handler that is raised when the remote description is ready. More... | |
(void) | - addOnRemoteUpdate: |
Adds a handler that is raised when a remote connection has been updated. More... | |
(FMLiveSwitchConnectionInfo *, FMLiveSwitchConnectionInfo *) | - addOnRemoteUpdateWithBlock |
Adds a handler that is raised when a remote connection has been updated. More... | |
(void) | - addOnRemoteUpdateWithBlock: |
Adds a handler that is raised when a remote connection has been updated. More... | |
(void) | - addOnRemoteVideoEncodingSwitch: |
Adds a handler that is raised when the remote video encoding is switched by the server. More... | |
(FMLiveSwitchEncodingInfo *, FMLiveSwitchEncodingInfo *) | - addOnRemoteVideoEncodingSwitchWithBlock |
Adds a handler that is raised when the remote video encoding is switched by the server. More... | |
(void) | - addOnRemoteVideoEncodingSwitchWithBlock: |
Adds a handler that is raised when the remote video encoding is switched by the server. More... | |
(void) | - addOnSignallingStateChange: |
Adds a handler that is raised when the signalling state changes. More... | |
(FMLiveSwitchManagedConnection *) | - addOnSignallingStateChangeWithBlock |
Adds a handler that is raised when the signalling state changes. More... | |
(void) | - addOnSignallingStateChangeWithBlock: |
Adds a handler that is raised when the signalling state changes. More... | |
(void) | - addOnStateChange: |
Adds a handler that is raised when the connection state changes. More... | |
(FMLiveSwitchManagedConnection *) | - addOnStateChangeWithBlock |
Adds a handler that is raised when the connection state changes. More... | |
(void) | - addOnStateChangeWithBlock: |
Adds a handler that is raised when the connection state changes. More... | |
(void) | - addOnStats: |
Adds a handler that is raised every statsEventInterval milliseconds with the current connection stats. More... | |
(FMLiveSwitchConnectionStats *) | - addOnStatsWithBlock |
Adds a handler that is raised every statsEventInterval milliseconds with the current connection stats. More... | |
(void) | - addOnStatsWithBlock: |
Adds a handler that is raised every statsEventInterval milliseconds with the current connection stats. More... | |
(void) | - addOnVideoEnabledChange: |
Adds a handler that is raised when a connection has it's video state changed from disabled or enabled. More... | |
(FMLiveSwitchManagedConnection *, bool) | - addOnVideoEnabledChangeWithBlock |
Adds a handler that is raised when a connection has it's video state changed from disabled or enabled. More... | |
(void) | - addOnVideoEnabledChangeWithBlock: |
Adds a handler that is raised when a connection has it's video state changed from disabled or enabled. More... | |
(void) | - addOnVideoUnmuteDisabled: |
Adds a handler that is raised when the ability to unmute video is disabled. More... | |
(void) | - addOnVideoUnmuteEnabled: |
Adds a handler that is raised when the ability to unmute video is enabled. More... | |
(NSString *) | - applicationId |
Gets the application identifier. More... | |
(NSString *) | - audioDirection |
Gets the audio direction. More... | |
(FMLiveSwitchAudioStream *) | - audioStream |
Gets the audio stream. More... | |
(bool) | - audioUnmuteDisabled |
Gets whether the ability to unmute audio is disabled. More... | |
(FMLiveSwitchBundlePolicy) | - bundlePolicy |
Gets the Bundle Policy. More... | |
(NSString *) | - canonicalName |
Gets the connection's canonical name. More... | |
(NSString *) | - channelId |
Gets the channel identifier. More... | |
(NSString *) | - clientId |
Gets the client identifier. More... | |
(FMLiveSwitchFuture< id > *) | - close |
Closes the connection. More... | |
(FMLiveSwitchConnectionConfig *) | - config |
Gets the current configuration. More... | |
(FMLiveSwitchFunction1< FMLiveSwitchDatagramSocketCreateArgs *, FMLiveSwitchDatagramSocket * > *) | - createDatagramSocket |
Gets a method that creates Datagram sockets. More... | |
(FMLiveSwitchFunction1< FMLiveSwitchStreamSocketCreateArgs *, FMLiveSwitchStreamSocket * > *) | - createStreamSocket |
Gets a method that creates Stream sockets. More... | |
(NSString *) | - dataDirection |
Gets the data direction. More... | |
(FMLiveSwitchDataStream *) | - dataStream |
Gets the data stream. More... | |
(int) | - deadStreamTimeout |
Gets the amount of time (in milliseconds) to wait before declaring the connection dead. More... | |
(void) | - detachInternalEventHandlers |
Detaches internal event handlers. More... | |
(NSString *) | - deviceId |
Gets the device identifier. More... | |
(bool) | - disableAutomaticIceServers |
Gets whether to disable automatic ICE servers (embedded TURN). More... | |
(FMLiveSwitchMessage *) | - doCreateCandidateMessageWithCandidate: |
Creates a candidate message. More... | |
(FMLiveSwitchMessage *) | - doCreateCloseMessage |
Creates a close message. More... | |
(FMLiveSwitchMessage *) | - doCreateUpdateMessageWithConfig: |
Creates an update message. More... | |
(FMLiveSwitchMessage *) | - doCreateUseWebSocketServiceMessage |
Create the message to use WebSockets for media. More... | |
(void) | - doOpen |
Opens the connection. More... | |
(void) | - doProcessMessage: |
Processes a message. More... | |
(NSMutableArray *) | - dtlsCipherSuites |
Gets the DTLS cipher suites to use. More... | |
(FMLiveSwitchDtlsProtocolVersion) | - dtlsClientVersion |
Gets the protocol version to use when in the DTLS client role. More... | |
(FMLiveSwitchDtlsProtocolVersion) | - dtlsServerMaxVersion |
Gets the maximum protocol version to allow when in the DTLS server role. More... | |
(FMLiveSwitchDtlsProtocolVersion) | - dtlsServerMinVersion |
Gets the minimum protocol version to allow when in the DTLS server role. More... | |
(FMLiveSwitchError *) | - error |
Gets the error, if an error exists. More... | |
(NSString *) | - externalId |
Gets the external connection identifier. More... | |
(FMLiveSwitchIceGatheringState) | - gatheringState |
Gets the state of the ice gathering. More... | |
(FMLiveSwitchFuture< FMLiveSwitchConnectionStats * > *) | - getStats |
Gets the current connection stats. More... | |
(bool) | - hasAudio |
Gets whether this connection has an audio stream. More... | |
(bool) | - hasData |
Gets whether this connection has a data stream. More... | |
(bool) | - hasVideo |
Gets whether this connection has a video stream. More... | |
(NSMutableArray *) | - iceAddressTypes |
Gets the ICE address types. More... | |
(FMLiveSwitchIceConnectionState) | - iceConnectionState |
Gets the state of the ice connection. More... | |
(FMLiveSwitchIceGatherPolicy) | - iceGatherPolicy |
Gets the ICE gather policy. More... | |
(FMLiveSwitchIcePolicy) | - icePolicy |
Gets policy indicating whether ICE is required (and enabled) or disabled (and not required for this connection). More... | |
(FMLiveSwitchIcePortRange *) | - icePortRange |
Gets the ICE port range. More... | |
(FMLiveSwitchIceRole) | - iceRole |
Gets the ICE role. More... | |
(FMLiveSwitchIceServer *) | - iceServer |
Gets the ICE server. More... | |
(NSMutableArray *) | - iceServers |
Gets the ICE servers. More... | |
(NSString *) | - id |
Gets the connection identifier. More... | |
(FMLiveSwitchConnectionInfo *) | - info |
Gets the connection info. More... | |
(FMLiveSwitchDataChannel *) | - internalRtcpDataChannel |
Gets Data Channel for inband signalling. More... | |
(bool) | - isMediaDirectionAllowedWithDirection: |
Gets a value indicating whether the given direction is allowed for this connection. More... | |
(int) | - keepAliveInterval |
Gets a value indicating how many milliseconds must elapse between STUN keep-alive binding requests. More... | |
(FMLiveSwitchNullableInt *) | - layoutPriority |
Gets the LayoutPriority. More... | |
(NSString *) | - layoutZone |
Gets the LayoutZone. More... | |
(NSString *) | - localAudioDirection |
Gets the local audio direction. More... | |
(bool) | - localAudioDisabled |
Gets if local audio is disabled. More... | |
(NSMutableArray *) | - localAudioFormats |
Gets the local audio formats. More... | |
(bool) | - localAudioMuted |
Gets whether the local audio is muted. More... | |
(NSString *) | - localDataDirection |
Gets the local data direction. More... | |
(bool) | - localDataDisabled |
Gets if local data is disabled. More... | |
(FMLiveSwitchSessionDescription *) | - localDescription |
Gets the local description. More... | |
(FMLiveSwitchDtlsCertificate *) | - localDtlsCertificate |
Gets the local DTLS certificate. More... | |
(NSMutableArray *) | - localDtlsCertificates |
Gets the local DTLS certificates. More... | |
(NSString *) | - localVideoDirection |
Gets the local video direction. More... | |
(bool) | - localVideoDisabled |
Gets if local video is disabled. More... | |
(NSMutableArray *) | - localVideoFormats |
Gets the local video formats. More... | |
(bool) | - localVideoMuted |
Gets whether the local video is muted. More... | |
(int) | - maxNoMediaServerRetryBackoff |
Gets the maximum retry backoff timeout, in milliseconds, before we retry a request after receiving no Media Servers are available for either ICE servers or SFU/MCU offer processing. More... | |
(NSString *) | - mediaId |
Gets the media identifier. More... | |
(FMLiveSwitchMediaProtocol) | - mediaProtocol |
Gets the media protocol in use on this connection. More... | |
(double) | - mediaQuality |
Gets the current estimated media quality. More... | |
(int) | - minNoMediaServerRetryBackoff |
Gets the mininum retry backoff timeout, in milliseconds, before we retry a request after receiving no Media Servers are available for either ICE servers or SFU/MCU offer processing. More... | |
(FMLiveSwitchMultiplexPolicy) | - multiplexPolicy |
Gets the multiplex policy. More... | |
(double) | - networkQuality |
Gets the current estimated network quality. More... | |
(int) | - noMediaServerTimeout |
Gets the timeout, in milliseconds, before failing a request where no Media Servers are available for either ICE servers or SFU/MCU offer processing. More... | |
(FMLiveSwitchFuture< id > *) | - open |
Opens the connection. More... | |
(NSString *) | - privateIPAddress |
Gets the private IP address of this device. More... | |
(NSMutableArray *) | - privateIPAddresses |
Gets the private IP address of this device. More... | |
(void) | - processAnswerWithMessage: |
Processes an answer. More... | |
(void) | - processErrorWithMessage: |
Processes an error message. More... | |
(void) | - processIceServersWithMessage: |
Processes an iceServers message. More... | |
(void) | - processLocalError: |
Processes a local failure. More... | |
(void) | - processMediaIntentResponseWithMessage: |
Processes an iceServers message. More... | |
(void) | - processRtcpDataChannelSignallingActivationWithMessage: |
Processes inband signalling activation. More... | |
(void) | - processSimulcastNotificationWithMessage: |
Processes a simulcast notification. More... | |
(void) | - raiseAudioBitrateNotificationWithAudioStream:bitrateNotification: |
Raises an audio bitrate notification. More... | |
(void) | - raiseAudioBitrateRequestWithAudioStream:bitrateRequest: |
Raises an audio bitrate request. More... | |
(void) | - raiseLocalCandidate: |
Raises a local candidate. More... | |
(void) | - raiseNoMediaServersAvailableWithArgs: |
Raises the OnNoMediaServersAvailable event. More... | |
(void) | - raiseNoWebSocketMediaServersAvailableWithArgs: |
Raises the OnNoWebSocketMediaServersAvailable event. More... | |
(void) | - raiseRemoteCandidate: |
Raises a remote candidate. More... | |
(void) | - raiseVideoBitrateNotificationWithVideoStream:bitrateNotification: |
Raises a video bitrate notification. More... | |
(void) | - raiseVideoBitrateRequestWithVideoStream:bitrateRequest: |
Raises a video bitrate request. More... | |
(FMLiveSwitchRandomizer *) | - randomizer |
Gets a randomizer for backoff timers. More... | |
(bool) | - recordingEnabled |
Gets whether this connection is being recorded. More... | |
(bool) | - remoteAudioDisabled |
Gets if remote audio is disabled. More... | |
(FMLiveSwitchEncodingInfo *) | - remoteAudioEncoding |
Gets the remote audio encoding. More... | |
(NSMutableArray *) | - remoteAudioFormats |
Gets the remote audio formats. More... | |
(bool) | - remoteAudioMuted |
Gets whether the remote audio is muted. More... | |
(bool) | - remoteClosed |
Gets a value indicating whether the connection was closed by the remote host. More... | |
(NSString *) | - remoteConnectionId |
Gets the remote connection identifier, if available. More... | |
(bool) | - remoteDataDisabled |
Gets if remote data is disabled. More... | |
(FMLiveSwitchSessionDescription *) | - remoteDescription |
Gets the remote description. More... | |
(NSString *) | - remoteMediaId |
Gets the remote media identifier, if available. More... | |
(bool) | - remoteRejected |
Gets a value indicating whether the connection was rejected by the remote host. More... | |
(NSString *) | - remoteTag |
Gets the remote tag, if applicable. More... | |
(bool) | - remoteVideoDisabled |
Gets if remote video is disabled. More... | |
(FMLiveSwitchEncodingInfo *) | - remoteVideoEncoding |
Gets the remote video encoding. More... | |
(NSMutableArray *) | - remoteVideoFormats |
Gets the remote video formats. More... | |
(bool) | - remoteVideoMuted |
Gets whether the remote video is muted. More... | |
(void) | - removeOnAudioUnmuteDisabled: |
Removes a handler that is raised when the ability to unmute audio is disabled. More... | |
(void) | - removeOnAudioUnmuteEnabled: |
Removes a handler that is raised when the ability to unmute audio is enabled. More... | |
(void) | - removeOnAutomaticIceServers: |
Removes a handler that is raised when automatic ICE servers have been received. More... | |
(void) | - removeOnGatheringStateChange: |
Removes a handler that is raised when the ICE gathering state changes. More... | |
(void) | - removeOnIceConnectionStateChange: |
Removes a handler that is raised when the ICE connection state changes. More... | |
(void) | - removeOnLocalCandidate: |
Removes a handler that is raised when a local candidate is ready. More... | |
(void) | - removeOnLocalDescription: |
Removes a handler that is raised when the local description is ready. More... | |
(void) | - removeOnMediaQuality: |
Removes a handler that is raised every statsEventInterval milliseconds with the current estimated media quality. More... | |
(void) | - removeOnNetworkQuality: |
Removes a handler that is raised every statsEventInterval milliseconds with the current estimated network quality. More... | |
(void) | - removeOnNoMediaServersAvailable: |
Removes a handler that is raised when there are no Media Servers available. More... | |
(void) | - removeOnNoWebSocketMediaServersAvailable: |
Removes a handler that is raised when there are no WebSocket Media Servers available. More... | |
(void) | - removeOnRecordingDisabled: |
Removes a handler that is raised when this connection is no longer being recorded. More... | |
(void) | - removeOnRecordingEnabled: |
Removes a handler that is raised when this connection is being recorded. More... | |
(void) | - removeOnRemoteAudioEncodingSwitch: |
Removes a handler that is raised when the remote audio encoding is switched by the server. More... | |
(void) | - removeOnRemoteCandidate: |
Removes a handler that is raised when a remote candidate is ready. More... | |
(void) | - removeOnRemoteDescription: |
Removes a handler that is raised when the remote description is ready. More... | |
(void) | - removeOnRemoteUpdate: |
Removes a handler that is raised when a remote connection has been updated. More... | |
(void) | - removeOnRemoteVideoEncodingSwitch: |
Removes a handler that is raised when the remote video encoding is switched by the server. More... | |
(void) | - removeOnSignallingStateChange: |
Removes a handler that is raised when the signalling state changes. More... | |
(void) | - removeOnStateChange: |
Removes a handler that is raised when the connection state changes. More... | |
(void) | - removeOnStats: |
Removes a handler that is raised every statsEventInterval milliseconds with the current connection stats. More... | |
(void) | - removeOnVideoEnabledChange: |
Removes a handler that is raised when a connection has it's video state changed from disabled or enabled. More... | |
(void) | - removeOnVideoUnmuteDisabled: |
Removes a handler that is raised when the ability to unmute video is disabled. More... | |
(void) | - removeOnVideoUnmuteEnabled: |
Removes a handler that is raised when the ability to unmute video is enabled. More... | |
(FMLiveSwitchFuture< FMLiveSwitchMessage * > *) | - sendWithMessage: |
Sends a message. More... | |
(void) | - setBundlePolicy: |
Sets the Bundle Policy. More... | |
(void) | - setCreateDatagramSocket: |
Sets a method that creates Datagram sockets. More... | |
(FMLiveSwitchDatagramSocketCreateArgs *) | - setCreateDatagramSocketBlock |
Sets a method that creates Datagram sockets. More... | |
(void) | - setCreateDatagramSocketBlock: |
Sets a method that creates Datagram sockets. More... | |
(void) | - setCreateStreamSocket: |
Sets a method that creates Stream sockets. More... | |
(FMLiveSwitchStreamSocketCreateArgs *) | - setCreateStreamSocketBlock |
Sets a method that creates Stream sockets. More... | |
(void) | - setCreateStreamSocketBlock: |
Sets a method that creates Stream sockets. More... | |
(void) | - setDeadStreamTimeout: |
Sets the amount of time (in milliseconds) to wait before declaring the connection dead. More... | |
(void) | - setDisableAutomaticIceServers: |
Sets whether to disable automatic ICE servers (embedded TURN). More... | |
(void) | - setDtlsCipherSuites: |
Sets the DTLS cipher suites to use. More... | |
(void) | - setDtlsClientVersion: |
Sets the protocol version to use when in the DTLS client role. More... | |
(void) | - setDtlsServerMaxVersion: |
Sets the maximum protocol version to allow when in the DTLS server role. More... | |
(void) | - setDtlsServerMinVersion: |
Sets the minimum protocol version to allow when in the DTLS server role. More... | |
(void) | - setIceAddressTypes: |
Sets the ICE address types. More... | |
(void) | - setIceGatherPolicy: |
Sets the ICE gather policy. More... | |
(void) | - setIcePolicy: |
Sets policy indicating whether ICE is required (and enabled) or disabled (and not required for this connection). More... | |
(void) | - setIcePortRange: |
Sets the ICE port range. More... | |
(void) | - setIceServer: |
Sets the ICE server. More... | |
(void) | - setIceServers: |
Sets the ICE servers. More... | |
(void) | - setKeepAliveInterval: |
Sets a value indicating how many milliseconds must elapse between STUN keep-alive binding requests. More... | |
(void) | - setLayoutPriority: |
Sets the LayoutPriority. More... | |
(void) | - setLayoutZone: |
Sets the LayoutZone. More... | |
(void) | - setLocalAudioFormats: |
Sets the local audio formats. More... | |
(void) | - setLocalDtlsCertificate: |
Sets the local DTLS certificate. More... | |
(void) | - setLocalDtlsCertificates: |
Sets the local DTLS certificates. More... | |
(void) | - setLocalVideoFormats: |
Sets the local video formats. More... | |
(void) | - setMaxNoMediaServerRetryBackoff: |
Sets the maximum retry backoff timeout, in milliseconds, before we retry a request after receiving no Media Servers are available for either ICE servers or SFU/MCU offer processing. More... | |
(void) | - setMediaId: |
Sets the media identifier. More... | |
(void) | - setMinNoMediaServerRetryBackoff: |
Sets the mininum retry backoff timeout, in milliseconds, before we retry a request after receiving no Media Servers are available for either ICE servers or SFU/MCU offer processing. More... | |
(void) | - setMultiplexPolicy: |
Sets the multiplex policy. More... | |
(void) | - setNoMediaServerTimeout: |
Sets the timeout, in milliseconds, before failing a request where no Media Servers are available for either ICE servers or SFU/MCU offer processing. More... | |
(void) | - setPrivateIPAddress: |
Sets the private IP address of this device. More... | |
(void) | - setPrivateIPAddresses: |
Sets the private IP address of this device. More... | |
(void) | - setRemoteAudioEncoding: |
Sets the remote audio encoding. More... | |
(void) | - setRemoteAudioFormats: |
Sets the remote audio formats. More... | |
(void) | - setRemoteAudioMuted: |
Sets whether the remote audio is muted. More... | |
(void) | - setRemoteConnectionId: |
Sets the remote connection identifier, if available. More... | |
(void) | - setRemoteMediaId: |
Sets the remote media identifier, if available. More... | |
(void) | - setRemoteTag: |
Sets the remote tag, if applicable. More... | |
(void) | - setRemoteVideoEncoding: |
Sets the remote video encoding. More... | |
(void) | - setRemoteVideoFormats: |
Sets the remote video formats. More... | |
(void) | - setRemoteVideoMuted: |
Sets whether the remote video is muted. More... | |
(void) | - setStatsEventInterval: |
Sets the interval, in milliseconds, between stats events raised locally by addOnStats:. More... | |
(void) | - setStatsInterval: |
Sets the default interval, in milliseconds, between stats reports sent to the Gateway. More... | |
(void) | - setStatsReportInterval: |
Sets the interval, in milliseconds, between stats reports sent to the Gateway. More... | |
(void) | - setStunBindingRequestLimit: |
Sets the limit on the the number of Turn Allocate request messages when trying to establish allocation on a Turn server. More... | |
(void) | - setStunRequestTimeout: |
Sets the timeout for individual Stun (and Turn) request messages in ms. More... | |
(void) | - setTag: |
Sets the tag. More... | |
(void) | - setTcpConnectTimeout: |
Sets connection timeout for stream sockets in ms. More... | |
(void) | - setTestReceivedRtpBuffer: |
Sets a method that can be used to test and optionally modify inbound RTP buffers. More... | |
(FMLiveSwitchDataBuffer *) | - setTestReceivedRtpBufferBlock |
Sets a method that can be used to test and optionally modify inbound RTP buffers. More... | |
(void) | - setTestReceivedRtpBufferBlock: |
Sets a method that can be used to test and optionally modify inbound RTP buffers. More... | |
(void) | - setTestRoundTripTime: |
Sets a fixed round-trip time (in milliseconds) to use in the network transport. More... | |
(void) | - setTestSendingRtpBuffer: |
Sets a method that can be used to test and optionally modify outbound RTP buffers. More... | |
(FMLiveSwitchDataBuffer *) | - setTestSendingRtpBufferBlock |
Sets a method that can be used to test and optionally modify outbound RTP buffers. More... | |
(void) | - setTestSendingRtpBufferBlock: |
Sets a method that can be used to test and optionally modify outbound RTP buffers. More... | |
(void) | - setTrickleIcePolicy: |
Sets the trickle-ICE policy. More... | |
(void) | - setTurnAllocateRequestLimit: |
Sets the limit on the the number of Turn Allocate request messages when trying to establish allocation on a Turn server. More... | |
(void) | - setUseWebSocketsForMedia: |
Sets if we should use WebSockets for sending media. More... | |
(void) | - setVideoEnabledUpdateConnectionPolicy: |
Sets a method that determines when to enable video again on a connection that dynamically disables video. More... | |
(int) | - setVideoEnabledUpdateConnectionPolicyBlock |
Sets a method that determines when to enable video again on a connection that dynamically disables video. More... | |
(void) | - setVideoEnabledUpdateConnectionPolicyBlock: |
Sets a method that determines when to enable video again on a connection that dynamically disables video. More... | |
(void) | - setVideoRetentionPolicy: |
Sets the Video Retention Policy. More... | |
(void) | - setWmsAddress: |
Sets the WMS endpoint address. More... | |
(void) | - setWmsConnectionToken: |
Sets WMS connection token. More... | |
(FMLiveSwitchSignallingState) | - signallingState |
Gets the state of the signalling. More... | |
(FMLiveSwitchConnectionState) | - state |
Gets the state of the connection. More... | |
(int) | - statsEventInterval |
Gets the interval, in milliseconds, between stats events raised locally by addOnStats:. More... | |
(int) | - statsInterval |
Gets the default interval, in milliseconds, between stats reports sent to the Gateway. More... | |
(int) | - statsReportInterval |
Gets the interval, in milliseconds, between stats reports sent to the Gateway. More... | |
(int) | - stunBindingRequestLimit |
Gets the limit on the the number of Turn Allocate request messages when trying to establish allocation on a Turn server. More... | |
(int) | - stunRequestTimeout |
Gets the timeout for individual Stun (and Turn) request messages in ms. More... | |
(NSString *) | - tag |
Gets the tag. More... | |
(int) | - tcpConnectTimeout |
Gets connection timeout for stream sockets in ms. More... | |
(FMLiveSwitchFunction1< FMLiveSwitchDataBuffer *, FMLiveSwitchDataBuffer * > *) | - testReceivedRtpBuffer |
Gets a method that can be used to test and optionally modify inbound RTP buffers. More... | |
(int) | - testRoundTripTime |
Gets a fixed round-trip time (in milliseconds) to use in the network transport. More... | |
(FMLiveSwitchFunction1< FMLiveSwitchDataBuffer *, FMLiveSwitchDataBuffer * > *) | - testSendingRtpBuffer |
Gets a method that can be used to test and optionally modify outbound RTP buffers. More... | |
(FMLiveSwitchTrickleIcePolicy) | - trickleIcePolicy |
Gets the trickle-ICE policy. More... | |
(bool) | - trySendRtcpDataChannelWithMessage: |
Sends bitrate messages. More... | |
(int) | - turnAllocateRequestLimit |
Gets the limit on the the number of Turn Allocate request messages when trying to establish allocation on a Turn server. More... | |
(NSString *) | - type |
Gets the connection type. More... | |
(FMLiveSwitchFuture< id > *) | - updateWithConfig: |
Updates this connection. More... | |
(NSString *) | - userId |
Gets the user identifier. More... | |
(bool) | - useWebSocketsForMedia |
Gets if we should use WebSockets for sending media. More... | |
(NSString *) | - videoDirection |
Gets the video direction. More... | |
(int) | - videoEnabledConnectionUpdateAttempts |
Gets the amount of attempts this connection has made to enabled video on a connection. More... | |
(FMLiveSwitchFunction1< id, id > *) | - videoEnabledUpdateConnectionPolicy |
Gets a method that determines when to enable video again on a connection that dynamically disables video. More... | |
(FMLiveSwitchVideoRetentionPolicy) | - videoRetentionPolicy |
Gets the Video Retention Policy. More... | |
(FMLiveSwitchVideoStream *) | - videoStream |
Gets the video stream. More... | |
(bool) | - videoUnmuteDisabled |
Gets whether the ability to unmute video is disabled. More... | |
(NSString *) | - wmsAddress |
Gets the WMS endpoint address. More... | |
(NSString *) | - wmsConnectionToken |
Gets WMS connection token. 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... | |
Class Methods | |
(FMLiveSwitchDtlsCertificate *) | + defaultLocalDtlsCertificate |
Gets the default local DTLS certificate. More... | |
(NSMutableArray *) | + defaultLocalDtlsCertificates |
Gets the default local DTLS certificates. More... | |
(int) | + defaultNoMediaServerTimeout |
Gets the default timeout, in milliseconds, before we fail the connection attempt where no Media Servers are available for either ICE servers or SFU/MCU offer processing. More... | |
(int) | + defaultStatsEventInterval |
Gets the default interval, in milliseconds, between stats events raised locally by addOnStats:. More... | |
(int) | + defaultStatsInterval |
Gets the default interval, in milliseconds, between stats reports sent to the Gateway. More... | |
(int) | + defaultStatsReportInterval |
Gets the default interval, in milliseconds, between stats reports sent to the Gateway. More... | |
(void) | + setDefaultLocalDtlsCertificate: |
Sets the default local DTLS certificate. More... | |
(void) | + setDefaultLocalDtlsCertificates: |
Sets the default local DTLS certificates. More... | |
(void) | + setDefaultNoMediaServerTimeout: |
Sets the default timeout, in milliseconds, before we fail the connection attempt where no Media Servers are available for either ICE servers or SFU/MCU offer processing. More... | |
(void) | + setDefaultStatsEventInterval: |
Sets the default interval, in milliseconds, between stats events raised locally by addOnStats:. More... | |
(void) | + setDefaultStatsInterval: |
Sets the default interval, in milliseconds, between stats reports sent to the Gateway. More... | |
(void) | + setDefaultStatsReportInterval: |
Sets the default interval, in milliseconds, between stats reports sent to the Gateway. More... | |
Class Methods inherited from FMLiveSwitchDynamic | |
(FMLiveSwitchDynamic *) | + dynamic |
Class Methods inherited from FMLiveSwitchSerializable | |
(FMLiveSwitchSerializable *) | + serializable |
Initializes a new instance of the FMLiveSwitchSerializable class. More... | |
A managed connection.
- (void) addOnAudioUnmuteDisabled: | (FMLiveSwitchAction0 *) | value |
Adds a handler that is raised when the ability to unmute audio is disabled.
- (void) addOnAudioUnmuteEnabled: | (FMLiveSwitchAction0 *) | value |
Adds a handler that is raised when the ability to unmute audio is enabled.
- (void) addOnAutomaticIceServers: | (FMLiveSwitchAction2< FMLiveSwitchManagedConnection *, FMLiveSwitchIceServerCollection * > *) | value |
Adds a handler that is raised when automatic ICE servers have been received.
Parameters:
- (FMLiveSwitchManagedConnection*, FMLiveSwitchIceServerCollection*) addOnAutomaticIceServersWithBlock |
Adds a handler that is raised when automatic ICE servers have been received.
Parameters:
- (void) addOnAutomaticIceServersWithBlock: | (void(^)(FMLiveSwitchManagedConnection *, FMLiveSwitchIceServerCollection *)) | valueBlock |
Adds a handler that is raised when automatic ICE servers have been received.
Parameters:
- (void) addOnGatheringStateChange: | (FMLiveSwitchAction1< FMLiveSwitchManagedConnection * > *) | value |
Adds a handler that is raised when the ICE gathering state changes.
Parameters:
- (FMLiveSwitchManagedConnection*) addOnGatheringStateChangeWithBlock |
Adds a handler that is raised when the ICE gathering state changes.
Parameters:
- (void) addOnGatheringStateChangeWithBlock: | (void(^)(FMLiveSwitchManagedConnection *)) | valueBlock |
Adds a handler that is raised when the ICE gathering state changes.
Parameters:
- (void) addOnIceConnectionStateChange: | (FMLiveSwitchAction1< FMLiveSwitchManagedConnection * > *) | value |
Adds a handler that is raised when the ICE connection state changes.
Parameters:
- (FMLiveSwitchManagedConnection*) addOnIceConnectionStateChangeWithBlock |
Adds a handler that is raised when the ICE connection state changes.
Parameters:
- (void) addOnIceConnectionStateChangeWithBlock: | (void(^)(FMLiveSwitchManagedConnection *)) | valueBlock |
Adds a handler that is raised when the ICE connection state changes.
Parameters:
- (void) addOnLocalCandidate: | (FMLiveSwitchAction2< FMLiveSwitchManagedConnection *, FMLiveSwitchCandidate * > *) | value |
Adds a handler that is raised when a local candidate is ready.
Parameters:
- (FMLiveSwitchManagedConnection*, FMLiveSwitchCandidate*) addOnLocalCandidateWithBlock |
Adds a handler that is raised when a local candidate is ready.
Parameters:
- (void) addOnLocalCandidateWithBlock: | (void(^)(FMLiveSwitchManagedConnection *, FMLiveSwitchCandidate *)) | valueBlock |
Adds a handler that is raised when a local candidate is ready.
Parameters:
- (void) addOnLocalDescription: | (FMLiveSwitchAction2< FMLiveSwitchManagedConnection *, FMLiveSwitchSessionDescription * > *) | value |
Adds a handler that is raised when the local description is ready.
Parameters:
- (FMLiveSwitchManagedConnection*, FMLiveSwitchSessionDescription*) addOnLocalDescriptionWithBlock |
Adds a handler that is raised when the local description is ready.
Parameters:
- (void) addOnLocalDescriptionWithBlock: | (void(^)(FMLiveSwitchManagedConnection *, FMLiveSwitchSessionDescription *)) | valueBlock |
Adds a handler that is raised when the local description is ready.
Parameters:
- (void) addOnMediaQuality: | (FMLiveSwitchAction1< id > *) | value |
Adds a handler that is raised every statsEventInterval milliseconds with the current estimated media quality.
The value ranges from 0.0 to 1.0, where 0.0 is the lowest quality and 1.0 is the highest quality.
- (double) addOnMediaQualityWithBlock |
Adds a handler that is raised every statsEventInterval milliseconds with the current estimated media quality.
The value ranges from 0.0 to 1.0, where 0.0 is the lowest quality and 1.0 is the highest quality.
- (void) addOnMediaQualityWithBlock: | (void(^)(double)) | valueBlock |
Adds a handler that is raised every statsEventInterval milliseconds with the current estimated media quality.
The value ranges from 0.0 to 1.0, where 0.0 is the lowest quality and 1.0 is the highest quality.
- (void) addOnNetworkQuality: | (FMLiveSwitchAction1< id > *) | value |
Adds a handler that is raised every statsEventInterval milliseconds with the current estimated network quality.
The value ranges from 0.0 to 1.0, where 0.0 is the lowest quality and 1.0 is the highest quality.
- (double) addOnNetworkQualityWithBlock |
Adds a handler that is raised every statsEventInterval milliseconds with the current estimated network quality.
The value ranges from 0.0 to 1.0, where 0.0 is the lowest quality and 1.0 is the highest quality.
- (void) addOnNetworkQualityWithBlock: | (void(^)(double)) | valueBlock |
Adds a handler that is raised every statsEventInterval milliseconds with the current estimated network quality.
The value ranges from 0.0 to 1.0, where 0.0 is the lowest quality and 1.0 is the highest quality.
- (void) addOnNoMediaServersAvailable: | (FMLiveSwitchAction2< FMLiveSwitchManagedConnection *, FMLiveSwitchNoMediaServersAvailableEventArgs * > *) | value |
Adds a handler that is raised when there are no Media Servers available.
- (FMLiveSwitchManagedConnection*, FMLiveSwitchNoMediaServersAvailableEventArgs*) addOnNoMediaServersAvailableWithBlock |
Adds a handler that is raised when there are no Media Servers available.
- (void) addOnNoMediaServersAvailableWithBlock: | (void(^)(FMLiveSwitchManagedConnection *, FMLiveSwitchNoMediaServersAvailableEventArgs *)) | valueBlock |
Adds a handler that is raised when there are no Media Servers available.
- (void) addOnNoWebSocketMediaServersAvailable: | (FMLiveSwitchAction2< FMLiveSwitchManagedConnection *, FMLiveSwitchNoWebSocketMediaServersAvailableEventArgs * > *) | value |
Adds a handler that is raised when there are no WebSocket Media Servers available.
- (FMLiveSwitchManagedConnection*, FMLiveSwitchNoWebSocketMediaServersAvailableEventArgs*) addOnNoWebSocketMediaServersAvailableWithBlock |
Adds a handler that is raised when there are no WebSocket Media Servers available.
- (void) addOnNoWebSocketMediaServersAvailableWithBlock: | (void(^)(FMLiveSwitchManagedConnection *, FMLiveSwitchNoWebSocketMediaServersAvailableEventArgs *)) | valueBlock |
Adds a handler that is raised when there are no WebSocket Media Servers available.
- (void) addOnRecordingDisabled: | (FMLiveSwitchAction1< NSString * > *) | value |
Adds a handler that is raised when this connection is no longer being recorded.
- (NSString*) addOnRecordingDisabledWithBlock |
Adds a handler that is raised when this connection is no longer being recorded.
- (void) addOnRecordingDisabledWithBlock: | (void(^)(NSString *)) | valueBlock |
Adds a handler that is raised when this connection is no longer being recorded.
- (void) addOnRecordingEnabled: | (FMLiveSwitchAction1< NSString * > *) | value |
Adds a handler that is raised when this connection is being recorded.
- (NSString*) addOnRecordingEnabledWithBlock |
Adds a handler that is raised when this connection is being recorded.
- (void) addOnRecordingEnabledWithBlock: | (void(^)(NSString *)) | valueBlock |
Adds a handler that is raised when this connection is being recorded.
- (void) addOnRemoteAudioEncodingSwitch: | (FMLiveSwitchAction2< FMLiveSwitchEncodingInfo *, FMLiveSwitchEncodingInfo * > *) | value |
Adds a handler that is raised when the remote audio encoding is switched by the server.
- (FMLiveSwitchEncodingInfo*, FMLiveSwitchEncodingInfo*) addOnRemoteAudioEncodingSwitchWithBlock |
Adds a handler that is raised when the remote audio encoding is switched by the server.
- (void) addOnRemoteAudioEncodingSwitchWithBlock: | (void(^)(FMLiveSwitchEncodingInfo *, FMLiveSwitchEncodingInfo *)) | valueBlock |
Adds a handler that is raised when the remote audio encoding is switched by the server.
- (void) addOnRemoteCandidate: | (FMLiveSwitchAction2< FMLiveSwitchManagedConnection *, FMLiveSwitchCandidate * > *) | value |
Adds a handler that is raised when a remote candidate is ready.
Parameters:
- (FMLiveSwitchManagedConnection*, FMLiveSwitchCandidate*) addOnRemoteCandidateWithBlock |
Adds a handler that is raised when a remote candidate is ready.
Parameters:
- (void) addOnRemoteCandidateWithBlock: | (void(^)(FMLiveSwitchManagedConnection *, FMLiveSwitchCandidate *)) | valueBlock |
Adds a handler that is raised when a remote candidate is ready.
Parameters:
- (void) addOnRemoteDescription: | (FMLiveSwitchAction2< FMLiveSwitchManagedConnection *, FMLiveSwitchSessionDescription * > *) | value |
Adds a handler that is raised when the remote description is ready.
Parameters:
- (FMLiveSwitchManagedConnection*, FMLiveSwitchSessionDescription*) addOnRemoteDescriptionWithBlock |
Adds a handler that is raised when the remote description is ready.
Parameters:
- (void) addOnRemoteDescriptionWithBlock: | (void(^)(FMLiveSwitchManagedConnection *, FMLiveSwitchSessionDescription *)) | valueBlock |
Adds a handler that is raised when the remote description is ready.
Parameters:
- (void) addOnRemoteUpdate: | (FMLiveSwitchAction2< FMLiveSwitchConnectionInfo *, FMLiveSwitchConnectionInfo * > *) | value |
Adds a handler that is raised when a remote connection has been updated.
- (FMLiveSwitchConnectionInfo*, FMLiveSwitchConnectionInfo*) addOnRemoteUpdateWithBlock |
Adds a handler that is raised when a remote connection has been updated.
- (void) addOnRemoteUpdateWithBlock: | (void(^)(FMLiveSwitchConnectionInfo *, FMLiveSwitchConnectionInfo *)) | valueBlock |
Adds a handler that is raised when a remote connection has been updated.
- (void) addOnRemoteVideoEncodingSwitch: | (FMLiveSwitchAction2< FMLiveSwitchEncodingInfo *, FMLiveSwitchEncodingInfo * > *) | value |
Adds a handler that is raised when the remote video encoding is switched by the server.
- (FMLiveSwitchEncodingInfo*, FMLiveSwitchEncodingInfo*) addOnRemoteVideoEncodingSwitchWithBlock |
Adds a handler that is raised when the remote video encoding is switched by the server.
- (void) addOnRemoteVideoEncodingSwitchWithBlock: | (void(^)(FMLiveSwitchEncodingInfo *, FMLiveSwitchEncodingInfo *)) | valueBlock |
Adds a handler that is raised when the remote video encoding is switched by the server.
- (void) addOnSignallingStateChange: | (FMLiveSwitchAction1< FMLiveSwitchManagedConnection * > *) | value |
Adds a handler that is raised when the signalling state changes.
Parameters:
- (FMLiveSwitchManagedConnection*) addOnSignallingStateChangeWithBlock |
Adds a handler that is raised when the signalling state changes.
Parameters:
- (void) addOnSignallingStateChangeWithBlock: | (void(^)(FMLiveSwitchManagedConnection *)) | valueBlock |
Adds a handler that is raised when the signalling state changes.
Parameters:
- (void) addOnStateChange: | (FMLiveSwitchAction1< FMLiveSwitchManagedConnection * > *) | value |
Adds a handler that is raised when the connection state changes.
Parameters:
- (FMLiveSwitchManagedConnection*) addOnStateChangeWithBlock |
Adds a handler that is raised when the connection state changes.
Parameters:
- (void) addOnStateChangeWithBlock: | (void(^)(FMLiveSwitchManagedConnection *)) | valueBlock |
Adds a handler that is raised when the connection state changes.
Parameters:
- (void) addOnStats: | (FMLiveSwitchAction1< FMLiveSwitchConnectionStats * > *) | value |
Adds a handler that is raised every statsEventInterval milliseconds with the current connection stats.
- (FMLiveSwitchConnectionStats*) addOnStatsWithBlock |
Adds a handler that is raised every statsEventInterval milliseconds with the current connection stats.
- (void) addOnStatsWithBlock: | (void(^)(FMLiveSwitchConnectionStats *)) | valueBlock |
Adds a handler that is raised every statsEventInterval milliseconds with the current connection stats.
- (void) addOnVideoEnabledChange: | (FMLiveSwitchAction2< FMLiveSwitchManagedConnection *, id > *) | value |
Adds a handler that is raised when a connection has it's video state changed from disabled or enabled.
Due to connection constrainsts. Parameters:
- (FMLiveSwitchManagedConnection*, bool) addOnVideoEnabledChangeWithBlock |
Adds a handler that is raised when a connection has it's video state changed from disabled or enabled.
Due to connection constrainsts. Parameters:
- (void) addOnVideoEnabledChangeWithBlock: | (void(^)(FMLiveSwitchManagedConnection *, bool)) | valueBlock |
Adds a handler that is raised when a connection has it's video state changed from disabled or enabled.
Due to connection constrainsts. Parameters:
- (void) addOnVideoUnmuteDisabled: | (FMLiveSwitchAction0 *) | value |
Adds a handler that is raised when the ability to unmute video is disabled.
- (void) addOnVideoUnmuteEnabled: | (FMLiveSwitchAction0 *) | value |
Adds a handler that is raised when the ability to unmute video is enabled.
- (NSString*) applicationId |
Gets the application identifier.
- (NSString*) audioDirection |
Gets the audio direction.
Null if disabled.
- (FMLiveSwitchAudioStream*) audioStream |
Gets the audio stream.
- (bool) audioUnmuteDisabled |
Gets whether the ability to unmute audio is disabled.
- (FMLiveSwitchBundlePolicy) bundlePolicy |
Gets the Bundle Policy.
- (NSString*) canonicalName |
Gets the connection's canonical name.
- (NSString*) channelId |
Gets the channel identifier.
- (NSString*) clientId |
Gets the client identifier.
- (FMLiveSwitchFuture<id>*) close |
Closes the connection.
- (FMLiveSwitchConnectionConfig*) config |
Gets the current configuration.
- (FMLiveSwitchFunction1<FMLiveSwitchDatagramSocketCreateArgs*,FMLiveSwitchDatagramSocket*>*) createDatagramSocket |
Gets a method that creates Datagram sockets.
Optional. If not set, default OS UDP socket is used.
- (FMLiveSwitchFunction1<FMLiveSwitchStreamSocketCreateArgs*,FMLiveSwitchStreamSocket*>*) createStreamSocket |
Gets a method that creates Stream sockets.
Optional. If not set, default OS TCP socket is used.
- (NSString*) dataDirection |
Gets the data direction.
Null if disabled.
- (FMLiveSwitchDataStream*) dataStream |
Gets the data stream.
- (int) deadStreamTimeout |
Gets the amount of time (in milliseconds) to wait before declaring the connection dead.
When there are no candidate pairs connected, the timer will start. When a candidate pair becomes connected the timer will be reset and stopped. If no candidate pairs become connected before the timeout is reached, the state of the connection will change to failed. Defaults to 15,000.
+ (FMLiveSwitchDtlsCertificate*) defaultLocalDtlsCertificate |
Gets the default local DTLS certificate.
+ (NSMutableArray*) defaultLocalDtlsCertificates |
Gets the default local DTLS certificates.
+ (int) defaultNoMediaServerTimeout |
Gets the default timeout, in milliseconds, before we fail the connection attempt where no Media Servers are available for either ICE servers or SFU/MCU offer processing.
The default value is 120,000 (2 minutes).
+ (int) defaultStatsEventInterval |
Gets the default interval, in milliseconds, between stats events raised locally by addOnStats:.
The default value is 1,000 (1 second).
+ (int) defaultStatsInterval |
Gets the default interval, in milliseconds, between stats reports sent to the Gateway.
The default value is 10,000 (10 seconds).
+ (int) defaultStatsReportInterval |
Gets the default interval, in milliseconds, between stats reports sent to the Gateway.
The default value is 10,000 (10 seconds).
- (void) detachInternalEventHandlers |
Detaches internal event handlers.
Implemented in FMLiveSwitchServerConnection, and FMLiveSwitchPeerConnection.
- (NSString*) deviceId |
Gets the device identifier.
- (bool) disableAutomaticIceServers |
Gets whether to disable automatic ICE servers (embedded TURN).
- (FMLiveSwitchMessage*) doCreateCandidateMessageWithCandidate: | (FMLiveSwitchCandidate *) | candidate |
Creates a candidate message.
candidate | The candidate. |
Implemented in FMLiveSwitchServerConnection, and FMLiveSwitchPeerConnection.
- (FMLiveSwitchMessage*) doCreateCloseMessage |
Creates a close message.
Implemented in FMLiveSwitchServerConnection, and FMLiveSwitchPeerConnection.
- (FMLiveSwitchMessage*) doCreateUpdateMessageWithConfig: | (FMLiveSwitchConnectionConfig *) | config |
Creates an update message.
config | The connection config. |
Implemented in FMLiveSwitchPeerConnection.
- (FMLiveSwitchMessage*) doCreateUseWebSocketServiceMessage |
Create the message to use WebSockets for media.
Implemented in FMLiveSwitchSfuUpstreamConnection, and FMLiveSwitchSfuDownstreamConnection.
- (void) doOpen |
Opens the connection.
Implemented in FMLiveSwitchServerConnection, and FMLiveSwitchPeerConnection.
- (void) doProcessMessage: | (FMLiveSwitchMessage *) | message |
Processes a message.
message | The message. |
Implemented in FMLiveSwitchServerConnection, and FMLiveSwitchPeerConnection.
- (NSMutableArray*) dtlsCipherSuites |
Gets the DTLS cipher suites to use.
Defaults to: DtlsCipherSuite.EcdheEcdsaAes128Sha, DtlsCipherSuite.EcdheEcdsaAes128GcmSha256, DtlsCipherSuite.EcdheEcdsaAes128CbcSha256, DtlsCipherSuite.EcdheRsaAes128Sha, DtlsCipherSuite.EcdheRsaAes128GcmSha256, DtlsCipherSuite.EcdheRsaAes128CbcSha256, DtlsCipherSuite.RsaAes128Sha, DtlsCipherSuite.RsaAes128GcmSha256, DtlsCipherSuite.RsaAes128CbcSha256,
- (FMLiveSwitchDtlsProtocolVersion) dtlsClientVersion |
Gets the protocol version to use when in the DTLS client role.
Defaults to FMLiveSwitchDtlsProtocolVersionDtls10.
- (FMLiveSwitchDtlsProtocolVersion) dtlsServerMaxVersion |
Gets the maximum protocol version to allow when in the DTLS server role.
Defaults to FMLiveSwitchDtlsProtocolVersionDtls12.
- (FMLiveSwitchDtlsProtocolVersion) dtlsServerMinVersion |
Gets the minimum protocol version to allow when in the DTLS server role.
Defaults to FMLiveSwitchDtlsProtocolVersionDtls10.
- (FMLiveSwitchError*) error |
Gets the error, if an error exists.
- (NSString*) externalId |
Gets the external connection identifier.
- (FMLiveSwitchIceGatheringState) gatheringState |
Gets the state of the ice gathering.
- (FMLiveSwitchFuture<FMLiveSwitchConnectionStats*>*) getStats |
Gets the current connection stats.
- (bool) hasAudio |
Gets whether this connection has an audio stream.
- (bool) hasData |
Gets whether this connection has a data stream.
- (bool) hasVideo |
Gets whether this connection has a video stream.
- (NSMutableArray*) iceAddressTypes |
Gets the ICE address types.
- (FMLiveSwitchIceConnectionState) iceConnectionState |
Gets the state of the ice connection.
- (FMLiveSwitchIceGatherPolicy) iceGatherPolicy |
Gets the ICE gather policy.
- (FMLiveSwitchIcePolicy) icePolicy |
Gets policy indicating whether ICE is required (and enabled) or disabled (and not required for this connection).
- (FMLiveSwitchIcePortRange*) icePortRange |
Gets the ICE port range.
- (FMLiveSwitchIceRole) iceRole |
Gets the ICE role.
- (FMLiveSwitchIceServer*) iceServer |
Gets the ICE server.
- (NSMutableArray*) iceServers |
Gets the ICE servers.
- (FMLiveSwitchConnectionInfo*) info |
Gets the connection info.
- (FMLiveSwitchDataChannel*) internalRtcpDataChannel |
Gets Data Channel for inband signalling.
- (bool) isMediaDirectionAllowedWithDirection: | (NSString *) | direction |
Gets a value indicating whether the given direction is allowed for this connection.
direction | The direction. |
Implemented in FMLiveSwitchSfuUpstreamConnection, FMLiveSwitchSfuDownstreamConnection, FMLiveSwitchPeerConnection, and FMLiveSwitchMcuConnection.
- (int) keepAliveInterval |
Gets a value indicating how many milliseconds must elapse between STUN keep-alive binding requests.
Defaults to 1000.
- (FMLiveSwitchNullableInt*) layoutPriority |
Gets the LayoutPriority.
- (NSString*) layoutZone |
Gets the LayoutZone.
- (NSString*) localAudioDirection |
Gets the local audio direction.
Null if disabled.
- (bool) localAudioDisabled |
Gets if local audio is disabled.
- (NSMutableArray*) localAudioFormats |
Gets the local audio formats.
- (bool) localAudioMuted |
Gets whether the local audio is muted.
- (NSString*) localDataDirection |
Gets the local data direction.
Null if disabled.
- (bool) localDataDisabled |
Gets if local data is disabled.
- (FMLiveSwitchSessionDescription*) localDescription |
Gets the local description.
- (FMLiveSwitchDtlsCertificate*) localDtlsCertificate |
Gets the local DTLS certificate.
- (NSMutableArray*) localDtlsCertificates |
Gets the local DTLS certificates.
- (NSString*) localVideoDirection |
Gets the local video direction.
Null if disabled.
- (bool) localVideoDisabled |
Gets if local video is disabled.
- (NSMutableArray*) localVideoFormats |
Gets the local video formats.
- (bool) localVideoMuted |
Gets whether the local video is muted.
- (int) maxNoMediaServerRetryBackoff |
Gets the maximum retry backoff timeout, in milliseconds, before we retry a request after receiving no Media Servers are available for either ICE servers or SFU/MCU offer processing.
The default value is 1500ms.
- (NSString*) mediaId |
Gets the media identifier.
- (FMLiveSwitchMediaProtocol) mediaProtocol |
Gets the media protocol in use on this connection.
- (double) mediaQuality |
Gets the current estimated media quality.
The value ranges from 0.0 to 1.0, where 0.0 is the lowest quality and 1.0 is the highest quality.
- (int) minNoMediaServerRetryBackoff |
Gets the mininum retry backoff timeout, in milliseconds, before we retry a request after receiving no Media Servers are available for either ICE servers or SFU/MCU offer processing.
The default value is 1000ms.
- (FMLiveSwitchMultiplexPolicy) multiplexPolicy |
Gets the multiplex policy.
- (double) networkQuality |
Gets the current estimated network quality.
The value ranges from 0.0 to 1.0, where 0.0 is the lowest quality and 1.0 is the highest quality.
- (int) noMediaServerTimeout |
Gets the timeout, in milliseconds, before failing a request where no Media Servers are available for either ICE servers or SFU/MCU offer processing.
- (FMLiveSwitchFuture<id>*) open |
Opens the connection.
- (NSString*) privateIPAddress |
Gets the private IP address of this device.
If set, this will bypass the local network discovery and use this as the sole host candidate.
- (NSMutableArray*) privateIPAddresses |
Gets the private IP address of this device.
If set, this will bypass the local network discovery and use this as the sole host candidate.
- (void) processAnswerWithMessage: | (FMLiveSwitchMessage *) | message |
Processes an answer.
message | The message. |
Implemented in FMLiveSwitchServerConnection, and FMLiveSwitchPeerConnection.
- (void) processErrorWithMessage: | (FMLiveSwitchMessage *) | message |
Processes an error message.
message | The message. |
Implemented in FMLiveSwitchServerConnection, and FMLiveSwitchPeerConnection.
- (void) processIceServersWithMessage: | (FMLiveSwitchMessage *) | message |
Processes an iceServers message.
message | The message. |
- (void) processLocalError: | (FMLiveSwitchError *) | error |
Processes a local failure.
error | The error. |
- (void) processMediaIntentResponseWithMessage: | (FMLiveSwitchMessage *) | message |
Processes an iceServers message.
message | The message. |
Implemented in FMLiveSwitchServerConnection.
- (void) processRtcpDataChannelSignallingActivationWithMessage: | (FMLiveSwitchMessage *) | message |
Processes inband signalling activation.
message |
Implemented in FMLiveSwitchServerConnection.
- (void) processSimulcastNotificationWithMessage: | (FMLiveSwitchMessage *) | message |
Processes a simulcast notification.
message | The simulcast notificaiton message. |
- (void) raiseAudioBitrateNotificationWithAudioStream: | (FMLiveSwitchAudioStream *) | audioStream | |
bitrateNotification: | (FMLiveSwitchBitrateNotification *) | bitrateNotification | |
Raises an audio bitrate notification.
audioStream | The audio stream. |
bitrateNotification | The bitrate notification. |
Implemented in FMLiveSwitchServerConnection.
- (void) raiseAudioBitrateRequestWithAudioStream: | (FMLiveSwitchAudioStream *) | audioStream | |
bitrateRequest: | (FMLiveSwitchBitrateRequest *) | bitrateRequest | |
Raises an audio bitrate request.
audioStream | The audio stream. |
bitrateRequest | The bitrate request. |
- (void) raiseLocalCandidate: | (FMLiveSwitchCandidate *) | localCandidate |
Raises a local candidate.
localCandidate | The local candidate. |
- (void) raiseNoMediaServersAvailableWithArgs: | (FMLiveSwitchNoMediaServersAvailableEventArgs *) | args |
Raises the OnNoMediaServersAvailable event.
- (void) raiseNoWebSocketMediaServersAvailableWithArgs: | (FMLiveSwitchNoWebSocketMediaServersAvailableEventArgs *) | args |
Raises the OnNoWebSocketMediaServersAvailable event.
- (void) raiseRemoteCandidate: | (FMLiveSwitchCandidate *) | remoteCandidate |
Raises a remote candidate.
remoteCandidate | The remote candidate. |
- (void) raiseVideoBitrateNotificationWithVideoStream: | (FMLiveSwitchVideoStream *) | videoStream | |
bitrateNotification: | (FMLiveSwitchBitrateNotification *) | bitrateNotification | |
Raises a video bitrate notification.
videoStream | The video stream. |
bitrateNotification | The bitrate notification. |
Implemented in FMLiveSwitchServerConnection.
- (void) raiseVideoBitrateRequestWithVideoStream: | (FMLiveSwitchVideoStream *) | videoStream | |
bitrateRequest: | (FMLiveSwitchBitrateRequest *) | bitrateRequest | |
Raises a video bitrate request.
videoStream | The video stream. |
bitrateRequest | The bitrate request. |
- (FMLiveSwitchRandomizer*) randomizer |
Gets a randomizer for backoff timers.
- (bool) recordingEnabled |
Gets whether this connection is being recorded.
- (bool) remoteAudioDisabled |
Gets if remote audio is disabled.
- (FMLiveSwitchEncodingInfo*) remoteAudioEncoding |
Gets the remote audio encoding.
- (NSMutableArray*) remoteAudioFormats |
Gets the remote audio formats.
- (bool) remoteAudioMuted |
Gets whether the remote audio is muted.
- (bool) remoteClosed |
Gets a value indicating whether the connection was closed by the remote host.
- (NSString*) remoteConnectionId |
Gets the remote connection identifier, if available.
- (bool) remoteDataDisabled |
Gets if remote data is disabled.
- (FMLiveSwitchSessionDescription*) remoteDescription |
Gets the remote description.
- (NSString*) remoteMediaId |
Gets the remote media identifier, if available.
- (bool) remoteRejected |
Gets a value indicating whether the connection was rejected by the remote host.
- (NSString*) remoteTag |
Gets the remote tag, if applicable.
- (bool) remoteVideoDisabled |
Gets if remote video is disabled.
- (FMLiveSwitchEncodingInfo*) remoteVideoEncoding |
Gets the remote video encoding.
- (NSMutableArray*) remoteVideoFormats |
Gets the remote video formats.
- (bool) remoteVideoMuted |
Gets whether the remote video is muted.
- (void) removeOnAudioUnmuteDisabled: | (FMLiveSwitchAction0 *) | value |
Removes a handler that is raised when the ability to unmute audio is disabled.
- (void) removeOnAudioUnmuteEnabled: | (FMLiveSwitchAction0 *) | value |
Removes a handler that is raised when the ability to unmute audio is enabled.
- (void) removeOnAutomaticIceServers: | (FMLiveSwitchAction2< FMLiveSwitchManagedConnection *, FMLiveSwitchIceServerCollection * > *) | value |
Removes a handler that is raised when automatic ICE servers have been received.
Parameters:
- (void) removeOnGatheringStateChange: | (FMLiveSwitchAction1< FMLiveSwitchManagedConnection * > *) | value |
Removes a handler that is raised when the ICE gathering state changes.
Parameters:
- (void) removeOnIceConnectionStateChange: | (FMLiveSwitchAction1< FMLiveSwitchManagedConnection * > *) | value |
Removes a handler that is raised when the ICE connection state changes.
Parameters:
- (void) removeOnLocalCandidate: | (FMLiveSwitchAction2< FMLiveSwitchManagedConnection *, FMLiveSwitchCandidate * > *) | value |
Removes a handler that is raised when a local candidate is ready.
Parameters:
- (void) removeOnLocalDescription: | (FMLiveSwitchAction2< FMLiveSwitchManagedConnection *, FMLiveSwitchSessionDescription * > *) | value |
Removes a handler that is raised when the local description is ready.
Parameters:
- (void) removeOnMediaQuality: | (FMLiveSwitchAction1< id > *) | value |
Removes a handler that is raised every statsEventInterval milliseconds with the current estimated media quality.
The value ranges from 0.0 to 1.0, where 0.0 is the lowest quality and 1.0 is the highest quality.
- (void) removeOnNetworkQuality: | (FMLiveSwitchAction1< id > *) | value |
Removes a handler that is raised every statsEventInterval milliseconds with the current estimated network quality.
The value ranges from 0.0 to 1.0, where 0.0 is the lowest quality and 1.0 is the highest quality.
- (void) removeOnNoMediaServersAvailable: | (FMLiveSwitchAction2< FMLiveSwitchManagedConnection *, FMLiveSwitchNoMediaServersAvailableEventArgs * > *) | value |
Removes a handler that is raised when there are no Media Servers available.
- (void) removeOnNoWebSocketMediaServersAvailable: | (FMLiveSwitchAction2< FMLiveSwitchManagedConnection *, FMLiveSwitchNoWebSocketMediaServersAvailableEventArgs * > *) | value |
Removes a handler that is raised when there are no WebSocket Media Servers available.
- (void) removeOnRecordingDisabled: | (FMLiveSwitchAction1< NSString * > *) | value |
Removes a handler that is raised when this connection is no longer being recorded.
- (void) removeOnRecordingEnabled: | (FMLiveSwitchAction1< NSString * > *) | value |
Removes a handler that is raised when this connection is being recorded.
- (void) removeOnRemoteAudioEncodingSwitch: | (FMLiveSwitchAction2< FMLiveSwitchEncodingInfo *, FMLiveSwitchEncodingInfo * > *) | value |
Removes a handler that is raised when the remote audio encoding is switched by the server.
- (void) removeOnRemoteCandidate: | (FMLiveSwitchAction2< FMLiveSwitchManagedConnection *, FMLiveSwitchCandidate * > *) | value |
Removes a handler that is raised when a remote candidate is ready.
Parameters:
- (void) removeOnRemoteDescription: | (FMLiveSwitchAction2< FMLiveSwitchManagedConnection *, FMLiveSwitchSessionDescription * > *) | value |
Removes a handler that is raised when the remote description is ready.
Parameters:
- (void) removeOnRemoteUpdate: | (FMLiveSwitchAction2< FMLiveSwitchConnectionInfo *, FMLiveSwitchConnectionInfo * > *) | value |
Removes a handler that is raised when a remote connection has been updated.
- (void) removeOnRemoteVideoEncodingSwitch: | (FMLiveSwitchAction2< FMLiveSwitchEncodingInfo *, FMLiveSwitchEncodingInfo * > *) | value |
Removes a handler that is raised when the remote video encoding is switched by the server.
- (void) removeOnSignallingStateChange: | (FMLiveSwitchAction1< FMLiveSwitchManagedConnection * > *) | value |
Removes a handler that is raised when the signalling state changes.
Parameters:
- (void) removeOnStateChange: | (FMLiveSwitchAction1< FMLiveSwitchManagedConnection * > *) | value |
Removes a handler that is raised when the connection state changes.
Parameters:
- (void) removeOnStats: | (FMLiveSwitchAction1< FMLiveSwitchConnectionStats * > *) | value |
Removes a handler that is raised every statsEventInterval milliseconds with the current connection stats.
- (void) removeOnVideoEnabledChange: | (FMLiveSwitchAction2< FMLiveSwitchManagedConnection *, id > *) | value |
Removes a handler that is raised when a connection has it's video state changed from disabled or enabled.
Due to connection constrainsts. Parameters:
- (void) removeOnVideoUnmuteDisabled: | (FMLiveSwitchAction0 *) | value |
Removes a handler that is raised when the ability to unmute video is disabled.
- (void) removeOnVideoUnmuteEnabled: | (FMLiveSwitchAction0 *) | value |
Removes a handler that is raised when the ability to unmute video is enabled.
- (FMLiveSwitchFuture<FMLiveSwitchMessage*>*) sendWithMessage: | (FMLiveSwitchMessage *) | message |
Sends a message.
message | The message. |
Implemented in FMLiveSwitchServerConnection, and FMLiveSwitchPeerConnection.
- (void) setBundlePolicy: | (FMLiveSwitchBundlePolicy) | value |
Sets the Bundle Policy.
- (void) setCreateDatagramSocket: | (FMLiveSwitchFunction1< FMLiveSwitchDatagramSocketCreateArgs *, FMLiveSwitchDatagramSocket * > *) | value |
Sets a method that creates Datagram sockets.
Optional. If not set, default OS UDP socket is used.
- (FMLiveSwitchDatagramSocketCreateArgs*) setCreateDatagramSocketBlock |
Sets a method that creates Datagram sockets.
Optional. If not set, default OS UDP socket is used.
- (void) setCreateDatagramSocketBlock: | (FMLiveSwitchDatagramSocket *(^)(FMLiveSwitchDatagramSocketCreateArgs *)) | valueBlock |
Sets a method that creates Datagram sockets.
Optional. If not set, default OS UDP socket is used.
- (void) setCreateStreamSocket: | (FMLiveSwitchFunction1< FMLiveSwitchStreamSocketCreateArgs *, FMLiveSwitchStreamSocket * > *) | value |
Sets a method that creates Stream sockets.
Optional. If not set, default OS TCP socket is used.
- (FMLiveSwitchStreamSocketCreateArgs*) setCreateStreamSocketBlock |
Sets a method that creates Stream sockets.
Optional. If not set, default OS TCP socket is used.
- (void) setCreateStreamSocketBlock: | (FMLiveSwitchStreamSocket *(^)(FMLiveSwitchStreamSocketCreateArgs *)) | valueBlock |
Sets a method that creates Stream sockets.
Optional. If not set, default OS TCP socket is used.
- (void) setDeadStreamTimeout: | (int) | value |
Sets the amount of time (in milliseconds) to wait before declaring the connection dead.
When there are no candidate pairs connected, the timer will start. When a candidate pair becomes connected the timer will be reset and stopped. If no candidate pairs become connected before the timeout is reached, the state of the connection will change to failed. Defaults to 15,000.
+ (void) setDefaultLocalDtlsCertificate: | (FMLiveSwitchDtlsCertificate *) | value |
Sets the default local DTLS certificate.
+ (void) setDefaultLocalDtlsCertificates: | (NSMutableArray *) | value |
Sets the default local DTLS certificates.
+ (void) setDefaultNoMediaServerTimeout: | (int) | value |
Sets the default timeout, in milliseconds, before we fail the connection attempt where no Media Servers are available for either ICE servers or SFU/MCU offer processing.
The default value is 120,000 (2 minutes).
+ (void) setDefaultStatsEventInterval: | (int) | value |
Sets the default interval, in milliseconds, between stats events raised locally by addOnStats:.
The default value is 1,000 (1 second).
+ (void) setDefaultStatsInterval: | (int) | value |
Sets the default interval, in milliseconds, between stats reports sent to the Gateway.
The default value is 10,000 (10 seconds).
+ (void) setDefaultStatsReportInterval: | (int) | value |
Sets the default interval, in milliseconds, between stats reports sent to the Gateway.
The default value is 10,000 (10 seconds).
- (void) setDisableAutomaticIceServers: | (bool) | value |
Sets whether to disable automatic ICE servers (embedded TURN).
- (void) setDtlsCipherSuites: | (NSMutableArray *) | value |
Sets the DTLS cipher suites to use.
Defaults to: DtlsCipherSuite.EcdheEcdsaAes128Sha, DtlsCipherSuite.EcdheEcdsaAes128GcmSha256, DtlsCipherSuite.EcdheEcdsaAes128CbcSha256, DtlsCipherSuite.EcdheRsaAes128Sha, DtlsCipherSuite.EcdheRsaAes128GcmSha256, DtlsCipherSuite.EcdheRsaAes128CbcSha256, DtlsCipherSuite.RsaAes128Sha, DtlsCipherSuite.RsaAes128GcmSha256, DtlsCipherSuite.RsaAes128CbcSha256,
- (void) setDtlsClientVersion: | (FMLiveSwitchDtlsProtocolVersion) | value |
Sets the protocol version to use when in the DTLS client role.
Defaults to FMLiveSwitchDtlsProtocolVersionDtls10.
- (void) setDtlsServerMaxVersion: | (FMLiveSwitchDtlsProtocolVersion) | value |
Sets the maximum protocol version to allow when in the DTLS server role.
Defaults to FMLiveSwitchDtlsProtocolVersionDtls12.
- (void) setDtlsServerMinVersion: | (FMLiveSwitchDtlsProtocolVersion) | value |
Sets the minimum protocol version to allow when in the DTLS server role.
Defaults to FMLiveSwitchDtlsProtocolVersionDtls10.
- (void) setIceAddressTypes: | (NSMutableArray *) | value |
Sets the ICE address types.
- (void) setIceGatherPolicy: | (FMLiveSwitchIceGatherPolicy) | value |
Sets the ICE gather policy.
- (void) setIcePolicy: | (FMLiveSwitchIcePolicy) | value |
Sets policy indicating whether ICE is required (and enabled) or disabled (and not required for this connection).
- (void) setIcePortRange: | (FMLiveSwitchIcePortRange *) | value |
Sets the ICE port range.
- (void) setIceServer: | (FMLiveSwitchIceServer *) | value |
Sets the ICE server.
- (void) setIceServers: | (NSMutableArray *) | value |
Sets the ICE servers.
- (void) setKeepAliveInterval: | (int) | value |
Sets a value indicating how many milliseconds must elapse between STUN keep-alive binding requests.
Defaults to 1000.
- (void) setLayoutPriority: | (FMLiveSwitchNullableInt *) | value |
Sets the LayoutPriority.
- (void) setLayoutZone: | (NSString *) | value |
Sets the LayoutZone.
- (void) setLocalAudioFormats: | (NSMutableArray *) | value |
Sets the local audio formats.
- (void) setLocalDtlsCertificate: | (FMLiveSwitchDtlsCertificate *) | value |
Sets the local DTLS certificate.
- (void) setLocalDtlsCertificates: | (NSMutableArray *) | value |
Sets the local DTLS certificates.
- (void) setLocalVideoFormats: | (NSMutableArray *) | value |
Sets the local video formats.
- (void) setMaxNoMediaServerRetryBackoff: | (int) | value |
Sets the maximum retry backoff timeout, in milliseconds, before we retry a request after receiving no Media Servers are available for either ICE servers or SFU/MCU offer processing.
The default value is 1500ms.
- (void) setMediaId: | (NSString *) | value |
Sets the media identifier.
- (void) setMinNoMediaServerRetryBackoff: | (int) | value |
Sets the mininum retry backoff timeout, in milliseconds, before we retry a request after receiving no Media Servers are available for either ICE servers or SFU/MCU offer processing.
The default value is 1000ms.
- (void) setMultiplexPolicy: | (FMLiveSwitchMultiplexPolicy) | value |
Sets the multiplex policy.
- (void) setNoMediaServerTimeout: | (int) | value |
Sets the timeout, in milliseconds, before failing a request where no Media Servers are available for either ICE servers or SFU/MCU offer processing.
- (void) setPrivateIPAddress: | (NSString *) | value |
Sets the private IP address of this device.
If set, this will bypass the local network discovery and use this as the sole host candidate.
- (void) setPrivateIPAddresses: | (NSMutableArray *) | value |
Sets the private IP address of this device.
If set, this will bypass the local network discovery and use this as the sole host candidate.
- (void) setRemoteAudioEncoding: | (FMLiveSwitchEncodingInfo *) | value |
Sets the remote audio encoding.
- (void) setRemoteAudioFormats: | (NSMutableArray *) | value |
Sets the remote audio formats.
- (void) setRemoteAudioMuted: | (bool) | value |
Sets whether the remote audio is muted.
- (void) setRemoteConnectionId: | (NSString *) | value |
Sets the remote connection identifier, if available.
- (void) setRemoteMediaId: | (NSString *) | value |
Sets the remote media identifier, if available.
- (void) setRemoteTag: | (NSString *) | value |
Sets the remote tag, if applicable.
- (void) setRemoteVideoEncoding: | (FMLiveSwitchEncodingInfo *) | value |
Sets the remote video encoding.
- (void) setRemoteVideoFormats: | (NSMutableArray *) | value |
Sets the remote video formats.
- (void) setRemoteVideoMuted: | (bool) | value |
Sets whether the remote video is muted.
- (void) setStatsEventInterval: | (int) | value |
Sets the interval, in milliseconds, between stats events raised locally by addOnStats:.
The default value is 1000 (1 second).
- (void) setStatsInterval: | (int) | value |
Sets the default interval, in milliseconds, between stats reports sent to the Gateway.
The default value is 10,000 (10 seconds).
- (void) setStatsReportInterval: | (int) | value |
Sets the interval, in milliseconds, between stats reports sent to the Gateway.
The default value is 10,000 (10 seconds).
- (void) setStunBindingRequestLimit: | (int) | value |
Sets the limit on the the number of Turn Allocate request messages when trying to establish allocation on a Turn server.
- (void) setStunRequestTimeout: | (int) | value |
Sets the timeout for individual Stun (and Turn) request messages in ms.
- (void) setTag: | (NSString *) | value |
Sets the tag.
- (void) setTcpConnectTimeout: | (int) | value |
Sets connection timeout for stream sockets in ms.
- (void) setTestReceivedRtpBuffer: | (FMLiveSwitchFunction1< FMLiveSwitchDataBuffer *, FMLiveSwitchDataBuffer * > *) | value |
Sets a method that can be used to test and optionally modify inbound RTP buffers.
FOR TESTING PURPOSES ONLY. Returning null
will cause the buffer to be discarded.
- (FMLiveSwitchDataBuffer*) setTestReceivedRtpBufferBlock |
Sets a method that can be used to test and optionally modify inbound RTP buffers.
FOR TESTING PURPOSES ONLY. Returning null
will cause the buffer to be discarded.
- (void) setTestReceivedRtpBufferBlock: | (FMLiveSwitchDataBuffer *(^)(FMLiveSwitchDataBuffer *)) | valueBlock |
Sets a method that can be used to test and optionally modify inbound RTP buffers.
FOR TESTING PURPOSES ONLY. Returning null
will cause the buffer to be discarded.
- (void) setTestRoundTripTime: | (int) | value |
Sets a fixed round-trip time (in milliseconds) to use in the network transport.
FOR TESTING PURPOSES ONLY. Defaults to -1, which indicates that normal round-trip time calculations should be used.
- (void) setTestSendingRtpBuffer: | (FMLiveSwitchFunction1< FMLiveSwitchDataBuffer *, FMLiveSwitchDataBuffer * > *) | value |
Sets a method that can be used to test and optionally modify outbound RTP buffers.
FOR TESTING PURPOSES ONLY. Returning null
will cause the buffer to be discarded.
- (FMLiveSwitchDataBuffer*) setTestSendingRtpBufferBlock |
Sets a method that can be used to test and optionally modify outbound RTP buffers.
FOR TESTING PURPOSES ONLY. Returning null
will cause the buffer to be discarded.
- (void) setTestSendingRtpBufferBlock: | (FMLiveSwitchDataBuffer *(^)(FMLiveSwitchDataBuffer *)) | valueBlock |
Sets a method that can be used to test and optionally modify outbound RTP buffers.
FOR TESTING PURPOSES ONLY. Returning null
will cause the buffer to be discarded.
- (void) setTrickleIcePolicy: | (FMLiveSwitchTrickleIcePolicy) | value |
Sets the trickle-ICE policy.
- (void) setTurnAllocateRequestLimit: | (int) | value |
Sets the limit on the the number of Turn Allocate request messages when trying to establish allocation on a Turn server.
- (void) setUseWebSocketsForMedia: | (bool) | value |
Sets if we should use WebSockets for sending media.
Sets a method that determines when to enable video again on a connection that dynamically disables video.
Optional. If not set, default policy will be used. Takes in an interger parameter that represents the amount of attempts already tried. Will return an interger value as a time period in seconds for how long to wait for the next attempt or -1 for no more attempts.
- (int) setVideoEnabledUpdateConnectionPolicyBlock |
Sets a method that determines when to enable video again on a connection that dynamically disables video.
Optional. If not set, default policy will be used. Takes in an interger parameter that represents the amount of attempts already tried. Will return an interger value as a time period in seconds for how long to wait for the next attempt or -1 for no more attempts.
- (void) setVideoEnabledUpdateConnectionPolicyBlock: | (int(^)(int)) | valueBlock |
Sets a method that determines when to enable video again on a connection that dynamically disables video.
Optional. If not set, default policy will be used. Takes in an interger parameter that represents the amount of attempts already tried. Will return an interger value as a time period in seconds for how long to wait for the next attempt or -1 for no more attempts.
- (void) setVideoRetentionPolicy: | (FMLiveSwitchVideoRetentionPolicy) | value |
Sets the Video Retention Policy.
This will determine how we will handle video on the connection when the connection is of poor quality.
- (void) setWmsAddress: | (NSString *) | value |
Sets the WMS endpoint address.
- (void) setWmsConnectionToken: | (NSString *) | value |
Sets WMS connection token.
- (FMLiveSwitchSignallingState) signallingState |
Gets the state of the signalling.
- (FMLiveSwitchConnectionState) state |
Gets the state of the connection.
- (int) statsEventInterval |
Gets the interval, in milliseconds, between stats events raised locally by addOnStats:.
The default value is 1000 (1 second).
- (int) statsInterval |
Gets the default interval, in milliseconds, between stats reports sent to the Gateway.
The default value is 10,000 (10 seconds).
- (int) statsReportInterval |
Gets the interval, in milliseconds, between stats reports sent to the Gateway.
The default value is 10,000 (10 seconds).
- (int) stunBindingRequestLimit |
Gets the limit on the the number of Turn Allocate request messages when trying to establish allocation on a Turn server.
- (int) stunRequestTimeout |
Gets the timeout for individual Stun (and Turn) request messages in ms.
- (NSString*) tag |
Gets the tag.
- (int) tcpConnectTimeout |
Gets connection timeout for stream sockets in ms.
- (FMLiveSwitchFunction1<FMLiveSwitchDataBuffer*,FMLiveSwitchDataBuffer*>*) testReceivedRtpBuffer |
Gets a method that can be used to test and optionally modify inbound RTP buffers.
FOR TESTING PURPOSES ONLY. Returning null
will cause the buffer to be discarded.
- (int) testRoundTripTime |
Gets a fixed round-trip time (in milliseconds) to use in the network transport.
FOR TESTING PURPOSES ONLY. Defaults to -1, which indicates that normal round-trip time calculations should be used.
- (FMLiveSwitchFunction1<FMLiveSwitchDataBuffer*,FMLiveSwitchDataBuffer*>*) testSendingRtpBuffer |
Gets a method that can be used to test and optionally modify outbound RTP buffers.
FOR TESTING PURPOSES ONLY. Returning null
will cause the buffer to be discarded.
- (FMLiveSwitchTrickleIcePolicy) trickleIcePolicy |
Gets the trickle-ICE policy.
- (bool) trySendRtcpDataChannelWithMessage: | (FMLiveSwitchMessage *) | message |
Sends bitrate messages.
message | The message to send. |
Implemented in FMLiveSwitchServerConnection.
- (int) turnAllocateRequestLimit |
Gets the limit on the the number of Turn Allocate request messages when trying to establish allocation on a Turn server.
- (NSString*) type |
Gets the connection type.
- (FMLiveSwitchFuture<id>*) updateWithConfig: | (FMLiveSwitchConnectionConfig *) | config |
Updates this connection.
config | The connection configuration. |
- (NSString*) userId |
Gets the user identifier.
- (bool) useWebSocketsForMedia |
Gets if we should use WebSockets for sending media.
- (NSString*) videoDirection |
Gets the video direction.
Null if disabled.
- (int) videoEnabledConnectionUpdateAttempts |
Gets the amount of attempts this connection has made to enabled video on a connection.
These attempts happen after the connection has been updated to disabled video due to network constraints.
Gets a method that determines when to enable video again on a connection that dynamically disables video.
Optional. If not set, default policy will be used. Takes in an interger parameter that represents the amount of attempts already tried. Will return an interger value as a time period in seconds for how long to wait for the next attempt or -1 for no more attempts.
- (FMLiveSwitchVideoRetentionPolicy) videoRetentionPolicy |
Gets the Video Retention Policy.
This will determine how we will handle video on the connection when the connection is of poor quality.
- (FMLiveSwitchVideoStream*) videoStream |
Gets the video stream.
- (bool) videoUnmuteDisabled |
Gets whether the ability to unmute video is disabled.
- (NSString*) wmsAddress |
Gets the WMS endpoint address.
- (NSString*) wmsConnectionToken |
Gets WMS connection token.