Class ProfileLevelId
An H.264 Profile Level ID.
Inheritance
Namespace: FM.LiveSwitch.H264
Assembly: FM.LiveSwitch.dll
Syntax
public class ProfileLevelId : object
  Constructors
ProfileLevelId()
Initializes a new instance of the ProfileLevelId class.
Declaration
public ProfileLevelId()
  ProfileLevelId(Int32, Int32, Int32)
Initializes a new instance of the ProfileLevelId class.
Declaration
public ProfileLevelId(int profileIdc, int profileIop, int levelIdc)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | profileIdc | The profile ID code.  | 
      
| System.Int32 | profileIop | The profile constraints.  | 
      
| System.Int32 | levelIdc | The level ID code.  | 
      
ProfileLevelId(String)
Initializes a new instance of the ProfileLevelId class.
Declaration
public ProfileLevelId(string profileLevelId)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | profileLevelId | The profile level identifier.  | 
      
ProfileLevelId(String, String)
Initializes a new instance of the ProfileLevelId class.
Declaration
public ProfileLevelId(string profile, string level)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | profile | The profile.  | 
      
| System.String | level | The level.  | 
      
Properties
BaselineLevel10
Gets baseline profile level 1.0.
Declaration
public static ProfileLevelId BaselineLevel10 { get; }
  Property Value
| Type | Description | 
|---|---|
| ProfileLevelId | 
BaselineLevel31
Gets baseline profile level 3.1.
Declaration
public static ProfileLevelId BaselineLevel31 { get; }
  Property Value
| Type | Description | 
|---|---|
| ProfileLevelId | 
ConstrainedBaselineLevel10
Gets constrained baseline profile level 1.0.
Declaration
public static ProfileLevelId ConstrainedBaselineLevel10 { get; }
  Property Value
| Type | Description | 
|---|---|
| ProfileLevelId | 
ConstrainedBaselineLevel31
Gets constrained baseline profile level 3.1.
Declaration
public static ProfileLevelId ConstrainedBaselineLevel31 { get; }
  Property Value
| Type | Description | 
|---|---|
| ProfileLevelId | 
Default
Declaration
public static ProfileLevelId Default { get; }
  Property Value
| Type | Description | 
|---|---|
| ProfileLevelId | 
HighLevel50
Gets high profile level 5.0.
Declaration
public static ProfileLevelId HighLevel50 { get; }
  Property Value
| Type | Description | 
|---|---|
| ProfileLevelId | 
Level
Gets the level.
Declaration
public string Level { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
LevelIdc
Gets or sets the level ID code.
Declaration
public int LevelIdc { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
MainLevel50
Gets main profile level 5.0.
Declaration
public static ProfileLevelId MainLevel50 { get; }
  Property Value
| Type | Description | 
|---|---|
| ProfileLevelId | 
Profile
Gets the profile.
Declaration
public string Profile { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
ProfileIdc
Gets or sets the profile ID Code.
Declaration
public int ProfileIdc { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
ProfileIop
Gets or sets the profile constraints.
Declaration
public ProfileIop ProfileIop { get; set; }
  Property Value
| Type | Description | 
|---|---|
| ProfileIop | 
Methods
GetMaxEncoding()
Gets the max encoding info value for the given level.
Declaration
public EncodingInfo GetMaxEncoding()
  Returns
| Type | Description | 
|---|---|
| EncodingInfo | EncodingInfo relating to the h264 profile level  | 
      
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| System.String |