Show / Hide Table of Contents

Class ReceptionReportSample

Represents a point in time sample for a reception report.

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

Constructors

| Improve this Doc View Source

ReceptionReportSample(Byte[])

Declaration
public ReceptionReportSample(byte[] packet)
Parameters
Type Name Description
System.Byte[] packet
| Improve this Doc View Source

ReceptionReportSample(UInt32, Byte, Int32, UInt32, UInt32, UInt32, UInt32)

Creates a new Reception Report object.

Declaration
public ReceptionReportSample(uint ssrc, byte fractionLost, int packetsLost, uint highestSeqNum, uint jitter, uint lastSRTimestamp, uint delaySinceLastSR)
Parameters
Type Name Description
System.UInt32 ssrc

The synchronisation source this reception report is for.

System.Byte fractionLost

The fraction of RTP packets lost since the previous Sender or Receiver Report was sent.

System.Int32 packetsLost

The total number of RTP packets that have been lost since the beginning of reception.

System.UInt32 highestSeqNum

Extended highest sequence number received from source.

System.UInt32 jitter

Interarrival jitter of the RTP packets received within the last reporting period.

System.UInt32 lastSRTimestamp

The timestamp from the most recent RTCP Sender Report packet received.

System.UInt32 delaySinceLastSR

The delay between receiving the last Sender Report packet and the sending of this Reception Report.

Fields

| Improve this Doc View Source

DelaySinceLastSenderReport

Delay since last SR packet.

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

ExtendedHighestSequenceNumber

Extended last sequence number received.

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

FractionLost

Fraction lost since last SR/RR.

Declaration
public byte FractionLost
Field Value
Type Description
System.Byte
| Improve this Doc View Source

Jitter

Interarrival jitter.

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

LastSenderReportTimestamp

Last SR packet from this source.

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

PacketsLost

Cumulative number of packets lost (signed!).

Declaration
public int PacketsLost
Field Value
Type Description
System.Int32
| Improve this Doc View Source

PAYLOAD_SIZE

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

SSRC

Data source being reported.

Declaration
public uint SSRC
Field Value
Type Description
System.UInt32

Methods

| Improve this Doc View Source

GetBytes()

Serialises the reception report block to a byte array.

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

A byte array.

Extension Methods

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