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()
Assembly: SIPSorcery.dll
Constructors
|
Improve this Doc
View Source
Declaration
public RTCPHeader(PSFBFeedbackTypesEnum feedbackType)
Parameters
|
Improve this Doc
View Source
Declaration
public RTCPHeader(RTCPFeedbackTypesEnum feedbackType)
Parameters
|
Improve this Doc
View Source
Declaration
public RTCPHeader(RTCPReportTypesEnum packetType, int reportCount)
Parameters
|
Improve this Doc
View Source
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
Declaration
public const int HEADER_BYTES_LENGTH = 4
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public const int MAX_RECEPTIONREPORT_COUNT = 32
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public const int RTCP_VERSION = 2
Field Value
Type |
Description |
System.Int32 |
|
Properties
|
Improve this Doc
View Source
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
|
Improve this Doc
View Source
Declaration
public ushort Length { get; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
Declaration
public RTCPReportTypesEnum PacketType { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public int PaddingFlag { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
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
|
Improve this Doc
View Source
Declaration
public int ReceptionReportCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public int Version { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
Declaration
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
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
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
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