Class RTCPSDesReport
RTCP Source Description (SDES) report as defined in RFC3550. Only the mandatory CNAME item is supported.
Inheritance
System.Object
RTCPSDesReport
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 RTCPSDesReport
Constructors
| Improve this Doc View SourceRTCPSDesReport(Byte[])
Create a new RTCP SDES item from a serialised byte array.
Declaration
public RTCPSDesReport(byte[] packet)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | packet | The byte array holding the SDES report. |
RTCPSDesReport(UInt32, String)
Creates a new RTCP SDES payload that can be included in an RTCP packet.
Declaration
public RTCPSDesReport(uint ssrc, string cname)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | ssrc | The synchronisation source of the SDES. |
System.String | cname | Canonical End-Point Identifier SDES item. This should be a unique string common to all RTP streams in use by the application. Maximum length is 255 bytes (note bytes not characters). |
Fields
| Improve this Doc View SourceCNAME_ID
Declaration
public const byte CNAME_ID = 1
Field Value
Type | Description |
---|---|
System.Byte |
Header
Declaration
public RTCPHeader Header
Field Value
Type | Description |
---|---|
RTCPHeader |
MAX_CNAME_BYTES
Declaration
public const int MAX_CNAME_BYTES = 255
Field Value
Type | Description |
---|---|
System.Int32 |
MIN_PACKET_SIZE
Declaration
public const int MIN_PACKET_SIZE = 10
Field Value
Type | Description |
---|---|
System.Int32 |
PACKET_SIZE_WITHOUT_CNAME
Declaration
public const int PACKET_SIZE_WITHOUT_CNAME = 6
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
| Improve this Doc View SourceCNAME
Declaration
public string CNAME { get; }
Property Value
Type | Description |
---|---|
System.String |
SSRC
Declaration
public uint SSRC { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Methods
| Improve this Doc View SourceGetBytes()
Gets the raw bytes for the SDES item. This packet is ready to be included directly in an RTCP packet.
Declaration
public byte[] GetBytes()
Returns
Type | Description |
---|---|
System.Byte[] | A byte array containing the serialised SDES item. |