39 lines
798 B
C
Raw Normal View History

2025-05-08 18:01:52 +08:00
#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