Connection Class |
Namespace: FM.IceLink
The Connection type exposes the following members.
Name | Description | |
---|---|---|
![]() | Connection |
Initializes a new instance of the Connection class.
|
![]() | Connection(Stream) |
Initializes a new instance of the Connection class.
|
![]() | Connection(Stream) |
Initializes a new instance of the Connection class.
|
Name | Description | |
---|---|---|
![]() | AudioStream |
Gets the first audio stream.
(Inherited from ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannel.) |
![]() | AudioStreams |
Gets the audio streams.
(Overrides ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannelAudioStreams.) |
![]() | CreateDatagramSocket |
Gets or sets a method that creates Datagram sockets. Optional. If not set, default OS UDP socket is used.
|
![]() | CreateStreamSocket |
Gets or sets a method that creates Stream sockets. Optional. If not set, default OS TCP socket is used.
|
![]() | DataStream |
Gets the first data stream.
(Inherited from ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannel.) |
![]() | DataStreams |
Gets the data streams.
(Overrides ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannelDataStreams.) |
![]() | DeadStreamTimeout |
Gets or 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.
(Inherited from ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannel.) |
![]() ![]() | DefaultLocalDtlsCertificate |
Gets or sets the default local DTLS certificate.
|
![]() ![]() | DefaultLocalDtlsCertificates |
Gets or sets the default local DTLS certificates.
|
![]() | DtlsCipherSuites |
Gets or 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,
|
![]() | DtlsClientVersion |
Gets or sets the protocol version to use
when in the DTLS client role. Defaults
to Dtls10.
|
![]() | DtlsServerMaxVersion |
Gets or sets the maximum protocol version to
allow when in the DTLS server role. Defaults
to Dtls12.
|
![]() | DtlsServerMinVersion |
Gets or sets the minimum protocol version to
allow when in the DTLS server role. Defaults
to Dtls10.
|
![]() | DynamicProperties |
Gets or sets the dynamic properties on this instance.
(Inherited from Dynamic.) |
![]() | Error |
Gets or sets the error.
(Inherited from ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannel.) |
![]() | GatheringState |
Gets or sets the ICE gathering state.
(Overrides ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannelGatheringState.) |
![]() | HasAudio |
Gets whether this connection has an audio stream.
(Inherited from ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannel.) |
![]() | HasData |
Gets whether this connection has a data stream.
(Inherited from ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannel.) |
![]() | HasVideo |
Gets whether this connection has a video stream.
(Inherited from ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannel.) |
![]() | IceAddressTypes |
Gets or sets the ICE address types.
|
![]() | IceConnectionState |
Gets or sets the ICE connection state.
(Overrides ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannelIceConnectionState.) |
![]() | IceGatherPolicy |
Gets or sets the ICE gather policy.
(Inherited from ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannel.) |
![]() | IcePolicy |
Gets or sets policy indicating whether ICE is required (and enabled) or disabled (and not required for this connection).
|
![]() | IcePortRange |
Gets or sets the ICE port range.
|
![]() | IceRole |
Gets the ICE role.
|
![]() | IceServer |
Gets or sets the ICE server.
(Inherited from ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannel.) |
![]() | IceServers |
Gets or sets the ICE servers.
(Inherited from ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannel.) |
![]() | Id |
Gets or sets the identifier.
(Inherited from ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannel.) |
![]() | Instance |
Gets the current instance.
(Overrides ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannelInstance.) |
![]() | IsDirty |
Gets or sets a value indicating whether this instance is dirty.
(Inherited from Serializable.) |
![]() | KeepAliveInterval |
Gets or sets a value indicating how many
milliseconds must elapse between STUN
keep-alive binding requests.
Defaults to 1000.
|
![]() | LocalDescription |
Gets the local description.
(Overrides ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannelLocalDescription.) |
![]() | LocalDtlsCertificate |
Gets or sets the local DTLS certificate.
|
![]() | LocalDtlsCertificates |
Gets or sets the local DTLS certificates.
|
![]() | MultiplexPolicy |
Gets or sets the multiplex policy.
|
![]() | PrivateIPAddress |
Gets or 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.
|
![]() | PrivateIPAddresses |
Gets or 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.
|
![]() | PublicIPAddress |
Gets or 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.
|
![]() | PublicIPAddresses |
Gets or 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.
|
![]() | RemoteDescription |
Gets the remote description.
(Overrides ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannelRemoteDescription.) |
![]() | SignallingState |
Gets or sets the state of the signalling.
(Inherited from ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannel.) |
![]() | State |
Gets or sets the state of the connection.
(Overrides ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannelState.) |
![]() | Stream |
Gets the first stream.
(Inherited from ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannel.) |
![]() | Streams |
Gets the streams.
(Overrides ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannelStreams.) |
![]() | StunBindingRequestLimit |
Gets or sets the limit on the the number of Turn Allocate request messages when trying to establish allocation on a Turn server.
|
![]() | StunRequestTimeout |
Gets or sets the timeout for individual Stun (and Turn) request messages in ms.
|
![]() | TcpConnectTimeout |
Gets or sets connection timeout for stream sockets in ms.
|
![]() | TieBreaker |
Gets or sets the tie breaker.
(Inherited from ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannel.) |
![]() | Timeout |
Gets or sets the amount of time (in milliseconds)
to wait for a connection to establish before
giving up and closing it. Defaults to 30,000.
(Inherited from ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannel.) |
![]() | TrickleIcePolicy |
Gets or sets Trickle Ice Support Policy. Cf. https://tools.ietf.org/html/draft-ietf-ice-trickle-05
(Inherited from ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannel.) |
![]() | TurnAllocateRequestLimit |
Gets or sets the limit on the the number of Turn Allocate request messages when trying to establish allocation on a Turn server.
|
![]() | VideoStream |
Gets the first video stream.
(Inherited from ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannel.) |
![]() | VideoStreams |
Gets the video streams.
(Overrides ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannelVideoStreams.) |
Name | Description | |
---|---|---|
![]() | ConnectionLock |
The state lock.
(Inherited from ConnectionBaseTConnection, TStream, TAudioStream, TVideoStream, TDataStream, TDataChannel.) |