| Streamaxia Open SDK 3.2

AXUtils+Bitrate.h
1 //
2 // AXUtils+Bitrate.h
3 // StreamaxiaSDK
4 //
5 // Created by Mihaita Babici on 9/11/16.
6 // Copyright © 2016 Agilio. All rights reserved.
7 //
8
9 #import "AXUtils.h"
10 #import "AXRecorderDefines.h"
11
15 @interface AXUtils (Bitrate)
16
20
24 @property (nonatomic, strong, readonly) NSDictionary<NSNumber *, NSNumber *> *optimalBitrates;
25
29 @property (nonatomic, strong, readonly) NSDictionary<NSNumber *, NSNumber *> *minBitrates;
30
34 @property (nonatomic, strong, readonly) NSDictionary<NSNumber *, NSNumber *> *maxBitrates;
35
39
47 - (NSInteger)bitrateForResolution:(AXVideoFrameResolution)resolution;
48
56 - (NSInteger)minBitrateForResolution:(AXVideoFrameResolution)resolution;
57
65 - (NSInteger)maxBitrateForResolution:(AXVideoFrameResolution)resolution;
66
78 - (NSInteger)clampBitrate:(NSInteger)bitrate forResolution:(AXVideoFrameResolution)resolution;
79
80 @end
AXUtils(Bitrate)
Definition: AXUtils+Bitrate.h:15