#include "AVCommon.h"
Typedefs | |
typedef enum _AV_DASA_LEVEL_ | AV_DASA_LEVEL |
Enumerations | |
enum | _AV_DASA_LEVEL_ { AV_DASA_LEVEL_QUALITY_HIGH = 0, AV_DASA_LEVEL_QUALITY_BTWHIGHNORMAL = 1, AV_DASA_LEVEL_QUALITY_NORMAL = 2, AV_DASA_LEVEL_QUALITY_BTWNORMALLOW = 3, AV_DASA_LEVEL_QUALITY_LOW = 4 } |
Functions | |
int32_t | avDASASetting (int32_t nAVChannelID, int32_t nEnable, int32_t nCleanBufferCondition, int32_t nCleanBufferRatio, int32_t nAdjustmentKeepTime, int32_t nIncreaseQualityCond, int32_t nDecreaseRatio, AV_DASA_LEVEL nInitLevel) |
Set DASA Parameter. | |
int32_t | avDASACheck (int32_t nAVChannelID) |
DASA Status Check. | |
int32_t | avDASAReset (int32_t nAVChannelID, AV_DASA_LEVEL nLevel) |
DASA Status Reset. | |
This file describes AV module APIs for DASA(Dynamic Adaptive Streaming over AVAPI).
typedef enum _AV_DASA_LEVEL_ AV_DASA_LEVEL |
enum _AV_DASA_LEVEL_ |
int32_t avDASACheck | ( | int32_t | nAVChannelID | ) |
DASA Status Check.
nAVChannelID | [in] The channel ID of the AV channel to be checked |
int32_t avDASAReset | ( | int32_t | nAVChannelID, |
AV_DASA_LEVEL | nLevel | ||
) |
DASA Status Reset.
nAVChannelID | [in] The channel ID of the AV channel to be reset |
nLevel | [in] Set reset quality level |
int32_t avDASASetting | ( | int32_t | nAVChannelID, |
int32_t | nEnable, | ||
int32_t | nCleanBufferCondition, | ||
int32_t | nCleanBufferRatio, | ||
int32_t | nAdjustmentKeepTime, | ||
int32_t | nIncreaseQualityCond, | ||
int32_t | nDecreaseRatio, | ||
AV_DASA_LEVEL | nInitLevel | ||
) |
Set DASA Parameter.
nAVChannelID | [in] The channel ID of the AV channel to be enabled DASA |
nEnable | [in] Set 1 to enable DASA, 0 to disable DASA |
nCleanBufferCondition | [in] Set clean buffer condition in secs, must greater than or equal to 3 and smaller than or equal to 9 |
nCleanBufferRatio | [in] Set clean buffer ratio, must greater than or equal to 50 and smaller than or equal to 100 |
nAdjustmentKeepTime | [in] Set increase AV_DASA_LEVEL quality keep time, must bigger than or equal to 5 secs |
nIncreaseQualityCond | [in] Set accumulation network stable time for increasing AV_DASA_LEVEL quality, must bigger than or equal to 3 secs |
nDecreaseRatio | [in] Set decrease AV_DASA_LEVEL quality ratio, set nDecreaseRatio smaller will trigger decreasing more offen (1~100). |
nInitLevel | [in] Set initial quality level |