Show / Hide Table of Contents

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 Source

RTCPSDesReport(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.

| Improve this Doc View Source

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 Source

CNAME_ID

Declaration
public const byte CNAME_ID = 1
Field Value
Type Description
System.Byte
| Improve this Doc View Source

Header

Declaration
public RTCPHeader Header
Field Value
Type Description
RTCPHeader
| Improve this Doc View Source

MAX_CNAME_BYTES

Declaration
public const int MAX_CNAME_BYTES = 255
Field Value
Type Description
System.Int32
| Improve this Doc View Source

MIN_PACKET_SIZE

Declaration
public const int MIN_PACKET_SIZE = 10
Field Value
Type Description
System.Int32
| Improve this Doc View Source

PACKET_SIZE_WITHOUT_CNAME

Declaration
public const int PACKET_SIZE_WITHOUT_CNAME = 6
Field Value
Type Description
System.Int32

Properties

| Improve this Doc View Source

CNAME

Declaration
public string CNAME { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SSRC

Declaration
public uint SSRC { get; }
Property Value
Type Description
System.UInt32

Methods

| Improve this Doc View Source

GetBytes()

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.

Extension Methods

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