Show / Hide Table of Contents

Class RTCPCompoundPacket

Represents an RTCP compound packet consisting of 1 or more RTCP packets combined together in a single buffer. According to RFC3550 RTCP transmissions should always have at least 2 RTCP packets (a sender/receiver report and an SDES report). This implementation does not enforce that constraint for received reports but does for sends.

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

Constructors

| Improve this Doc View Source

RTCPCompoundPacket()

Declaration
protected RTCPCompoundPacket()
| Improve this Doc View Source

RTCPCompoundPacket(RTCPReceiverReport, RTCPSDesReport)

Declaration
public RTCPCompoundPacket(RTCPReceiverReport receiverReport, RTCPSDesReport sdesReport)
Parameters
Type Name Description
RTCPReceiverReport receiverReport
RTCPSDesReport sdesReport
| Improve this Doc View Source

RTCPCompoundPacket(RTCPSenderReport, RTCPSDesReport)

Declaration
public RTCPCompoundPacket(RTCPSenderReport senderReport, RTCPSDesReport sdesReport)
Parameters
Type Name Description
RTCPSenderReport senderReport
RTCPSDesReport sdesReport
| Improve this Doc View Source

RTCPCompoundPacket(Byte[])

Creates a new RTCP compound packet from a serialised buffer.

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

The serialised RTCP compound packet to parse.

Properties

| Improve this Doc View Source

Bye

Declaration
public RTCPBye Bye { get; set; }
Property Value
Type Description
RTCPBye
| Improve this Doc View Source

Feedback

Declaration
public RTCPFeedback Feedback { get; set; }
Property Value
Type Description
RTCPFeedback
| Improve this Doc View Source

ReceiverReport

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

SDesReport

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

SenderReport

Declaration
public RTCPSenderReport SenderReport { get; }
Property Value
Type Description
RTCPSenderReport

Methods

| Improve this Doc View Source

GetBytes()

Serialises a compound RTCP packet to a byte array ready for transmission.

Declaration
public byte[] GetBytes()
Returns
Type Description
System.Byte[]

A byte array representing a serialised compound RTCP packet.

| Improve this Doc View Source

GetDebugSummary()

Declaration
public string GetDebugSummary()
Returns
Type Description
System.String
| Improve this Doc View Source

TryParse(Byte[], RTCPCompoundPacket, out Int32)

Creates a new RTCP compound packet from a serialised buffer.

Declaration
public static bool TryParse(byte[] packet, RTCPCompoundPacket rtcpCompoundPacket, out int consumed)
Parameters
Type Name Description
System.Byte[] packet
RTCPCompoundPacket rtcpCompoundPacket
System.Int32 consumed
Returns
Type Description
System.Boolean

The amount read from the packet

| Improve this Doc View Source

TryParse(ReadOnlySpan<Byte>, out RTCPCompoundPacket, out Int32)

Declaration
public static bool TryParse(ReadOnlySpan<byte> packet, out RTCPCompoundPacket rtcpCompoundPacket, out int consumed)
Parameters
Type Name Description
System.ReadOnlySpan<System.Byte> packet
RTCPCompoundPacket rtcpCompoundPacket
System.Int32 consumed
Returns
Type Description
System.Boolean

Extension Methods

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