Class SRControlFrame
A sender report control frame.
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class SRControlFrame : ReportControlFrame
Constructors
SRControlFrame()
Initializes a new instance of the SRControlFrame class.
Declaration
public SRControlFrame()
SRControlFrame(DataBuffer)
Initializes a new instance of the SRControlFrame class.
Declaration
public SRControlFrame(DataBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
DataBuffer | buffer | The data buffer. |
SRControlFrame(ReportBlock)
Initializes a new instance of the SRControlFrame class.
Declaration
public SRControlFrame(ReportBlock reportBlock)
Parameters
Type | Name | Description |
---|---|---|
ReportBlock | reportBlock | The report block. |
SRControlFrame(ReportBlock[])
Initializes a new instance of the SRControlFrame class.
Declaration
public SRControlFrame(ReportBlock[] reportBlocks)
Parameters
Type | Name | Description |
---|---|---|
ReportBlock[] | reportBlocks | The report blocks. |
SRControlFrame(Int64, Int64, Int64, Int64, Int64)
Initializes a new instance of the SRControlFrame class.
Declaration
public SRControlFrame(long synchronizationSource, long ntpTimestamp, long rtpTimestamp, long packetCount, long octetCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | synchronizationSource | The synchronization source. |
System.Int64 | ntpTimestamp | The time when this report was sent (NTP-style). |
System.Int64 | rtpTimestamp | The time when this report was sent (RTP-style). |
System.Int64 | packetCount | The sender's packet count. |
System.Int64 | octetCount | The sender's octet count. |
SRControlFrame(Int64, Int64, Int64, Int64, Int64, ReportBlock)
Initializes a new instance of the SRControlFrame class.
Declaration
public SRControlFrame(long synchronizationSource, long ntpTimestamp, long rtpTimestamp, long packetCount, long octetCount, ReportBlock reportBlock)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | synchronizationSource | The synchronization source. |
System.Int64 | ntpTimestamp | The time when this report was sent (NTP-style). |
System.Int64 | rtpTimestamp | The time when this report was sent (RTP-style). |
System.Int64 | packetCount | The sender's packet count. |
System.Int64 | octetCount | The sender's octet count. |
ReportBlock | reportBlock | The report block. |
SRControlFrame(Int64, Int64, Int64, Int64, Int64, ReportBlock[])
Initializes a new instance of the SRControlFrame class.
Declaration
public SRControlFrame(long synchronizationSource, long ntpTimestamp, long rtpTimestamp, long packetCount, long octetCount, ReportBlock[] reportBlocks)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | synchronizationSource | The synchronization source. |
System.Int64 | ntpTimestamp | The time when this report was sent (NTP-style). |
System.Int64 | rtpTimestamp | The time when this report was sent (RTP-style). |
System.Int64 | packetCount | The sender's packet count. |
System.Int64 | octetCount | The sender's octet count. |
ReportBlock[] | reportBlocks | The report blocks. |
Properties
FixedSenderInfoPayloadLength
Gets the fixed payload header length of a Sender Report.
Declaration
public static int FixedSenderInfoPayloadLength { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
NtpTimestamp
Gets or sets the time when this report was sent (NTP-style).
Declaration
public long NtpTimestamp { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
OctetCount
Gets or sets the sender's octet count.
Declaration
public long OctetCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
PacketCount
Gets or sets the sender's packet count.
Declaration
public long PacketCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
RegisteredPayloadType
Gets the sender report payload type.
Declaration
public static int RegisteredPayloadType { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ReportBlockOffset
Gets the report block offset.
Declaration
public static int ReportBlockOffset { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
RtpTimestamp
Gets or sets the time when this report was sent (RTP-style).
Declaration
public long RtpTimestamp { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |