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