Class ReceptionReportSample
Represents a point in time sample for a reception report.
Inheritance
Inherited Members
Namespace: SIPSorcery.Net
Assembly: SIPSorcery.dll
Syntax
public class ReceptionReportSample
Constructors
| Improve this Doc View SourceReceptionReportSample(Byte[])
Declaration
public ReceptionReportSample(byte[] packet)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | packet |
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 SourceDelaySinceLastSenderReport
Delay since last SR packet.
Declaration
public uint DelaySinceLastSenderReport
Field Value
Type | Description |
---|---|
System.UInt32 |
ExtendedHighestSequenceNumber
Extended last sequence number received.
Declaration
public uint ExtendedHighestSequenceNumber
Field Value
Type | Description |
---|---|
System.UInt32 |
FractionLost
Fraction lost since last SR/RR.
Declaration
public byte FractionLost
Field Value
Type | Description |
---|---|
System.Byte |
Jitter
Interarrival jitter.
Declaration
public uint Jitter
Field Value
Type | Description |
---|---|
System.UInt32 |
LastSenderReportTimestamp
Last SR packet from this source.
Declaration
public uint LastSenderReportTimestamp
Field Value
Type | Description |
---|---|
System.UInt32 |
PacketsLost
Cumulative number of packets lost (signed!).
Declaration
public int PacketsLost
Field Value
Type | Description |
---|---|
System.Int32 |
PAYLOAD_SIZE
Declaration
public const int PAYLOAD_SIZE = 24
Field Value
Type | Description |
---|---|
System.Int32 |
SSRC
Data source being reported.
Declaration
public uint SSRC
Field Value
Type | Description |
---|---|
System.UInt32 |
Methods
| Improve this Doc View SourceGetBytes()
Serialises the reception report block to a byte array.
Declaration
public byte[] GetBytes()
Returns
Type | Description |
---|---|
System.Byte[] | A byte array. |