Class TmmbrEntry
An RTCP temporary maximum media-stream bitrate request (TMMBR) packet entry.
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class TmmbrEntry : ControlFrameEntry
Constructors
TmmbrEntry(DataBuffer)
Initializes a new instance of the TmmbrEntry class.
Declaration
public TmmbrEntry(DataBuffer dataBuffer)
Parameters
Type | Name | Description |
---|---|---|
DataBuffer | dataBuffer | The data buffer. |
TmmbrEntry(Int64, Int64)
Initializes a new instance of the TmmbrEntry class.
Declaration
public TmmbrEntry(long maximumBitrate, long synchronizationSource)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | maximumBitrate | The maximum bitrate. |
System.Int64 | synchronizationSource | The synchronization source. |
Properties
DataBuffer
Gets or sets the backing data buffer.
Declaration
public DataBuffer DataBuffer { get; set; }
Property Value
Type | Description |
---|---|
DataBuffer |
FixedPayloadLength
Gets or sets the fixed length of an FIR entry.
Declaration
public static int FixedPayloadLength { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaximumBitrate
Gets or sets the maximum bitrate.
Declaration
public long MaximumBitrate { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
MaximumBitrateExponent
Gets or sets the maximum bitrate exponent.
Declaration
public int MaximumBitrateExponent { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaximumBitrateMantissa
Gets or sets the maximum bitrate mantissa.
Declaration
public int MaximumBitrateMantissa { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MeasuredOverhead
Gets or sets the measured average packet overhead in bytes.
Declaration
public int MeasuredOverhead { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
NormalizedMaximumBitrate
Gets or sets the normalized maximum bitrate.
Declaration
public int NormalizedMaximumBitrate { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SynchronizationSource
Gets or sets the synchronization source.
Declaration
public override long SynchronizationSource { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
Overrides
Methods
Normalized(Int32, Int64)
Creates a TmmbrEntry using normalized parameters.
Declaration
public static TmmbrEntry Normalized(int normalizedMaximumBitrate, long synchronizationSource)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | normalizedMaximumBitrate | The normalized maximum bitrate. |
System.Int64 | synchronizationSource | The synchronization source. |
Returns
Type | Description |
---|---|
TmmbrEntry |