![]() |
Streamaxia Open SDK
3.2
|
#import <AXUtils+Bitrate.h>
Instance Methods | |
Public methods | |
| (NSInteger) | - bitrateForResolution: |
| (NSInteger) | - minBitrateForResolution: |
| (NSInteger) | - maxBitrateForResolution: |
| (NSInteger) | - clampBitrate:forResolution: |
Properties | |
Properties | |
| NSDictionary< NSNumber *, NSNumber * > * | optimalBitrates |
| NSDictionary< NSNumber *, NSNumber * > * | minBitrates |
| NSDictionary< NSNumber *, NSNumber * > * | maxBitrates |
The bit rate utils.
| - (NSInteger) bitrateForResolution: | (AXVideoFrameResolution) | resolution |
Provides the optimal bit rate for the given resolution.
| resolution | The resolution |
Extends class AXUtils.
| - (NSInteger) clampBitrate: | (NSInteger) | bitrate | |
| forResolution: | (AXVideoFrameResolution) | resolution | |
Clamps the given bit rate between the recommended minimum and maximum bit rate values, for the given resolution.
The input bit rate should be in bits per second (bps).
| bitrate | The bit rate. |
| resolution | The resolution |
Extends class AXUtils.
| - (NSInteger) maxBitrateForResolution: | (AXVideoFrameResolution) | resolution |
Provides the maximum bit rate for the given resolution.
| resolution | The resolution |
Extends class AXUtils.
| - (NSInteger) minBitrateForResolution: | (AXVideoFrameResolution) | resolution |
Provides the minimum bit rate for the given resolution.
| resolution | The resolution |
Extends class AXUtils.
|
readnonatomicstrong |
The list of maximum bit rates for each resolution.
Extends class AXUtils.
|
readnonatomicstrong |
The list of minimum bit rates for each resolution.
Extends class AXUtils.
|
readnonatomicstrong |
The list of optimal bit rates for each resolution.
Extends class AXUtils.
1.8.13