Class TmmbnEntry
An RTCP temporary maximum media-stream bitrate notification (TMMBN) packet entry.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class TmmbnEntry : ControlFrameEntry
Constructors
TmmbnEntry(DataBuffer)
Initializes a new instance of the TmmbnEntry class.
Declaration
public TmmbnEntry(DataBuffer dataBuffer)
Parameters
Type | Name | Description |
---|---|---|
DataBuffer | dataBuffer | The data buffer. |
TmmbnEntry(Int64, Int64)
Initializes a new instance of the TmmbnEntry class.
Declaration
public TmmbnEntry(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 |
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 TmmbnEntry using normalized parameters.
Declaration
public static TmmbnEntry 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 |
---|---|
TmmbnEntry |