Class ReportControlFrame
An RTCP Sender or Receiver Report control frame.
Inheritance
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public abstract class ReportControlFrame : MediaControlFrame
Constructors
ReportControlFrame(Int32, ReportBlock)
Initializes a new instance of the Report
Declaration
public ReportControlFrame(int payloadType, ReportBlock reportBlock)
Parameters
Type | Name | Description |
---|---|---|
System. |
payloadType | Type of the payload. |
Report |
reportBlock | The report block. |
ReportControlFrame(Int32, ReportBlock, Int32)
Initializes a new instance of the Report
Declaration
public ReportControlFrame(int payloadType, ReportBlock reportBlock, int reportBlockOffset)
Parameters
Type | Name | Description |
---|---|---|
System. |
payloadType | Type of the payload. |
Report |
reportBlock | The report block. |
System. |
reportBlockOffset | The report block offset. |
ReportControlFrame(Int32, ReportBlock[])
Initializes a new instance of the Report
Declaration
public ReportControlFrame(int payloadType, ReportBlock[] reportBlocks)
Parameters
Type | Name | Description |
---|---|---|
System. |
payloadType | Type of the payload. |
Report |
reportBlocks | The report blocks. |
ReportControlFrame(Int32, ReportBlock[], Int32)
Initializes a new instance of the Report
Declaration
public ReportControlFrame(int payloadType, ReportBlock[] reportBlocks, int reportBlockOffset)
Parameters
Type | Name | Description |
---|---|---|
System. |
payloadType | Type of the payload. |
Report |
reportBlocks | The report blocks. |
System. |
reportBlockOffset | The report block offset. |
ReportControlFrame(Int32, Int32, DataBuffer)
Initializes a new instance of the Report
Declaration
public ReportControlFrame(int payloadType, int reportBlockOffset, DataBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
System. |
payloadType | The payload type. |
System. |
reportBlockOffset | The offset of the report block. |
Data |
buffer | The backing data buffer. |
ReportControlFrame(Int32, Int64, ReportBlock)
Initializes a new instance of the Report
Declaration
public ReportControlFrame(int payloadType, long synchronizationSource, ReportBlock reportBlock)
Parameters
Type | Name | Description |
---|---|---|
System. |
payloadType | Type of the payload. |
System. |
synchronizationSource | The synchronization source. |
Report |
reportBlock | The report block. |
ReportControlFrame(Int32, Int64, ReportBlock, Int32)
Initializes a new instance of the Report
Declaration
public ReportControlFrame(int payloadType, long synchronizationSource, ReportBlock reportBlock, int reportBlockOffset)
Parameters
Type | Name | Description |
---|---|---|
System. |
payloadType | Type of the payload. |
System. |
synchronizationSource | The synchronization source. |
Report |
reportBlock | The report block. |
System. |
reportBlockOffset | The report block offset. |
ReportControlFrame(Int32, Int64, ReportBlock[])
Initializes a new instance of the Report
Declaration
public ReportControlFrame(int payloadType, long synchronizationSource, ReportBlock[] reportBlocks)
Parameters
Type | Name | Description |
---|---|---|
System. |
payloadType | Type of the payload. |
System. |
synchronizationSource | The synchronization source. |
Report |
reportBlocks | The report blocks. |
ReportControlFrame(Int32, Int64, ReportBlock[], Int32)
Initializes a new instance of the Report
Declaration
public ReportControlFrame(int payloadType, long synchronizationSource, ReportBlock[] reportBlocks, int reportBlockOffset)
Parameters
Type | Name | Description |
---|---|---|
System. |
payloadType | Type of the payload. |
System. |
synchronizationSource | The synchronization source. |
Report |
reportBlocks | The report blocks. |
System. |
reportBlockOffset | The report block offset. |
Properties
FixedPayloadHeaderLength
Gets the report control frame fixed payload header length.
Declaration
public static int FixedPayloadHeaderLength { get; }
Property Value
Type | Description |
---|---|
System. |
ReceptionReportCount
Gets or sets the feedback message type.
Declaration
public int ReceptionReportCount { get; }
Property Value
Type | Description |
---|---|
System. |
ReportBlock
Gets or sets the report block.
Declaration
public ReportBlock ReportBlock { get; set; }
Property Value
Type | Description |
---|---|
Report |
ReportBlocks
Gets or sets the report blocks.
Declaration
public ReportBlock[] ReportBlocks { get; set; }
Property Value
Type | Description |
---|---|
Report |
SynchronizationSource
Gets or sets the synchronization source.
Declaration
public long SynchronizationSource { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
GetReportBlock(Int64)
Gets the report block.
Declaration
public ReportBlock GetReportBlock(long synchronizationSource)
Parameters
Type | Name | Description |
---|---|---|
System. |
synchronizationSource | The synchronization source. |
Returns
Type | Description |
---|---|
Report |