Class ReceiverStatistics
Counts how one RTP stream arrives, for its reception report, as RFC 3550 appendix A does: the highest sequence number with wraparounds, packets lost, interarrival jitter, and the last sender report.
Inherited Members
Namespace: Uniform.Matrix.WebRtc.Rtp
Assembly: Uniform.Matrix.WebRtc.dll
Syntax
public sealed class ReceiverStatistics
Constructors
| Edit this page View SourceReceiverStatistics(int, TimeProvider?)
Counts how one RTP stream arrives, for its reception report, as RFC 3550 appendix A does: the highest sequence number with wraparounds, packets lost, interarrival jitter, and the last sender report.
Declaration
public ReceiverStatistics(int clockRate, TimeProvider? time = null)
Parameters
| Type | Name | Description |
|---|---|---|
| int | clockRate | The stream's RTP clock, e.g. 90000 for video. |
| TimeProvider | time | Clock of arrivals. |
Properties
| Edit this page View SourceSsrc
The stream, from its first packet.
Declaration
public uint Ssrc { get; }
Property Value
| Type | Description |
|---|---|
| uint |
Methods
| Edit this page View SourceReceived(RtpPacket)
Count a received packet.
Declaration
public void Received(RtpPacket packet)
Parameters
| Type | Name | Description |
|---|---|---|
| RtpPacket | packet |
Report()
Return the report block for now, and start the next interval; null before the first packet.
Declaration
public ReportBlock? Report()
Returns
| Type | Description |
|---|---|
| ReportBlock |
SenderReport(uint)
Note a sender report of the stream, by the middle 32 bits of its NTP time.
Declaration
public void SenderReport(uint ntpMiddle)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | ntpMiddle |