FMLiveSwitchVideoUtility Class Reference

Instance Methods

(instancetype) - init
 

Class Methods

(double) + bitratePowerScale
 
(int) + getBitrateWithPixelCount:frameRate:bitsPerPixel:
 
(int) + getBitrateWithPreferredBitrate:width:height:frameRate:bitsPerPixel:
 
(FMLiveSwitchVideoEncodingConfig *) + getEncodingConfigWithDegradationPreference:multiplier:frameRate:
 
(int) + getPixelCountWithBitrate:frameRate:bitsPerPixel:
 
(FMLiveSwitchVideoDegradationPreference) + processDegradationPreference:type:
 
(void) + updateEncodingConfig:degradationPreference:multiplier:frameRate:
 
(FMLiveSwitchVideoUtility *) + videoUtility
 

Method Documentation

◆ bitratePowerScale

+ (double) bitratePowerScale

◆ getBitrateWithPixelCount:frameRate:bitsPerPixel:

+ (int) getBitrateWithPixelCount: (int)  pixelCount
frameRate: (double)  frameRate
bitsPerPixel: (double)  bitsPerPixel 

◆ getBitrateWithPreferredBitrate:width:height:frameRate:bitsPerPixel:

+ (int) getBitrateWithPreferredBitrate: (int)  preferredBitrate
width: (int)  width
height: (int)  height
frameRate: (double)  frameRate
bitsPerPixel: (double)  bitsPerPixel 

◆ getEncodingConfigWithDegradationPreference:multiplier:frameRate:

+ (FMLiveSwitchVideoEncodingConfig*) getEncodingConfigWithDegradationPreference: (FMLiveSwitchVideoDegradationPreference)  degradationPreference
multiplier: (double)  multiplier
frameRate: (double)  frameRate 

◆ getPixelCountWithBitrate:frameRate:bitsPerPixel:

+ (int) getPixelCountWithBitrate: (int)  bitrate
frameRate: (double)  frameRate
bitsPerPixel: (double)  bitsPerPixel 

◆ init

- (instancetype) init

◆ processDegradationPreference:type:

+ (FMLiveSwitchVideoDegradationPreference) processDegradationPreference: (FMLiveSwitchVideoDegradationPreference)  degradationPreference
type: (FMLiveSwitchVideoType)  type 

◆ updateEncodingConfig:degradationPreference:multiplier:frameRate:

+ (void) updateEncodingConfig: (FMLiveSwitchVideoEncodingConfig *)  encodingConfig
degradationPreference: (FMLiveSwitchVideoDegradationPreference)  degradationPreference
multiplier: (double)  multiplier
frameRate: (double)  frameRate 

◆ videoUtility

+ (FMLiveSwitchVideoUtility*) videoUtility