8#ifndef NIM_SDK_DLL_API_NIM_DEVICE_H_
9#define NIM_SDK_DLL_API_NIM_DEVICE_H_
34 const char* device_path,
36 const char* json_extension,
38 const void* user_data);
88 const char* json_extension);
112 const char* json_extension,
114 const void* user_data);
162 unsigned int channels,
163 const char* json_extension);
208 const char* device_path,
210 const char* json_extension,
212 const void* user_data);
250 const char* json_extension,
252 const void* user_data);
265 const char* json_extension,
267 const void* user_data);
#define NIM_SDK_DLL_API
Definition: nim_build_config.h:14
NIM_SDK_DLL_API void nim_vchat_set_audio_data_cb_ex(int type, const char *json_extension, nim_vchat_audio_data_cb_func_ex cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_end_device(enum NIMDeviceType type, const char *json_extension)
NIM_SDK_DLL_API bool nim_vchat_accompanying_sound(unsigned char id, uint64_t time, const char *data, unsigned int size, unsigned int rate, unsigned int channels, const char *json_extension)
NIM_SDK_DLL_API bool nim_vchat_custom_audio_data(uint64_t time, const char *data, uint32_t size, const char *json_extension)
NIM_SDK_DLL_API void nim_vchat_set_video_data_cb(bool capture, const char *json_extension, nim_vchat_video_data_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_set_audio_volumn(unsigned char volumn, bool capture)
NIM_SDK_DLL_API bool nim_vchat_get_audio_input_auto_volumn()
NIM_SDK_DLL_API void nim_vchat_set_audio_input_auto_volumn(bool auto_volumn)
NIM_SDK_DLL_API void nim_vchat_set_audio_process_info(bool aec, bool ns, bool vad)
NIM_SDK_DLL_API unsigned char nim_vchat_get_audio_volumn(bool capture)
NIM_SDK_DLL_API void nim_vchat_stop_effect(int id, const char *json_extension, nim_vchat_audio_effect_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_stop_extend_camera(const char *id, const char *json_extension)
NIM_SDK_DLL_API void nim_vchat_preload_effect(int id, const char *path, const char *json_extension, nim_vchat_audio_effect_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_remove_device_status_cb(enum NIMDeviceType type)
NIM_SDK_DLL_API void nim_vchat_enum_device_devpath(enum NIMDeviceType type, const char *json_extension, nim_vchat_enum_device_devpath_sync_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_start_extend_camera(const char *id, const char *device_path, uint32_t fps, const char *json_extension, nim_vchat_start_device_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_add_device_status_cb(enum NIMDeviceType type, nim_vchat_device_status_cb_func cb, const void *user_data)
NIM_SDK_DLL_API bool nim_vchat_custom_video_data(uint64_t time, const char *data, uint32_t size, uint32_t width, uint32_t height, const char *json_extension)
NIM_SDK_DLL_API void nim_vchat_start_device(enum NIMDeviceType type, const char *device_path, unsigned fps, const char *json_extension, nim_vchat_start_device_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_play_effect(int id, int loop_count, const char *json_extension, nim_vchat_audio_effect_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_set_audio_data_cb(bool capture, const char *json_extension, nim_vchat_audio_data_cb_func cb, const void *user_data)
void(* nim_vchat_audio_data_cb_func_ex)(uint64_t time, const char *data, uint32_t size, int channels, int rate, int volume, const char *json_extension, const void *user_data)
Definition: nim_device_def.h:146
void(* nim_vchat_device_status_cb_func)(enum NIMDeviceType type, uint32_t status, const char *device_path, const char *json_extension, const void *user_data)
Definition: nim_device_def.h:121
void(* nim_vchat_enum_device_devpath_sync_cb_func)(bool ret, enum NIMDeviceType type, const char *json_extension, const void *user_data)
Definition: nim_device_def.h:105
NIMDeviceType
Definition: nim_device_def.h:17
void(* nim_vchat_start_device_cb_func)(enum NIMDeviceType type, bool ret, const char *json_extension, const void *user_data)
Definition: nim_device_def.h:163
void(* nim_vchat_audio_data_cb_func)(uint64_t time, const char *data, uint32_t size, const char *json_extension, const void *user_data)
Definition: nim_device_def.h:175
void(* nim_vchat_video_data_cb_func)(uint64_t time, const char *data, uint32_t size, uint32_t width, uint32_t height, const char *json_extension, const void *user_data)
Definition: nim_device_def.h:190
void(* nim_vchat_audio_effect_opt_cb_func)(int id, bool ret, int code, const char *json_extension, const void *user_data)
Definition: nim_device_def.h:207
NIM SDK 及 NIM ChatRoom SDK 公用头文件