#ifndef __AGORA_CLIENT_H__ #define __AGORA_CLIENT_H__ #ifdef __cplusplus extern "C" { #endif typedef enum { /** * 连接摄像头成功 */ CAMERA_LINK_SUCCESS, /** * 连接摄像头成功 */ CAMERA_LINK_INTERRUP, /** * 连接摄像头失败 */ CAMERA_LINK_FAIL } camera_link_state; typedef struct agora_client_cb_ops{ void (*event_camera_link_state)(camera_link_state state); }agora_client_cb_ops_t; void agora_init(void); void agora_set_callback(agora_client_cb_ops_t *cb_ops); int agora_is_runing(); void agora_set_video_quality(int quality); void agora_join_channel(char* channel,char* token ,char *license); int agora_level_channel(); void agora_deinit(); #ifdef __cplusplus } #endif #endif