IOTC Platform  Ver: 4.3.6.2-0-ge1f616e
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
DASA.h File Reference
#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.
 

Detailed Description

This file describes AV module APIs for DASA(Dynamic Adaptive Streaming over AVAPI).

Typedef Documentation

Enumeration Type Documentation

Enumerator:
AV_DASA_LEVEL_QUALITY_HIGH 
AV_DASA_LEVEL_QUALITY_BTWHIGHNORMAL 
AV_DASA_LEVEL_QUALITY_NORMAL 
AV_DASA_LEVEL_QUALITY_BTWNORMALLOW 
AV_DASA_LEVEL_QUALITY_LOW 

Function Documentation

int32_t avDASACheck ( int32_t  nAVChannelID)

DASA Status Check.

Parameters
nAVChannelID[in] The channel ID of the AV channel to be checked
Returns
Error code if return value < 0
AV_DASA_LEVEL AV_DASA_LEVEL_QUALITY_HIGH : Set Video Quality High AV_DASA_LEVEL_QUALITY_NORMAL : Set Video Quality Normal AV_DASA_LEVEL_QUALITY_LOW : Set Video Quality Low
int32_t avDASAReset ( int32_t  nAVChannelID,
AV_DASA_LEVEL  nLevel 
)

DASA Status Reset.

Parameters
nAVChannelID[in] The channel ID of the AV channel to be reset
nLevel[in] Set reset quality level
Returns
Error code if return value < 0
AV_ER_NoERROR if setting successfully
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.

Parameters
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
Returns
AV_ER_NoERROR if setting successfully
Error code if return value < 0