FMLiveSwitchH264ProfileLevelId Class Reference

An H.264 Profile Level ID. More...

Instance Methods

(NSString *) - description
 Returns a string that represents this instance. More...
 
(FMLiveSwitchEncodingInfo *) - getMaxEncoding
 Gets the max encoding info value for the given level. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchH264ProfileLevelId class. More...
 
(instancetype) - initWithProfile:level:
 Initializes a new instance of the FMLiveSwitchH264ProfileLevelId class. More...
 
(instancetype) - initWithProfileIdc:profileIop:levelIdc:
 Initializes a new instance of the FMLiveSwitchH264ProfileLevelId class. More...
 
(instancetype) - initWithProfileLevelId:
 Initializes a new instance of the FMLiveSwitchH264ProfileLevelId class. More...
 
(NSString *) - level
 Gets the level. More...
 
(int) - levelIdc
 Gets the level ID code. More...
 
(NSString *) - profile
 Gets the profile. More...
 
(int) - profileIdc
 Gets the profile ID Code. More...
 
(FMLiveSwitchH264ProfileIop *) - profileIop
 Gets the profile constraints. More...
 
(void) - setLevelIdc:
 Sets the level ID code. More...
 
(void) - setProfileIdc:
 Sets the profile ID Code. More...
 
(void) - setProfileIop:
 Sets the profile constraints. More...
 

Class Methods

(FMLiveSwitchH264ProfileLevelId *) + baselineLevel10
 Gets baseline profile level 1.0. More...
 
(FMLiveSwitchH264ProfileLevelId *) + baselineLevel31
 Gets baseline profile level 3.1. More...
 
(FMLiveSwitchH264ProfileLevelId *) + constrainedBaselineLevel10
 Gets constrained baseline profile level 1.0. More...
 
(FMLiveSwitchH264ProfileLevelId *) + constrainedBaselineLevel31
 Gets constrained baseline profile level 3.1. More...
 
(FMLiveSwitchH264ProfileLevelId *) + default
 Gets constrainedBaselineLevel31. More...
 
(FMLiveSwitchH264ProfileLevelId *) + highLevel50
 Gets high profile level 5.0. More...
 
(FMLiveSwitchH264ProfileLevelId *) + mainLevel50
 Gets main profile level 5.0. More...
 
(FMLiveSwitchH264ProfileLevelId *) + profileLevelId
 Initializes a new instance of the FMLiveSwitchH264ProfileLevelId class. More...
 
(FMLiveSwitchH264ProfileLevelId *) + profileLevelId:
 Initializes a new instance of the FMLiveSwitchH264ProfileLevelId class. More...
 
(FMLiveSwitchH264ProfileLevelId *) + profileLevelIdWithProfile:level:
 Initializes a new instance of the FMLiveSwitchH264ProfileLevelId class. More...
 
(FMLiveSwitchH264ProfileLevelId *) + profileLevelIdWithProfileIdc:profileIop:levelIdc:
 Initializes a new instance of the FMLiveSwitchH264ProfileLevelId class. More...
 

Detailed Description

An H.264 Profile Level ID.

Method Documentation

◆ baselineLevel10

+ (FMLiveSwitchH264ProfileLevelId*) baselineLevel10

Gets baseline profile level 1.0.

◆ baselineLevel31

+ (FMLiveSwitchH264ProfileLevelId*) baselineLevel31

Gets baseline profile level 3.1.

◆ constrainedBaselineLevel10

+ (FMLiveSwitchH264ProfileLevelId*) constrainedBaselineLevel10

Gets constrained baseline profile level 1.0.

◆ constrainedBaselineLevel31

+ (FMLiveSwitchH264ProfileLevelId*) constrainedBaselineLevel31

Gets constrained baseline profile level 3.1.

◆ default

◆ description

- (NSString*) description

Returns a string that represents this instance.

◆ getMaxEncoding

- (FMLiveSwitchEncodingInfo*) getMaxEncoding

Gets the max encoding info value for the given level.

Returns
EncodingInfo relating to the h264 profile level

◆ highLevel50

Gets high profile level 5.0.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchH264ProfileLevelId class.

◆ initWithProfile:level:

- (instancetype) initWithProfile: (NSString *)  profile
level: (NSString *)  level 

Initializes a new instance of the FMLiveSwitchH264ProfileLevelId class.

Parameters
profileThe profile.
levelThe level.

◆ initWithProfileIdc:profileIop:levelIdc:

- (instancetype) initWithProfileIdc: (int)  profileIdc
profileIop: (int)  profileIop
levelIdc: (int)  levelIdc 

Initializes a new instance of the FMLiveSwitchH264ProfileLevelId class.

Parameters
profileIdcThe profile ID code.
profileIopThe profile constraints.
levelIdcThe level ID code.

◆ initWithProfileLevelId:

- (instancetype) initWithProfileLevelId: (NSString *)  profileLevelId

Initializes a new instance of the FMLiveSwitchH264ProfileLevelId class.

Parameters
profileLevelIdThe profile level identifier.

◆ level

- (NSString*) level

Gets the level.

◆ levelIdc

- (int) levelIdc

Gets the level ID code.

◆ mainLevel50

Gets main profile level 5.0.

◆ profile

- (NSString*) profile

Gets the profile.

◆ profileIdc

- (int) profileIdc

Gets the profile ID Code.

◆ profileIop

- (FMLiveSwitchH264ProfileIop*) profileIop

Gets the profile constraints.

◆ profileLevelId

+ (FMLiveSwitchH264ProfileLevelId*) profileLevelId

Initializes a new instance of the FMLiveSwitchH264ProfileLevelId class.

◆ profileLevelId:

+ (FMLiveSwitchH264ProfileLevelId*) profileLevelId: (NSString *)  profileLevelId

Initializes a new instance of the FMLiveSwitchH264ProfileLevelId class.

Parameters
profileLevelIdThe profile level identifier.

◆ profileLevelIdWithProfile:level:

+ (FMLiveSwitchH264ProfileLevelId*) profileLevelIdWithProfile: (NSString *)  profile
level: (NSString *)  level 

Initializes a new instance of the FMLiveSwitchH264ProfileLevelId class.

Parameters
profileThe profile.
levelThe level.

◆ profileLevelIdWithProfileIdc:profileIop:levelIdc:

+ (FMLiveSwitchH264ProfileLevelId*) profileLevelIdWithProfileIdc: (int)  profileIdc
profileIop: (int)  profileIop
levelIdc: (int)  levelIdc 

Initializes a new instance of the FMLiveSwitchH264ProfileLevelId class.

Parameters
profileIdcThe profile ID code.
profileIopThe profile constraints.
levelIdcThe level ID code.

◆ setLevelIdc:

- (void) setLevelIdc: (int)  value

Sets the level ID code.

◆ setProfileIdc:

- (void) setProfileIdc: (int)  value

Sets the profile ID Code.

◆ setProfileIop:

- (void) setProfileIop: (FMLiveSwitchH264ProfileIop *)  value

Sets the profile constraints.