FMIceLinkConnection Class Reference

Inherits from FMIceLinkConnectionBase : FMIceLinkDynamic : FMIceLinkSerializable : NSObject
Conforms to *
FMIceLinkAudioStream
FMIceLinkConnection
FMIceLinkDataChannel
FMIceLinkDataStream
FMIceLinkStream
FMIceLinkVideoStream
Declared in FMIceLinkConnection.h
FMIceLinkConnection.m

Overview

A peer-to-peer [connection](#//api/name/connection).

Other Methods

– audioStreams

Gets the audio [streams](#//api/name/streams).
- (NSMutableArray *)audioStreams

Discussion

Gets the audio [streams](#//api/name/streams).

Declared In

FMIceLinkConnection.h

– close

Closes this [instance](#//api/name/instance).
- (void)close

Discussion

Closes this [instance](#//api/name/instance).

Declared In

FMIceLinkConnection.h

+ connection

Initializes a new [instance](#//api/name/instance) of the FMIceLinkConnection class.
+ (FMIceLinkConnection *)connection

Discussion

Initializes a new [instance](#//api/name/instance) of the FMIceLinkConnection class.

Declared In

FMIceLinkConnection.h

+ connectionWithStream:

Initializes a new [instance](#//api/name/instance) of the FMIceLinkConnection class.
+ (FMIceLinkConnection *)connectionWithStream:(FMIceLinkStream *)stream

Parameters

stream

The stream.

Discussion

Initializes a new [instance](#//api/name/instance) of the FMIceLinkConnection class.

Declared In

FMIceLinkConnection.h

+ connectionWithStreams:

Initializes a new [instance](#//api/name/instance) of the FMIceLinkConnection class.
+ (FMIceLinkConnection *)connectionWithStreams:(NSMutableArray *)streams

Parameters

streams

The streams.

Discussion

Initializes a new [instance](#//api/name/instance) of the FMIceLinkConnection class.

Declared In

FMIceLinkConnection.h

– createDatagramSocket

Gets a method that creates Datagram sockets. Optional. If not set, default OS UDP socket is used.
- (FMIceLinkFunction1 *)createDatagramSocket

Discussion

Gets a method that creates Datagram sockets. Optional. If not set, default OS UDP socket is used.

Declared In

FMIceLinkConnection.h

– createStreamSocket

Gets a method that creates Stream sockets. Optional. If not set, default OS TCP socket is used.
- (FMIceLinkFunction1 *)createStreamSocket

Discussion

Gets a method that creates Stream sockets. Optional. If not set, default OS TCP socket is used.

Declared In

FMIceLinkConnection.h

– dataStreams

Gets the data [streams](#//api/name/streams).
- (NSMutableArray *)dataStreams

Discussion

Gets the data [streams](#//api/name/streams).

Declared In

FMIceLinkConnection.h

+ defaultLocalDtlsCertificate

Gets the default local DTLS certificate.
+ (FMIceLinkDtlsCertificate *)defaultLocalDtlsCertificate

Discussion

Gets the default local DTLS certificate.

Declared In

FMIceLinkConnection.h

+ defaultLocalDtlsCertificates

Gets the default local DTLS certificates.
+ (NSMutableArray *)defaultLocalDtlsCertificates

Discussion

Gets the default local DTLS certificates.

Declared In

FMIceLinkConnection.h

– doAddRemoteCandidateWithPromise:remoteCandidate:

Adds the remote candidate.
- (void)doAddRemoteCandidateWithPromise:(FMIceLinkPromise *)promise remoteCandidate:(FMIceLinkCandidate *)remoteCandidate

Parameters

promise

The promise.

remoteCandidate

The remote candidate.

Discussion

Adds the remote candidate.

Declared In

FMIceLinkConnection.h

– doCreateAnswerWithPromise:

Creates an answer.
- (void)doCreateAnswerWithPromise:(FMIceLinkPromise *)promise

Parameters

promise

The promise.

Discussion

Creates an answer.

Declared In

FMIceLinkConnection.h

– doCreateOfferWithPromise:

Creates an offer.
- (bool)doCreateOfferWithPromise:(FMIceLinkPromise *)promise

Parameters

promise

The promise.

Discussion

Creates an offer.

Declared In

FMIceLinkConnection.h

– doSendCachedLocalCandidates

Dispatches cached local candidates that were gathered while Connection generated session description.
- (void)doSendCachedLocalCandidates

Discussion

Dispatches cached local candidates that were gathered while Connection generated session description.

Declared In

FMIceLinkConnection.h

– doSetLocalDescriptionWithPromise:localDescription:

Sets the local description.
- (void)doSetLocalDescriptionWithPromise:(FMIceLinkPromise *)promise localDescription:(FMIceLinkSessionDescription *)localDescription

Parameters

promise

The promise.

localDescription

The local description.

Discussion

Sets the local description.

Declared In

FMIceLinkConnection.h

– doSetRemoteDescriptionWithPromise:remoteDescription:

Sets the remote description.
- (void)doSetRemoteDescriptionWithPromise:(FMIceLinkPromise *)promise remoteDescription:(FMIceLinkSessionDescription *)remoteDescription

Parameters

promise

The promise.

remoteDescription

The remote description.

Discussion

Sets the remote description.

Declared In

FMIceLinkConnection.h

– 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,
- (NSMutableArray *)dtlsCipherSuites

Discussion

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,

Declared In

FMIceLinkConnection.h

– dtlsClientVersion

Gets the protocol version to use when in the DTLS client role. Defaults to FMIceLinkDtlsProtocolVersionDtls10.
- (FMIceLinkDtlsProtocolVersion)dtlsClientVersion

Discussion

Gets the protocol version to use when in the DTLS client role. Defaults to FMIceLinkDtlsProtocolVersionDtls10.

Declared In

FMIceLinkConnection.h

– dtlsServerMaxVersion

Gets the maximum protocol version to allow when in the DTLS server role. Defaults to FMIceLinkDtlsProtocolVersionDtls12.
- (FMIceLinkDtlsProtocolVersion)dtlsServerMaxVersion

Discussion

Gets the maximum protocol version to allow when in the DTLS server role. Defaults to FMIceLinkDtlsProtocolVersionDtls12.

Declared In

FMIceLinkConnection.h

– dtlsServerMinVersion

Gets the minimum protocol version to allow when in the DTLS server role. Defaults to FMIceLinkDtlsProtocolVersionDtls10.
- (FMIceLinkDtlsProtocolVersion)dtlsServerMinVersion

Discussion

Gets the minimum protocol version to allow when in the DTLS server role. Defaults to FMIceLinkDtlsProtocolVersionDtls10.

Declared In

FMIceLinkConnection.h

– gatheringState

Gets the ICE gathering [state](#//api/name/state).
- (FMIceLinkIceGatheringState)gatheringState

Discussion

Gets the ICE gathering [state](#//api/name/state).

Declared In

FMIceLinkConnection.h

– getStats

Gets the current [connection](#//api/name/connection) stats.

@return

- (FMIceLinkFuture *)getStats

Discussion

Gets the current [connection](#//api/name/connection) stats.

@return

Declared In

FMIceLinkConnection.h

– getStreamByType:

Gets the type of the stream by.
- (FMIceLinkStream *)getStreamByType:(FMIceLinkStreamType)type

Parameters

type

The type of the stream.

Discussion

Gets the type of the stream by.

Declared In

FMIceLinkConnection.h

– getStreamsByType:

Gets the [streams](#//api/name/streams) by type.
- (NSMutableArray *)getStreamsByType:(FMIceLinkStreamType)type

Parameters

type

The type of the stream.

Discussion

Gets the [streams](#//api/name/streams) by type.

Declared In

FMIceLinkConnection.h

– iceAddressTypes

Gets the ICE address types.
- (NSMutableArray *)iceAddressTypes

Discussion

Gets the ICE address types.

Declared In

FMIceLinkConnection.h

– iceConnectionState

Gets the ICE [connection](#//api/name/connection) [state](#//api/name/state).
- (FMIceLinkIceConnectionState)iceConnectionState

Discussion

Gets the ICE [connection](#//api/name/connection) [state](#//api/name/state).

Declared In

FMIceLinkConnection.h

– icePolicy

Gets policy indicating whether ICE is required (and enabled) or disabled (and not required for this [connection](#//api/name/connection)).
- (FMIceLinkIcePolicy)icePolicy

Discussion

Gets policy indicating whether ICE is required (and enabled) or disabled (and not required for this [connection](#//api/name/connection)).

Declared In

FMIceLinkConnection.h

– icePortRange

Gets the ICE port range.
- (FMIceLinkIcePortRange *)icePortRange

Discussion

Gets the ICE port range.

Declared In

FMIceLinkConnection.h

– iceRole

Gets the ICE role.
- (FMIceLinkIceRole)iceRole

Discussion

Gets the ICE role.

Declared In

FMIceLinkConnection.h

– init

Initializes a new [instance](#//api/name/instance) of the FMIceLinkConnection class.
- (instancetype)init

Discussion

Initializes a new [instance](#//api/name/instance) of the FMIceLinkConnection class.

Declared In

FMIceLinkConnection.h

– initWithStream:

Initializes a new [instance](#//api/name/instance) of the FMIceLinkConnection class.
- (instancetype)initWithStream:(FMIceLinkStream *)stream

Parameters

stream

The stream.

Discussion

Initializes a new [instance](#//api/name/instance) of the FMIceLinkConnection class.

Declared In

FMIceLinkConnection.h

– initWithStreams:

Initializes a new [instance](#//api/name/instance) of the FMIceLinkConnection class.
- (instancetype)initWithStreams:(NSMutableArray *)streams

Parameters

streams

The streams.

Discussion

Initializes a new [instance](#//api/name/instance) of the FMIceLinkConnection class.

Declared In

FMIceLinkConnection.h

– instance

Gets the current instance.
- (FMIceLinkConnection *)instance

Discussion

Gets the current instance.

Declared In

FMIceLinkConnection.h

– keepAliveInterval

Gets a value indicating how many milliseconds must elapse between STUN keep-alive binding requests. Defaults to 1000.
- (int)keepAliveInterval

Discussion

Gets a value indicating how many milliseconds must elapse between STUN keep-alive binding requests. Defaults to 1000.

Declared In

FMIceLinkConnection.h

– localDescription

Gets the local description.
- (FMIceLinkSessionDescription *)localDescription

Discussion

Gets the local description.

Declared In

FMIceLinkConnection.h

– localDtlsCertificate

Gets the local DTLS certificate.
- (FMIceLinkDtlsCertificate *)localDtlsCertificate

Discussion

Gets the local DTLS certificate.

Declared In

FMIceLinkConnection.h

– localDtlsCertificates

Gets the local DTLS certificates.
- (NSMutableArray *)localDtlsCertificates

Discussion

Gets the local DTLS certificates.

Declared In

FMIceLinkConnection.h

– multiplexPolicy

Gets the multiplex policy.
- (FMIceLinkMultiplexPolicy)multiplexPolicy

Discussion

Gets the multiplex policy.

Declared In

FMIceLinkConnection.h

– 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.
- (NSString *)privateIPAddress

Discussion

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.

Declared In

FMIceLinkConnection.h

– 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.
- (NSMutableArray *)privateIPAddresses

Discussion

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.

Declared In

FMIceLinkConnection.h

Other Methods

– processSdpMediaDescriptionWithStream:sdpMediaDescription:sdpMediaIndex:isLocalDescription:isRenegotiation:

Processes a media description.
- (FMIceLinkError *)processSdpMediaDescriptionWithStream:(FMIceLinkStream *)stream sdpMediaDescription:(FMIceLinkSdpMediaDescription *)sdpMediaDescription sdpMediaIndex:(int)sdpMediaIndex isLocalDescription:(bool)isLocalDescription isRenegotiation:(bool)isRenegotiation

Parameters

stream

The stream.

sdpMediaDescription

The SDP media description.

sdpMediaIndex

The SDP media index.

isLocalDescription

Flag indicating if this is a local Sdp description.

isRenegotiation

Flag indicating if SDP renegotiation is currently in progress.

Discussion

Processes a media description.

Declared In

FMIceLinkConnection.h

– publicIPAddress

Gets the public IP address of this device, if the NAT is known to be 1:1 and the IP address is known in advance. This should only be used in controlled server environments as an alternative to using an external STUN server.
- (NSString *)publicIPAddress

Discussion

Gets the public IP address of this device, if the NAT is known to be 1:1 and the IP address is known in advance. This should only be used in controlled server environments as an alternative to using an external STUN server.

Declared In

FMIceLinkConnection.h

– publicIPAddresses

Gets the public IP address of this device, if the NAT is known to be 1:1 and the IP address is known in advance. This should only be used in controlled server environments as an alternative to using an external STUN server.
- (NSMutableArray *)publicIPAddresses

Discussion

Gets the public IP address of this device, if the NAT is known to be 1:1 and the IP address is known in advance. This should only be used in controlled server environments as an alternative to using an external STUN server.

Declared In

FMIceLinkConnection.h

– remoteDescription

Gets the remote description.
- (FMIceLinkSessionDescription *)remoteDescription

Discussion

Gets the remote description.

Declared In

FMIceLinkConnection.h

– setCreateDatagramSocket:

Sets a method that creates Datagram sockets. Optional. If not set, default OS UDP socket is used.
- (void)setCreateDatagramSocket:(FMIceLinkFunction1<FMIceLinkDatagramSocketCreateArgs*,FMIceLinkDatagramSocket*> *)value

Discussion

Sets a method that creates Datagram sockets. Optional. If not set, default OS UDP socket is used.

Declared In

FMIceLinkConnection.h

– setCreateDatagramSocketBlock

Sets a method that creates Datagram sockets. Optional. If not set, default OS UDP socket is used.
- (void ( ^ ) ( FMIceLinkDatagramSocket *( ^ ) ( FMIceLinkDatagramSocketCreateArgs *) ))setCreateDatagramSocketBlock

Discussion

Sets a method that creates Datagram sockets. Optional. If not set, default OS UDP socket is used.

Declared In

FMIceLinkConnection.h

– setCreateDatagramSocketBlock:

Sets a method that creates Datagram sockets. Optional. If not set, default OS UDP socket is used.
- (void)setCreateDatagramSocketBlock:(FMIceLinkDatagramSocket *( ^ ) ( FMIceLinkDatagramSocketCreateArgs *))valueBlock

Discussion

Sets a method that creates Datagram sockets. Optional. If not set, default OS UDP socket is used.

Declared In

FMIceLinkConnection.h

– setCreateStreamSocket:

Sets a method that creates Stream sockets. Optional. If not set, default OS TCP socket is used.
- (void)setCreateStreamSocket:(FMIceLinkFunction1<FMIceLinkStreamSocketCreateArgs*,FMIceLinkStreamSocket*> *)value

Discussion

Sets a method that creates Stream sockets. Optional. If not set, default OS TCP socket is used.

Declared In

FMIceLinkConnection.h

– setCreateStreamSocketBlock

Sets a method that creates Stream sockets. Optional. If not set, default OS TCP socket is used.
- (void ( ^ ) ( FMIceLinkStreamSocket *( ^ ) ( FMIceLinkStreamSocketCreateArgs *) ))setCreateStreamSocketBlock

Discussion

Sets a method that creates Stream sockets. Optional. If not set, default OS TCP socket is used.

Declared In

FMIceLinkConnection.h

– setCreateStreamSocketBlock:

Sets a method that creates Stream sockets. Optional. If not set, default OS TCP socket is used.
- (void)setCreateStreamSocketBlock:(FMIceLinkStreamSocket *( ^ ) ( FMIceLinkStreamSocketCreateArgs *))valueBlock

Discussion

Sets a method that creates Stream sockets. Optional. If not set, default OS TCP socket is used.

Declared In

FMIceLinkConnection.h

+ setDefaultLocalDtlsCertificate:

Sets the default local DTLS certificate.
+ (void)setDefaultLocalDtlsCertificate:(FMIceLinkDtlsCertificate *)value

Discussion

Sets the default local DTLS certificate.

Declared In

FMIceLinkConnection.h

+ setDefaultLocalDtlsCertificates:

Sets the default local DTLS certificates.
+ (void)setDefaultLocalDtlsCertificates:(NSMutableArray *)value

Discussion

Sets the default local DTLS certificates.

Declared In

FMIceLinkConnection.h

– setDtlsCipherSuites:

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)setDtlsCipherSuites:(NSMutableArray *)value

Discussion

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,

Declared In

FMIceLinkConnection.h

– setDtlsClientVersion:

Sets the protocol version to use when in the DTLS client role. Defaults to FMIceLinkDtlsProtocolVersionDtls10.
- (void)setDtlsClientVersion:(FMIceLinkDtlsProtocolVersion)value

Discussion

Sets the protocol version to use when in the DTLS client role. Defaults to FMIceLinkDtlsProtocolVersionDtls10.

Declared In

FMIceLinkConnection.h

– setDtlsServerMaxVersion:

Sets the maximum protocol version to allow when in the DTLS server role. Defaults to FMIceLinkDtlsProtocolVersionDtls12.
- (void)setDtlsServerMaxVersion:(FMIceLinkDtlsProtocolVersion)value

Discussion

Sets the maximum protocol version to allow when in the DTLS server role. Defaults to FMIceLinkDtlsProtocolVersionDtls12.

Declared In

FMIceLinkConnection.h

– setDtlsServerMinVersion:

Sets the minimum protocol version to allow when in the DTLS server role. Defaults to FMIceLinkDtlsProtocolVersionDtls10.
- (void)setDtlsServerMinVersion:(FMIceLinkDtlsProtocolVersion)value

Discussion

Sets the minimum protocol version to allow when in the DTLS server role. Defaults to FMIceLinkDtlsProtocolVersionDtls10.

Declared In

FMIceLinkConnection.h

– setGatheringState:

Sets the ICE gathering [state](#//api/name/state).
- (void)setGatheringState:(FMIceLinkIceGatheringState)value

Discussion

Sets the ICE gathering [state](#//api/name/state).

Declared In

FMIceLinkConnection.h

– setIceAddressTypes:

Sets the ICE address types.
- (void)setIceAddressTypes:(NSMutableArray *)value

Discussion

Sets the ICE address types.

Declared In

FMIceLinkConnection.h

– setIceConnectionState:

Sets the ICE [connection](#//api/name/connection) [state](#//api/name/state).
- (void)setIceConnectionState:(FMIceLinkIceConnectionState)value

Discussion

Sets the ICE [connection](#//api/name/connection) [state](#//api/name/state).

Declared In

FMIceLinkConnection.h

– setIcePolicy:

Sets policy indicating whether ICE is required (and enabled) or disabled (and not required for this [connection](#//api/name/connection)).
- (void)setIcePolicy:(FMIceLinkIcePolicy)value

Discussion

Sets policy indicating whether ICE is required (and enabled) or disabled (and not required for this [connection](#//api/name/connection)).

Declared In

FMIceLinkConnection.h

– setIcePortRange:

Sets the ICE port range.
- (void)setIcePortRange:(FMIceLinkIcePortRange *)value

Discussion

Sets the ICE port range.

Declared In

FMIceLinkConnection.h

– setKeepAliveInterval:

Sets a value indicating how many milliseconds must elapse between STUN keep-alive binding requests. Defaults to 1000.
- (void)setKeepAliveInterval:(int)value

Discussion

Sets a value indicating how many milliseconds must elapse between STUN keep-alive binding requests. Defaults to 1000.

Declared In

FMIceLinkConnection.h

– setLocalDtlsCertificate:

Sets the local DTLS certificate.
- (void)setLocalDtlsCertificate:(FMIceLinkDtlsCertificate *)value

Discussion

Sets the local DTLS certificate.

Declared In

FMIceLinkConnection.h

– setLocalDtlsCertificates:

Sets the local DTLS certificates.
- (void)setLocalDtlsCertificates:(NSMutableArray *)value

Discussion

Sets the local DTLS certificates.

Declared In

FMIceLinkConnection.h

– setMultiplexPolicy:

Sets the multiplex policy.
- (void)setMultiplexPolicy:(FMIceLinkMultiplexPolicy)value

Discussion

Sets the multiplex policy.

Declared In

FMIceLinkConnection.h

– setPrivateIPAddress:

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)setPrivateIPAddress:(NSString *)value

Discussion

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.

Declared In

FMIceLinkConnection.h

– setPrivateIPAddresses:

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

Discussion

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.

Declared In

FMIceLinkConnection.h

– setPublicIPAddress:

Sets the public IP address of this device, if the NAT is known to be 1:1 and the IP address is known in advance. This should only be used in controlled server environments as an alternative to using an external STUN server.
- (void)setPublicIPAddress:(NSString *)value

Discussion

Sets the public IP address of this device, if the NAT is known to be 1:1 and the IP address is known in advance. This should only be used in controlled server environments as an alternative to using an external STUN server.

Declared In

FMIceLinkConnection.h

– setPublicIPAddresses:

Sets the public IP address of this device, if the NAT is known to be 1:1 and the IP address is known in advance. This should only be used in controlled server environments as an alternative to using an external STUN server.
- (void)setPublicIPAddresses:(NSMutableArray *)value

Discussion

Sets the public IP address of this device, if the NAT is known to be 1:1 and the IP address is known in advance. This should only be used in controlled server environments as an alternative to using an external STUN server.

Declared In

FMIceLinkConnection.h

– setState:

Sets the [state](#//api/name/state) of the [connection](#//api/name/connection).
- (void)setState:(FMIceLinkConnectionState)value

Discussion

Sets the [state](#//api/name/state) of the [connection](#//api/name/connection).

Declared In

FMIceLinkConnection.h

– setStunBindingRequestLimit:

Sets the limit on the the number of Turn Allocate request messages when trying to establish allocation on a Turn server.
- (void)setStunBindingRequestLimit:(int)value

Discussion

Sets the limit on the the number of Turn Allocate request messages when trying to establish allocation on a Turn server.

Declared In

FMIceLinkConnection.h

– setStunRequestTimeout:

Sets the timeout for individual Stun (and Turn) request messages in ms.
- (void)setStunRequestTimeout:(int)value

Discussion

Sets the timeout for individual Stun (and Turn) request messages in ms.

Declared In

FMIceLinkConnection.h

– setTcpConnectTimeout:

Sets [connection](#//api/name/connection) timeout for stream sockets in ms.
- (void)setTcpConnectTimeout:(int)value

Discussion

Sets [connection](#//api/name/connection) timeout for stream sockets in ms.

Declared In

FMIceLinkConnection.h

– setTurnAllocateRequestLimit:

Sets the limit on the the number of Turn Allocate request messages when trying to establish allocation on a Turn server.
- (void)setTurnAllocateRequestLimit:(int)value

Discussion

Sets the limit on the the number of Turn Allocate request messages when trying to establish allocation on a Turn server.

Declared In

FMIceLinkConnection.h

– state

Gets the state of the [connection](#//api/name/connection).
- (FMIceLinkConnectionState)state

Discussion

Gets the state of the [connection](#//api/name/connection).

Declared In

FMIceLinkConnection.h

– streams

Gets the streams.
- (NSMutableArray *)streams

Discussion

Gets the streams.

Declared In

FMIceLinkConnection.h

– stunBindingRequestLimit

Gets the limit on the the number of Turn Allocate request messages when trying to establish allocation on a Turn server.
- (int)stunBindingRequestLimit

Discussion

Gets the limit on the the number of Turn Allocate request messages when trying to establish allocation on a Turn server.

Declared In

FMIceLinkConnection.h

– stunRequestTimeout

Gets the timeout for individual Stun (and Turn) request messages in ms.
- (int)stunRequestTimeout

Discussion

Gets the timeout for individual Stun (and Turn) request messages in ms.

Declared In

FMIceLinkConnection.h

– tcpConnectTimeout

Gets [connection](#//api/name/connection) timeout for stream sockets in ms.
- (int)tcpConnectTimeout

Discussion

Gets [connection](#//api/name/connection) timeout for stream sockets in ms.

Declared In

FMIceLinkConnection.h

– turnAllocateRequestLimit

Gets the limit on the the number of Turn Allocate request messages when trying to establish allocation on a Turn server.
- (int)turnAllocateRequestLimit

Discussion

Gets the limit on the the number of Turn Allocate request messages when trying to establish allocation on a Turn server.

Declared In

FMIceLinkConnection.h

– videoStreams

Gets the video [streams](#//api/name/streams).
- (NSMutableArray *)videoStreams

Discussion

Gets the video [streams](#//api/name/streams).

Declared In

FMIceLinkConnection.h