Show / Hide Table of Contents

Class RTCPSenderReport

An RTCP sender report is for use by active RTP senders.

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

From https://tools.ietf.org/html/rfc3550#section-6.4: "The only difference between the sender report(SR) and receiver report(RR) forms, besides the packet type code, is that the sender report includes a 20-byte sender information section for use by active senders.The SR is issued if a site has sent any data packets during the interval since issuing the last report or the previous one, otherwise the RR is issued."

Constructors

| Improve this Doc View Source

RTCPSenderReport(Byte[])

Create a new RTCP Sender Report from a serialised byte array.

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

The byte array holding the serialised sender report.

| Improve this Doc View Source

RTCPSenderReport(UInt32, UInt64, UInt32, UInt32, UInt32, List<ReceptionReportSample>)

Declaration
public RTCPSenderReport(uint ssrc, ulong ntpTimestamp, uint rtpTimestamp, uint packetCount, uint octetCount, List<ReceptionReportSample> receptionReports)
Parameters
Type Name Description
System.UInt32 ssrc
System.UInt64 ntpTimestamp
System.UInt32 rtpTimestamp
System.UInt32 packetCount
System.UInt32 octetCount
System.Collections.Generic.List<ReceptionReportSample> receptionReports

Fields

| Improve this Doc View Source

Header

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

MIN_PACKET_SIZE

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

NtpTimestamp

Declaration
public ulong NtpTimestamp
Field Value
Type Description
System.UInt64
| Improve this Doc View Source

OctetCount

Declaration
public uint OctetCount
Field Value
Type Description
System.UInt32
| Improve this Doc View Source

PacketCount

Declaration
public uint PacketCount
Field Value
Type Description
System.UInt32
| Improve this Doc View Source

ReceptionReports

Declaration
public List<ReceptionReportSample> ReceptionReports
Field Value
Type Description
System.Collections.Generic.List<ReceptionReportSample>
| Improve this Doc View Source

RtpTimestamp

Declaration
public uint RtpTimestamp
Field Value
Type Description
System.UInt32
| Improve this Doc View Source

SENDER_PAYLOAD_SIZE

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

SSRC

Declaration
public uint SSRC
Field Value
Type Description
System.UInt32

Methods

| Improve this Doc View Source

GetBytes()

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

Extension Methods

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