Class Format
An H.264 format.
Inherited Members
Namespace: FM.LiveSwitch.H264
Assembly: FM.LiveSwitch.dll
Syntax
public class Format : VideoFormat
  Constructors
Format()
Initializes a new instance of the Format class.
Declaration
public Format()
  Format(ProfileLevelId)
Initializes a new instance of the Format class.
Declaration
public Format(ProfileLevelId profileLevelId)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ProfileLevelId | profileLevelId | The profile level ID.  | 
      
Format(ProfileLevelId, Int32)
Initializes a new instance of the Format class.
Declaration
public Format(ProfileLevelId profileLevelId, int packetizationMode)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ProfileLevelId | profileLevelId | The profile level ID.  | 
      
| System.Int32 | packetizationMode | The packetization mode.  | 
      
Format(Int32)
Initializes a new instance of the Format class.
Declaration
public Format(int clockRate)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | clockRate | The clock rate.  | 
      
Format(Int32, ProfileLevelId, Int32)
Initializes a new instance of the Format class.
Declaration
public Format(int clockRate, ProfileLevelId profileLevelId, int packetizationMode)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | clockRate | The clock rate.  | 
      
| ProfileLevelId | profileLevelId | The profile level ID.  | 
      
| System.Int32 | packetizationMode | The packetization mode.  | 
      
Format(Int32, Int32)
Initializes a new instance of the Format class.
Declaration
public Format(int clockRate, int packetizationMode)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | clockRate | The clock rate.  | 
      
| System.Int32 | packetizationMode | The packetization mode.  | 
      
Format(Int32, String, String, Int32)
Initializes a new instance of the Format class.
Declaration
public Format(int clockRate, string profile, string level, int packetizationMode)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | clockRate | The clock rate.  | 
      
| System.String | profile | The profile.  | 
      
| System.String | level | The level.  | 
      
| System.Int32 | packetizationMode | The packetization mode.  | 
      
Format(String, String, Int32)
Initializes a new instance of the Format class.
Declaration
public Format(string profile, string level, int packetizationMode)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | profile | The profile.  | 
      
| System.String | level | The level.  | 
      
| System.Int32 | packetizationMode | The packetization mode.  | 
      
Properties
MaxBitrate
Gets the maximum bitrate supported by this format, in kbps.
Declaration
public override int MaxBitrate { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
MinBitrate
Gets the minimum bitrate supported by this format, in kbps.
Declaration
public override int MinBitrate { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
Methods
CreateInstance()
Creates a new instance.
Declaration
protected override VideoFormat CreateInstance()
  Returns
| Type | Description | 
|---|---|
| VideoFormat |