Class RTCPeerSctpAssociation
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SIPSorcery.Net
Assembly: SIPSorcery.dll
Syntax
public class RTCPeerSctpAssociation : SctpAssociation
Constructors
| Improve this Doc View SourceRTCPeerSctpAssociation(RTCSctpTransport, UInt16, UInt16, Int32)
Creates a new SCTP association with the remote peer.
Declaration
public RTCPeerSctpAssociation(RTCSctpTransport rtcSctpTransport, ushort srcPort, ushort dstPort, int dtlsPort)
Parameters
Type | Name | Description |
---|---|---|
RTCSctpTransport | rtcSctpTransport | The DTLS transport that will be used to encapsulate the SCTP packets. |
System.UInt16 | srcPort | The source port to use when forming the association. |
System.UInt16 | dstPort | The destination port to use when forming the association. |
System.Int32 | dtlsPort | Optional. The local UDP port being used for the DTLS connection. This will be set on the SCTP association to aid in diagnostics. |
Fields
| Improve this Doc View SourceDEFAULT_DTLS_MTU
Declaration
public const ushort DEFAULT_DTLS_MTU = 1200
Field Value
Type | Description |
---|---|
System.UInt16 |
Events
| Improve this Doc View SourceOnDataChannelData
Event notifications for user data on an SCTP stream representing a data channel.
Declaration
public event Action<SctpDataFrame> OnDataChannelData
Event Type
Type | Description |
---|---|
System.Action<SctpDataFrame> |
OnDataChannelOpened
Event notifications for the request to open a data channel being confirmed. This event corresponds to the DCEP ACK message for a DCEP OPEN message by this peer.
Declaration
public event OnRTCDataChannelOpened OnDataChannelOpened
Event Type
Type | Description |
---|---|
OnRTCDataChannelOpened |
OnNewDataChannel
Event notification for a new data channel open request from the remote peer.
Declaration
public event OnNewRTCDataChannel OnNewDataChannel
Event Type
Type | Description |
---|---|
OnNewRTCDataChannel |