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 SourceRTCPSenderReport(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. |
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 SourceHeader
Declaration
public RTCPHeader Header
Field Value
Type | Description |
---|---|
RTCPHeader |
MIN_PACKET_SIZE
Declaration
public const int MIN_PACKET_SIZE = 28
Field Value
Type | Description |
---|---|
System.Int32 |
NtpTimestamp
Declaration
public ulong NtpTimestamp
Field Value
Type | Description |
---|---|
System.UInt64 |
OctetCount
Declaration
public uint OctetCount
Field Value
Type | Description |
---|---|
System.UInt32 |
PacketCount
Declaration
public uint PacketCount
Field Value
Type | Description |
---|---|
System.UInt32 |
ReceptionReports
Declaration
public List<ReceptionReportSample> ReceptionReports
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<ReceptionReportSample> |
RtpTimestamp
Declaration
public uint RtpTimestamp
Field Value
Type | Description |
---|---|
System.UInt32 |
SENDER_PAYLOAD_SIZE
Declaration
public const int SENDER_PAYLOAD_SIZE = 20
Field Value
Type | Description |
---|---|
System.Int32 |
SSRC
Declaration
public uint SSRC
Field Value
Type | Description |
---|---|
System.UInt32 |
Methods
| Improve this Doc View SourceGetBytes()
Declaration
public byte[] GetBytes()
Returns
Type | Description |
---|---|
System.Byte[] |