Connection base properties/methods. More...
Instance Methods | |
(void) | - addIceServers: |
Adds some ICE servers. More... | |
(void) | - addOnExternalIdChange: |
Adds a handler that is raised when external Id of this connection changes. More... | |
(NSString *, NSString *) | - addOnExternalIdChangeWithBlock |
Adds a handler that is raised when external Id of this connection changes. More... | |
(void) | - addOnExternalIdChangeWithBlock: |
Adds a handler that is raised when external Id of this connection changes. More... | |
(void) | - addOnGatheringStateChange: |
Adds a handler that is raised when the gathering state changes. More... | |
(TConnection) | - addOnGatheringStateChangeWithBlock |
Adds a handler that is raised when the gathering state changes. More... | |
(void) | - addOnGatheringStateChangeWithBlock: |
Adds a handler that is raised when the gathering state changes. More... | |
(void) | - addOnIceConnectionStateChange: |
Adds a handler that is raised when the ice connection state changes. More... | |
(TConnection) | - 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 added. More... | |
(TConnection, FMLiveSwitchCandidate *) | - addOnLocalCandidateWithBlock |
Adds a handler that is raised when a local candidate is added. More... | |
(void) | - addOnLocalCandidateWithBlock: |
Adds a handler that is raised when a local candidate is added. More... | |
(void) | - addOnLocalDescription: |
Adds a handler that is raised when a local description is set. More... | |
(TConnection, FMLiveSwitchSessionDescription *) | - addOnLocalDescriptionWithBlock |
Adds a handler that is raised when a local description is set. More... | |
(void) | - addOnLocalDescriptionWithBlock: |
Adds a handler that is raised when a local description is set. More... | |
(void) | - addOnRemoteCandidate: |
Adds a handler that is raised when a remote description is added. More... | |
(TConnection, FMLiveSwitchCandidate *) | - addOnRemoteCandidateWithBlock |
Adds a handler that is raised when a remote description is added. More... | |
(void) | - addOnRemoteCandidateWithBlock: |
Adds a handler that is raised when a remote description is added. More... | |
(void) | - addOnRemoteDescription: |
Adds a handler that is raised when a remote description is set. More... | |
(TConnection, FMLiveSwitchSessionDescription *) | - addOnRemoteDescriptionWithBlock |
Adds a handler that is raised when a remote description is set. More... | |
(void) | - addOnRemoteDescriptionWithBlock: |
Adds a handler that is raised when a remote description is set. More... | |
(void) | - addOnSignallingStateChange: |
Adds a handler that is raised when the signalling state changes. More... | |
(TConnection) | - 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... | |
(TConnection) | - 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... | |
(FMLiveSwitchFuture< FMLiveSwitchCandidate * > *) | - addRemoteCandidate: |
Adds the remote candidate. More... | |
(TAudioStream) | - audioStream |
Gets the first audio stream. More... | |
(NSMutableArray *) | - audioStreams |
Gets the audio streams. More... | |
(FMLiveSwitchBundlePolicy) | - bundlePolicy |
Gets the bundle policy. More... | |
(NSString *) | - canonicalName |
Gets the canonical name. More... | |
(bool) | - close |
Closes this instance. More... | |
(FMLiveSwitchFuture< id > *) | - closed |
Gets a future that resolves if the connection enters the Closed state or rejects if the connection enters the Failed state before that happens. More... | |
(FMLiveSwitchFuture< id > *) | - connected |
Gets a future that resolves if the connection enters the Connected state or rejects if the connection enters the Failed state before that happens. More... | |
(FMLiveSwitchFuture< FMLiveSwitchSessionDescription * > *) | - createAnswer |
Creates an answer. More... | |
(FMLiveSwitchFuture< FMLiveSwitchSessionDescription * > *) | - createOffer |
Creates an offer. More... | |
(TDataStream) | - dataStream |
Gets the first data stream. More... | |
(NSMutableArray *) | - dataStreams |
Gets the data streams. More... | |
(int) | - deadStreamTimeout |
Gets the amount of time (in milliseconds) to wait for connectivity checks to re-establish after they start to fail on a live connection. More... | |
(void) | - doAddRemoteCandidateWithPromise:remoteCandidate: |
Adds the remote candidate. More... | |
(void) | - doCreateAnswerWithPromise: |
Creates an answer. More... | |
(bool) | - doCreateOfferWithPromise: |
Creates an offer. More... | |
(FMLiveSwitchError *) | - doProcessDescription:isLocalDescription: |
Processes a session description. More... | |
(void) | - doSendCachedLocalCandidates |
Dispatches cached local candidates that were gathered while Connection generated session description. More... | |
(void) | - doSetLocalDescriptionWithPromise:localDescription: |
Sets the local description. More... | |
(void) | - doSetRemoteDescriptionWithPromise:remoteDescription: |
Sets the remote description. More... | |
(FMLiveSwitchError *) | - error |
Gets the error. More... | |
(NSString *) | - externalId |
Gets the external identifier. More... | |
(FMLiveSwitchFuture< id > *) | - failed |
Gets a future that resolves if the connection enters the Failed state or rejects if the connection enters the Closed state before that happens. More... | |
(FMLiveSwitchIceGatheringState) | - gatheringState |
Gets the ICE gathering state. 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... | |
(FMLiveSwitchIceConnectionState) | - iceConnectionState |
Gets the ICE connection state. More... | |
(FMLiveSwitchIceGatherPolicy) | - iceGatherPolicy |
Gets the ICE gather policy. More... | |
(FMLiveSwitchIceServer *) | - iceServer |
Gets the ICE server. More... | |
(NSMutableArray *) | - iceServers |
Gets the ICE servers. More... | |
(NSString *) | - id |
Gets the identifier. More... | |
(instancetype) | - initWithSharedLock: |
Initializes a new instance of the FMLiveSwitchConnectionBase`6 class. More... | |
(TConnection) | - instance |
Gets the current instance. More... | |
(bool) | - isTerminated |
Gets a value indicating whether the connection is currently closed or failed. More... | |
(bool) | - isTerminating |
Gets a value indicating whether the connection is currently closing or failing. More... | |
(bool) | - isTerminatingOrTerminated |
Gets a value indicating whether the connection is currently closing, failing, closed, or failed. More... | |
(bool) | - legacyTimeout |
Gets a value indicating whether legacy Connection.Timeout should be used. More... | |
(FMLiveSwitchSessionDescription *) | - localDescription |
Gets the local description. More... | |
(FMLiveSwitchMediaProtocol) | - mediaProtocol |
Gets the media protocol in use on this connection. More... | |
(FMLiveSwitchError *) | - processDescription:isLocalDescription: |
Processes a session description. More... | |
(void) | - processStateChange |
Processes a state change. More... | |
(void) | - raiseGatheringStateChangeWithConnection: |
Raises gathering state change. More... | |
(void) | - raiseIceConnectionStateChangeWithConnection: |
Raises ICE connection state change. More... | |
(void) | - raiseLocalCandidate: |
Raises a local candidate but only if it has not been already raised. More... | |
(FMLiveSwitchSessionDescription *) | - remoteDescription |
Gets the remote description. More... | |
(void) | - removeIceServer: |
Removes an ICE server. More... | |
(void) | - removeIceServers: |
Removes some ICE servers. More... | |
(void) | - removeOnExternalIdChange: |
Removes a handler that is raised when external Id of this connection changes. More... | |
(void) | - removeOnGatheringStateChange: |
Removes a handler that is raised when the 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 added. More... | |
(void) | - removeOnLocalDescription: |
Removes a handler that is raised when a local description is set. More... | |
(void) | - removeOnRemoteCandidate: |
Removes a handler that is raised when a remote description is added. More... | |
(void) | - removeOnRemoteDescription: |
Removes a handler that is raised when a remote description is set. 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) | - setBundlePolicy: |
Sets the bundle policy. More... | |
(void) | - setDeadStreamTimeout: |
Sets the amount of time (in milliseconds) to wait for connectivity checks to re-establish after they start to fail on a live connection. More... | |
(void) | - setError: |
Sets the error. More... | |
(void) | - setExternalId: |
Sets the external identifier. More... | |
(void) | - setGatheringState: |
Sets the ICE gathering state. More... | |
(void) | - setIceConnectionState: |
Sets the ICE connection state. More... | |
(void) | - setIceGatherPolicy: |
Sets the ICE gather policy. More... | |
(void) | - setIceServer: |
Sets the ICE server. More... | |
(void) | - setIceServers: |
Sets the ICE servers. More... | |
(void) | - setLegacyTimeout: |
Sets a value indicating whether legacy Connection.Timeout should be used. More... | |
(FMLiveSwitchFuture< FMLiveSwitchSessionDescription * > *) | - setLocalDescription: |
Sets the local description. More... | |
(void) | - setMediaProtocol: |
Sets the media protocol in use on this connection. More... | |
(FMLiveSwitchFuture< FMLiveSwitchSessionDescription * > *) | - setRemoteDescription: |
Sets the remote description. More... | |
(void) | - setSignallingState: |
Sets the state of the signalling. More... | |
(void) | - setTieBreaker: |
Sets the tie breaker. More... | |
(void) | - setTimeout: |
Sets the amount of time (in milliseconds) to wait for a connection to establish before giving up and closing it. More... | |
(void) | - setTrickleIcePolicy: |
Sets Trickle Ice Support Policy. 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... | |
(FMLiveSwitchSignallingState) | - signallingState |
Gets the state of the signalling. More... | |
(FMLiveSwitchConnectionState) | - state |
Gets the state of the connection. More... | |
(TStream) | - stream |
Gets the first stream. More... | |
(NSMutableArray *) | - streams |
Gets the streams. More... | |
(NSString *) | - tieBreaker |
Gets the tie breaker. More... | |
(int) | - timeout |
Gets the amount of time (in milliseconds) to wait for a connection to establish before giving up and closing it. More... | |
(FMLiveSwitchTrickleIcePolicy) | - trickleIcePolicy |
Gets Trickle Ice Support Policy. 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... | |
(TVideoStream) | - videoStream |
Gets the first video stream. More... | |
(NSMutableArray *) | - videoStreams |
Gets the video streams. More... | |
Class Methods | |
(FMLiveSwitchConnectionBase *) | + connectionBaseWithSharedLock: |
Initializes a new instance of the FMLiveSwitchConnectionBase`6 class. More... | |
Protected Attributes | |
__pad0__: FMLiveSwitchDynamic<FMLiveSwitchIConnection>- (void) addIceServer:(FMLiveSwitchIceServer*)iceServer | |
Connection base properties/methods.
- (void) addIceServers: | (NSMutableArray *) | iceServers |
Adds some ICE servers.
iceServers | The ICE servers. |
Adds a handler that is raised when external Id of this connection changes.
Old external Id as well as internal Id are raised.
Adds a handler that is raised when external Id of this connection changes.
Old external Id as well as internal Id are raised.
Adds a handler that is raised when external Id of this connection changes.
Old external Id as well as internal Id are raised.
- (void) addOnGatheringStateChange: | (FMLiveSwitchAction1< TConnection > *) | value |
Adds a handler that is raised when the gathering state changes.
- (TConnection) addOnGatheringStateChangeWithBlock |
Adds a handler that is raised when the gathering state changes.
- (void) addOnGatheringStateChangeWithBlock: | (void(^)(TConnection)) | valueBlock |
Adds a handler that is raised when the gathering state changes.
- (void) addOnIceConnectionStateChange: | (FMLiveSwitchAction1< TConnection > *) | value |
Adds a handler that is raised when the ice connection state changes.
- (TConnection) addOnIceConnectionStateChangeWithBlock |
Adds a handler that is raised when the ice connection state changes.
- (void) addOnIceConnectionStateChangeWithBlock: | (void(^)(TConnection)) | valueBlock |
Adds a handler that is raised when the ice connection state changes.
- (void) addOnLocalCandidate: | (FMLiveSwitchAction2< TConnection, FMLiveSwitchCandidate * > *) | value |
Adds a handler that is raised when a local candidate is added.
- (TConnection, FMLiveSwitchCandidate*) addOnLocalCandidateWithBlock |
Adds a handler that is raised when a local candidate is added.
- (void) addOnLocalCandidateWithBlock: | (void(^)(TConnection, FMLiveSwitchCandidate *)) | valueBlock |
Adds a handler that is raised when a local candidate is added.
- (void) addOnLocalDescription: | (FMLiveSwitchAction2< TConnection, FMLiveSwitchSessionDescription * > *) | value |
Adds a handler that is raised when a local description is set.
- (TConnection, FMLiveSwitchSessionDescription*) addOnLocalDescriptionWithBlock |
Adds a handler that is raised when a local description is set.
- (void) addOnLocalDescriptionWithBlock: | (void(^)(TConnection, FMLiveSwitchSessionDescription *)) | valueBlock |
Adds a handler that is raised when a local description is set.
- (void) addOnRemoteCandidate: | (FMLiveSwitchAction2< TConnection, FMLiveSwitchCandidate * > *) | value |
Adds a handler that is raised when a remote description is added.
- (TConnection, FMLiveSwitchCandidate*) addOnRemoteCandidateWithBlock |
Adds a handler that is raised when a remote description is added.
- (void) addOnRemoteCandidateWithBlock: | (void(^)(TConnection, FMLiveSwitchCandidate *)) | valueBlock |
Adds a handler that is raised when a remote description is added.
- (void) addOnRemoteDescription: | (FMLiveSwitchAction2< TConnection, FMLiveSwitchSessionDescription * > *) | value |
Adds a handler that is raised when a remote description is set.
- (TConnection, FMLiveSwitchSessionDescription*) addOnRemoteDescriptionWithBlock |
Adds a handler that is raised when a remote description is set.
- (void) addOnRemoteDescriptionWithBlock: | (void(^)(TConnection, FMLiveSwitchSessionDescription *)) | valueBlock |
Adds a handler that is raised when a remote description is set.
- (void) addOnSignallingStateChange: | (FMLiveSwitchAction1< TConnection > *) | value |
Adds a handler that is raised when the signalling state changes.
- (TConnection) addOnSignallingStateChangeWithBlock |
Adds a handler that is raised when the signalling state changes.
- (void) addOnSignallingStateChangeWithBlock: | (void(^)(TConnection)) | valueBlock |
Adds a handler that is raised when the signalling state changes.
- (void) addOnStateChange: | (FMLiveSwitchAction1< TConnection > *) | value |
Adds a handler that is raised when the connection state changes.
- (TConnection) addOnStateChangeWithBlock |
Adds a handler that is raised when the connection state changes.
- (void) addOnStateChangeWithBlock: | (void(^)(TConnection)) | valueBlock |
Adds a handler that is raised when the connection state changes.
- (FMLiveSwitchFuture<FMLiveSwitchCandidate*>*) addRemoteCandidate: | (FMLiveSwitchCandidate *) | remoteCandidate |
Adds the remote candidate.
remoteCandidate | The remote candidate. |
- (TAudioStream) audioStream |
Gets the first audio stream.
- (NSMutableArray*) audioStreams |
Gets the audio streams.
Implemented in FMLiveSwitchConnection.
- (FMLiveSwitchBundlePolicy) bundlePolicy |
Gets the bundle policy.
- (NSString*) canonicalName |
Gets the canonical name.
- (bool) close |
Closes this instance.
Implemented in FMLiveSwitchConnection.
- (FMLiveSwitchFuture<id>*) closed |
Gets a future that resolves if the connection enters the Closed state or rejects if the connection enters the Failed state before that happens.
- (FMLiveSwitchFuture<id>*) connected |
Gets a future that resolves if the connection enters the Connected state or rejects if the connection enters the Failed state before that happens.
+ (FMLiveSwitchConnectionBase*) connectionBaseWithSharedLock: | (id) | sharedLock |
Initializes a new instance of the FMLiveSwitchConnectionBase`6 class.
- (FMLiveSwitchFuture<FMLiveSwitchSessionDescription*>*) createAnswer |
Creates an answer.
- (FMLiveSwitchFuture<FMLiveSwitchSessionDescription*>*) createOffer |
Creates an offer.
- (TDataStream) dataStream |
Gets the first data stream.
- (NSMutableArray*) dataStreams |
Gets the data streams.
Implemented in FMLiveSwitchConnection.
- (int) deadStreamTimeout |
Gets the amount of time (in milliseconds) to wait for connectivity checks to re-establish after they start to fail on a live connection.
Defaults to 15,000.
- (void) doAddRemoteCandidateWithPromise: | (FMLiveSwitchPromise< FMLiveSwitchCandidate * > *) | promise | |
remoteCandidate: | (FMLiveSwitchCandidate *) | remoteCandidate | |
Adds the remote candidate.
promise | The promise. |
remoteCandidate | The remote candidate. |
Implemented in FMLiveSwitchConnection.
- (void) doCreateAnswerWithPromise: | (FMLiveSwitchPromise< FMLiveSwitchSessionDescription * > *) | promise |
Creates an answer.
Implemented in FMLiveSwitchConnection.
- (bool) doCreateOfferWithPromise: | (FMLiveSwitchPromise< FMLiveSwitchSessionDescription * > *) | promise |
Creates an offer.
Implemented in FMLiveSwitchConnection.
- (FMLiveSwitchError*) doProcessDescription: | (FMLiveSwitchSessionDescription *) | description | |
isLocalDescription: | (bool) | isLocalDescription | |
Processes a session description.
description | The session description. |
isLocalDescription | Whether this is a local session description. |
Implemented in FMLiveSwitchConnection.
- (void) doSendCachedLocalCandidates |
Dispatches cached local candidates that were gathered while Connection generated session description.
Implemented in FMLiveSwitchConnection.
- (void) doSetLocalDescriptionWithPromise: | (FMLiveSwitchPromise< FMLiveSwitchSessionDescription * > *) | promise | |
localDescription: | (FMLiveSwitchSessionDescription *) | localDescription | |
Sets the local description.
promise | The promise. |
localDescription | The local description. |
Implemented in FMLiveSwitchConnection.
- (void) doSetRemoteDescriptionWithPromise: | (FMLiveSwitchPromise< FMLiveSwitchSessionDescription * > *) | promise | |
remoteDescription: | (FMLiveSwitchSessionDescription *) | remoteDescription | |
Sets the remote description.
promise | The promise. |
remoteDescription | The remote description. |
Implemented in FMLiveSwitchConnection.
- (FMLiveSwitchError*) error |
Gets the error.
- (NSString*) externalId |
Gets the external identifier.
- (FMLiveSwitchFuture<id>*) failed |
Gets a future that resolves if the connection enters the Failed state or rejects if the connection enters the Closed state before that happens.
- (FMLiveSwitchIceGatheringState) gatheringState |
Gets the ICE gathering state.
Implemented in FMLiveSwitchConnection.
- (FMLiveSwitchFuture<FMLiveSwitchConnectionStats*>*) getStats |
Gets the current connection stats.
Implemented in FMLiveSwitchConnection.
- (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.
- (FMLiveSwitchIceConnectionState) iceConnectionState |
Gets the ICE connection state.
Implemented in FMLiveSwitchConnection.
- (FMLiveSwitchIceGatherPolicy) iceGatherPolicy |
Gets the ICE gather policy.
- (FMLiveSwitchIceServer*) iceServer |
Gets the ICE server.
- (NSMutableArray*) iceServers |
Gets the ICE servers.
- (instancetype) initWithSharedLock: | (id) | sharedLock |
Initializes a new instance of the FMLiveSwitchConnectionBase`6 class.
- (TConnection) instance |
Gets the current instance.
Implemented in FMLiveSwitchConnection.
- (bool) isTerminated |
Gets a value indicating whether the connection is currently closed or failed.
- (bool) isTerminating |
Gets a value indicating whether the connection is currently closing or failing.
- (bool) isTerminatingOrTerminated |
Gets a value indicating whether the connection is currently closing, failing, closed, or failed.
- (bool) legacyTimeout |
Gets a value indicating whether legacy Connection.Timeout should be used.
When disabled, Connection.Timeout only accounts for the time spent trying to establish connectivity (i.e. time it takes to transition from the Connecting to the Connected state; from the time point when both offer and answer had been set to the connection being fully established). When enabled, Connection.Timeout accounts for the time spent from receiving an offer (or creating an offer) to establishing connectivity (i.e. time it takes to transition from Initializing to Connected state). By default, LegacyTimeout is set to true, so that existing behavior is preserved. However, in the future default will be updated to false. This means that IL will not account for any signalling delays that may occur while establishing connectivity. This option will be later deprecated.
- (FMLiveSwitchSessionDescription*) localDescription |
Gets the local description.
Implemented in FMLiveSwitchConnection.
- (FMLiveSwitchMediaProtocol) mediaProtocol |
Gets the media protocol in use on this connection.
- (FMLiveSwitchError*) processDescription: | (FMLiveSwitchSessionDescription *) | description | |
isLocalDescription: | (bool) | isLocalDescription | |
Processes a session description.
description | The session description. |
isLocalDescription | Whether this is a local session description. |
- (void) processStateChange |
Processes a state change.
Implemented in FMLiveSwitchConnection.
- (void) raiseGatheringStateChangeWithConnection: | (TConnection) | connection |
Raises gathering state change.
- (void) raiseIceConnectionStateChangeWithConnection: | (TConnection) | connection |
Raises ICE connection state change.
- (void) raiseLocalCandidate: | (FMLiveSwitchCandidate *) | localCandidate |
Raises a local candidate but only if it has not been already raised.
localCandidate | The local candidate. |
Implemented in FMLiveSwitchConnection.
- (FMLiveSwitchSessionDescription*) remoteDescription |
Gets the remote description.
Implemented in FMLiveSwitchConnection.
- (void) removeIceServer: | (FMLiveSwitchIceServer *) | iceServer |
Removes an ICE server.
iceServer | The ICE server. |
- (void) removeIceServers: | (NSMutableArray *) | iceServers |
Removes some ICE servers.
iceServers | The ICE servers. |
Removes a handler that is raised when external Id of this connection changes.
Old external Id as well as internal Id are raised.
- (void) removeOnGatheringStateChange: | (FMLiveSwitchAction1< TConnection > *) | value |
Removes a handler that is raised when the gathering state changes.
- (void) removeOnIceConnectionStateChange: | (FMLiveSwitchAction1< TConnection > *) | value |
Removes a handler that is raised when the ice connection state changes.
- (void) removeOnLocalCandidate: | (FMLiveSwitchAction2< TConnection, FMLiveSwitchCandidate * > *) | value |
Removes a handler that is raised when a local candidate is added.
- (void) removeOnLocalDescription: | (FMLiveSwitchAction2< TConnection, FMLiveSwitchSessionDescription * > *) | value |
Removes a handler that is raised when a local description is set.
- (void) removeOnRemoteCandidate: | (FMLiveSwitchAction2< TConnection, FMLiveSwitchCandidate * > *) | value |
Removes a handler that is raised when a remote description is added.
- (void) removeOnRemoteDescription: | (FMLiveSwitchAction2< TConnection, FMLiveSwitchSessionDescription * > *) | value |
Removes a handler that is raised when a remote description is set.
- (void) removeOnSignallingStateChange: | (FMLiveSwitchAction1< TConnection > *) | value |
Removes a handler that is raised when the signalling state changes.
- (void) removeOnStateChange: | (FMLiveSwitchAction1< TConnection > *) | value |
Removes a handler that is raised when the connection state changes.
- (void) setBundlePolicy: | (FMLiveSwitchBundlePolicy) | value |
Sets the bundle policy.
- (void) setDeadStreamTimeout: | (int) | value |
Sets the amount of time (in milliseconds) to wait for connectivity checks to re-establish after they start to fail on a live connection.
Defaults to 15,000.
- (void) setError: | (FMLiveSwitchError *) | value |
Sets the error.
- (void) setExternalId: | (NSString *) | value |
Sets the external identifier.
- (void) setGatheringState: | (FMLiveSwitchIceGatheringState) | value |
Sets the ICE gathering state.
Implemented in FMLiveSwitchConnection.
- (void) setIceConnectionState: | (FMLiveSwitchIceConnectionState) | value |
Sets the ICE connection state.
Implemented in FMLiveSwitchConnection.
- (void) setIceGatherPolicy: | (FMLiveSwitchIceGatherPolicy) | value |
Sets the ICE gather policy.
- (void) setIceServer: | (FMLiveSwitchIceServer *) | value |
Sets the ICE server.
- (void) setIceServers: | (NSMutableArray *) | value |
Sets the ICE servers.
- (void) setLegacyTimeout: | (bool) | value |
Sets a value indicating whether legacy Connection.Timeout should be used.
When disabled, Connection.Timeout only accounts for the time spent trying to establish connectivity (i.e. time it takes to transition from the Connecting to the Connected state; from the time point when both offer and answer had been set to the connection being fully established). When enabled, Connection.Timeout accounts for the time spent from receiving an offer (or creating an offer) to establishing connectivity (i.e. time it takes to transition from Initializing to Connected state). By default, LegacyTimeout is set to true, so that existing behavior is preserved. However, in the future default will be updated to false. This means that IL will not account for any signalling delays that may occur while establishing connectivity. This option will be later deprecated.
- (FMLiveSwitchFuture<FMLiveSwitchSessionDescription*>*) setLocalDescription: | (FMLiveSwitchSessionDescription *) | localDescription |
Sets the local description.
localDescription | The local description. |
- (void) setMediaProtocol: | (FMLiveSwitchMediaProtocol) | value |
Sets the media protocol in use on this connection.
- (FMLiveSwitchFuture<FMLiveSwitchSessionDescription*>*) setRemoteDescription: | (FMLiveSwitchSessionDescription *) | remoteDescription |
Sets the remote description.
remoteDescription | The remote description. |
- (void) setSignallingState: | (FMLiveSwitchSignallingState) | value |
Sets the state of the signalling.
- (void) setTieBreaker: | (NSString *) | value |
Sets the tie breaker.
- (void) setTimeout: | (int) | value |
Sets the amount of time (in milliseconds) to wait for a connection to establish before giving up and closing it.
Defaults to 30,000.
- (void) setTrickleIcePolicy: | (FMLiveSwitchTrickleIcePolicy) | value |
Sets Trickle Ice Support Policy.
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 poor in quality.
- (FMLiveSwitchSignallingState) signallingState |
Gets the state of the signalling.
- (FMLiveSwitchConnectionState) state |
Gets the state of the connection.
- (TStream) stream |
Gets the first stream.
- (NSMutableArray*) streams |
Gets the streams.
Implemented in FMLiveSwitchConnection.
- (NSString*) tieBreaker |
Gets the tie breaker.
- (int) timeout |
Gets the amount of time (in milliseconds) to wait for a connection to establish before giving up and closing it.
Defaults to 30,000.
- (FMLiveSwitchTrickleIcePolicy) trickleIcePolicy |
Gets Trickle Ice Support Policy.
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 poor in quality.
- (TVideoStream) videoStream |
Gets the first video stream.
- (NSMutableArray*) videoStreams |
Gets the video streams.
Implemented in FMLiveSwitchConnection.
|
protected |