-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathHAMDefaultABRPolicyConfig.h
36 lines (35 loc) · 1.19 KB
/
HAMDefaultABRPolicyConfig.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#import <Foundation/Foundation.h>
#import "HAMSoftwareStreamFilter.h"
typedef struct HAMDefaultABRPolicyConfig {
double maxMediaSecondsPerRequest;
float downshiftScalar;
float downshiftConstant;
float upshiftScalar;
float upshiftConstant;
double maxDownshiftReadahead;
double localMaxBitrateReadahead;
double minReadaheadForAverageBitrate;
double syncReadahead;
double stunDuration;
bool useHighReplicationFormatsWhileStunned;
bool disableHDRInLowPowerMode;
bool padByte;
bool padByte2;
int maxConsecutiveErrors;
double minUpshiftReplaceChunksReadahead;
double bufferTrimBefore;
double bufferTrimAfter;
float oversendFactor;
float higherPictureQualityOversendFactor;
NSInteger bufferMaxSizeBytes;
NSInteger lowMemoryWarnBufferSizeBytes;
NSInteger lowMemoryCriticalBufferSizeBytes;
double lowMemoryBufferSizeCoolDown;
double stallMaxBufferReadahead;
double stallMinBufferReadahead;
float stallBandwidthTweakScalar;
int stallBandwidthTweakConstant;
HAMSoftwareStreamFilter softwareAV1Filter;
HAMSoftwareStreamFilter softwareVP9Filter;
bool failIfAllFormatsAreFiltered;
} HAMDefaultABRPolicyConfig;