Show / Hide Table of Contents

Class RTCPHeader

RTCP Header as defined in RFC3550.

Inheritance
System.Object
RTCPHeader
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 RTCPHeader

Constructors

| Improve this Doc View Source

RTCPHeader(PSFBFeedbackTypesEnum)

Declaration
public RTCPHeader(PSFBFeedbackTypesEnum feedbackType)
Parameters
Type Name Description
PSFBFeedbackTypesEnum feedbackType
| Improve this Doc View Source

RTCPHeader(RTCPFeedbackTypesEnum)

Declaration
public RTCPHeader(RTCPFeedbackTypesEnum feedbackType)
Parameters
Type Name Description
RTCPFeedbackTypesEnum feedbackType
| Improve this Doc View Source

RTCPHeader(RTCPReportTypesEnum, Int32)

Declaration
public RTCPHeader(RTCPReportTypesEnum packetType, int reportCount)
Parameters
Type Name Description
RTCPReportTypesEnum packetType
System.Int32 reportCount
| Improve this Doc View Source

RTCPHeader(Byte[])

Extract and load the RTCP header from an RTCP packet.

Declaration
public RTCPHeader(byte[] packet)
Parameters
Type Name Description
System.Byte[] packet

Fields

| Improve this Doc View Source

HEADER_BYTES_LENGTH

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

MAX_RECEPTIONREPORT_COUNT

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

RTCP_VERSION

Declaration
public const int RTCP_VERSION = 2
Field Value
Type Description
System.Int32

Properties

| Improve this Doc View Source

FeedbackMessageType

The Feedback Message Type is used for RFC4585 transport layer feedback reports. When used this field gets set in place of the Reception Report Counter field.

Declaration
public RTCPFeedbackTypesEnum FeedbackMessageType { get; }
Property Value
Type Description
RTCPFeedbackTypesEnum
| Improve this Doc View Source

Length

Declaration
public ushort Length { get; }
Property Value
Type Description
System.UInt16
| Improve this Doc View Source

PacketType

Declaration
public RTCPReportTypesEnum PacketType { get; }
Property Value
Type Description
RTCPReportTypesEnum
| Improve this Doc View Source

PaddingFlag

Declaration
public int PaddingFlag { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

PayloadFeedbackMessageType

The Payload Feedback Message Type is used for RFC4585 payload layer feedback reports. When used this field gets set in place of the Reception Report Counter field.

Declaration
public PSFBFeedbackTypesEnum PayloadFeedbackMessageType { get; }
Property Value
Type Description
PSFBFeedbackTypesEnum
| Improve this Doc View Source

ReceptionReportCount

Declaration
public int ReceptionReportCount { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Version

Declaration
public int Version { get; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

GetBytes()

Declaration
public byte[] GetBytes()
Returns
Type Description
System.Byte[]
| Improve this Doc View Source

GetHeader(Int32, UInt16)

Declaration
public byte[] GetHeader(int receptionReportCount, ushort length)
Parameters
Type Name Description
System.Int32 receptionReportCount
System.UInt16 length
Returns
Type Description
System.Byte[]
| Improve this Doc View Source

IsFeedbackReport()

Identifies whether an RTCP header is for a standard RTCP packet or for an RTCP feedback report.

Declaration
public bool IsFeedbackReport()
Returns
Type Description
System.Boolean

True if the header is for an RTCP feedback report or false if not.

| Improve this Doc View Source

SetLength(UInt16)

The length of this RTCP packet in 32-bit words minus one, including the header and any padding.

Declaration
public void SetLength(ushort length)
Parameters
Type Name Description
System.UInt16 length

Extension Methods

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