

#ifdef USE_3TEE_SDK_API_C

#define D_DEVICE AVDDevice
#define H_AUDIO_DEV AVDHandle

#define UserId std::string 
#define DeviceId std::string 


#define RecordInfosType std::vector<AVDRecordInfo>
#define T_UID std::string 

#define T_SCAL_TYPE AVDScalingType 
#define SCREEN_WND AVDScreenWindow

#define  T_CAMER_CAP AVDCameraCapability

#define UserId std::string 

#define T_USER _AVDUser 

#define T_DID std::string

//#define  
typedef std::string String;
#define SCALING_TYPE AVDScalingType
#define CAMERA_CAP AVDCameraCapability
rtc
#else
#define D_DEVICE rtc::Device  
#define H_AUDIO_DEV rtc::IAudioDevice*  

#define  T_SCAL_TYPE rtc::IVideoRenderView::ScalingType
#define  SCREEN_WND ScreenWindow

#define T_CAMER_CAP rtc::CameraCapability 


#define T_USER User 

#define T_UID UserId 
#define T_DID DeviceId 

#define SCALING_TYPE IVideoRenderView::ScalingType  
#define CAMERA_CAP CameraCapability 

#endif

#define DELETE_IF_ARRAY(param){if(param){delete [] param;param=NULL;}}