Show / Hide Table of Contents

Class RTCPeerSctpAssociation

Inheritance
System.Object
SctpAssociation
RTCPeerSctpAssociation
Inherited Members
SctpAssociation.DEFAULT_ADVERTISED_RECEIVE_WINDOW
SctpAssociation.DEFAULT_NUMBER_OUTBOUND_STREAMS
SctpAssociation.DEFAULT_NUMBER_INBOUND_STREAMS
SctpAssociation.SendBufferedAmount
SctpAssociation.VerificationTag
SctpAssociation.TSN
SctpAssociation.ID
SctpAssociation.ARwnd
SctpAssociation.Destination
SctpAssociation.State
SctpAssociation.OnAssociationStateChanged
SctpAssociation.OnData
SctpAssociation.OnAbortReceived
SctpAssociation.OnAborted
SctpAssociation.UpdateSourcePort(UInt16)
SctpAssociation.UpdateDestinationPort(UInt16)
SctpAssociation.Init()
SctpAssociation.GotCookie(SctpTransportCookie)
SctpAssociation.SendData(UInt16, UInt32, String)
SctpAssociation.SendData(UInt16, UInt32, Byte[])
SctpAssociation.GetControlPacket(SctpChunk)
SctpAssociation.Shutdown()
SctpAssociation.Abort(ISctpErrorCause)
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 Source

RTCPeerSctpAssociation(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 Source

DEFAULT_DTLS_MTU

Declaration
public const ushort DEFAULT_DTLS_MTU = 1200
Field Value
Type Description
System.UInt16

Events

| Improve this Doc View Source

OnDataChannelData

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>
| Improve this Doc View Source

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
| Improve this Doc View Source

OnNewDataChannel

Event notification for a new data channel open request from the remote peer.

Declaration
public event OnNewRTCDataChannel OnNewDataChannel
Event Type
Type Description
OnNewRTCDataChannel

Extension Methods

JSONWriter.ToJson(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX