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 ReportControlFrame class.
Declaration
public ReportControlFrame(int payloadType, ReportBlock reportBlock)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | payloadType | Type of the payload. |
ReportBlock | reportBlock | The report block. |
ReportControlFrame(Int32, ReportBlock, Int32)
Initializes a new instance of the ReportControlFrame class.
Declaration
public ReportControlFrame(int payloadType, ReportBlock reportBlock, int reportBlockOffset)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | payloadType | Type of the payload. |
ReportBlock | reportBlock | The report block. |
System.Int32 | reportBlockOffset | The report block offset. |
ReportControlFrame(Int32, ReportBlock[])
Initializes a new instance of the ReportControlFrame class.
Declaration
public ReportControlFrame(int payloadType, ReportBlock[] reportBlocks)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | payloadType | Type of the payload. |
ReportBlock[] | reportBlocks | The report blocks. |
ReportControlFrame(Int32, ReportBlock[], Int32)
Initializes a new instance of the ReportControlFrame class.
Declaration
public ReportControlFrame(int payloadType, ReportBlock[] reportBlocks, int reportBlockOffset)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | payloadType | Type of the payload. |
ReportBlock[] | reportBlocks | The report blocks. |
System.Int32 | reportBlockOffset | The report block offset. |
ReportControlFrame(Int32, Int32, DataBuffer)
Initializes a new instance of the ReportControlFrame class.
Declaration
public ReportControlFrame(int payloadType, int reportBlockOffset, DataBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | payloadType | The payload type. |
System.Int32 | reportBlockOffset | The offset of the report block. |
DataBuffer | buffer | The backing data buffer. |
ReportControlFrame(Int32, Int64, ReportBlock)
Initializes a new instance of the ReportControlFrame class.
Declaration
public ReportControlFrame(int payloadType, long synchronizationSource, ReportBlock reportBlock)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | payloadType | Type of the payload. |
System.Int64 | synchronizationSource | The synchronization source. |
ReportBlock | reportBlock | The report block. |
ReportControlFrame(Int32, Int64, ReportBlock, Int32)
Initializes a new instance of the ReportControlFrame class.
Declaration
public ReportControlFrame(int payloadType, long synchronizationSource, ReportBlock reportBlock, int reportBlockOffset)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | payloadType | Type of the payload. |
System.Int64 | synchronizationSource | The synchronization source. |
ReportBlock | reportBlock | The report block. |
System.Int32 | reportBlockOffset | The report block offset. |
ReportControlFrame(Int32, Int64, ReportBlock[])
Initializes a new instance of the ReportControlFrame class.
Declaration
public ReportControlFrame(int payloadType, long synchronizationSource, ReportBlock[] reportBlocks)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | payloadType | Type of the payload. |
System.Int64 | synchronizationSource | The synchronization source. |
ReportBlock[] | reportBlocks | The report blocks. |
ReportControlFrame(Int32, Int64, ReportBlock[], Int32)
Initializes a new instance of the ReportControlFrame class.
Declaration
public ReportControlFrame(int payloadType, long synchronizationSource, ReportBlock[] reportBlocks, int reportBlockOffset)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | payloadType | Type of the payload. |
System.Int64 | synchronizationSource | The synchronization source. |
ReportBlock[] | reportBlocks | The report blocks. |
System.Int32 | 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.Int32 |
ReceptionReportCount
Gets or sets the feedback message type.
Declaration
public int ReceptionReportCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ReportBlock
Gets or sets the report block.
Declaration
public ReportBlock ReportBlock { get; set; }
Property Value
Type | Description |
---|---|
ReportBlock |
ReportBlocks
Gets or sets the report blocks.
Declaration
public ReportBlock[] ReportBlocks { get; set; }
Property Value
Type | Description |
---|---|
ReportBlock[] |
SynchronizationSource
Gets or sets the synchronization source.
Declaration
public long SynchronizationSource { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
Methods
GetReportBlock(Int64)
Gets the report block.
Declaration
public ReportBlock GetReportBlock(long synchronizationSource)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | synchronizationSource | The synchronization source. |
Returns
Type | Description |
---|---|
ReportBlock |