8#ifndef NIM_SDK_DLL_API_NIM_RTS_H_
9#define NIM_SDK_DLL_API_NIM_RTS_H_
75 const char* custom_info,
76 const char* json_extension,
78 const void* user_data);
110 const char* json_extension,
112 const void* user_data);
166 const char* json_extension,
168 const void* user_data);
217 const char* json_extension,
219 const void* user_data);
232NIM_SDK_DLL_API
void nim_rts_send_data(
const char* session_id,
int channel_type,
const char* data,
unsigned int size,
const char* json_extension);
NIMProxyType
Definition: nim_global_def.h:186
NIM_SDK_DLL_API void nim_rts_ack(const char *session_id, int channel_type, bool accept, const char *json_extension, nim_rts_ack_res_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_rts_set_proxy(enum NIMProxyType type, const char *host, int port, const char *user, const char *password)
NIM_SDK_DLL_API void nim_rts_set_sync_ack_notify_cb_func(nim_rts_sync_ack_notify_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_rts_set_vchat_mode(const char *session_id, int mode, const char *json_extension)
NIM_SDK_DLL_API void nim_rts_join_conf(const char *name, const char *json_extension, nim_rts_join_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_rts_set_control_notify_cb_func(nim_rts_control_notify_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_rts_start(int channel_type, const char *uid, const char *json_extension, nim_rts_start_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_rts_set_start_notify_cb_func(nim_rts_start_notify_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_rts_control(const char *session_id, const char *info, const char *json_extension, nim_rts_control_res_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_rts_set_member_change_cb_func(nim_rts_member_change_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_rts_send_data(const char *session_id, int channel_type, const char *data, unsigned int size, const char *json_extension)
NIM_SDK_DLL_API void nim_rts_set_hangup_notify_cb_func(nim_rts_hangup_notify_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_rts_relogin(const char *session_id, int channel_type, const char *json_extension, nim_rts_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_rts_set_connect_notify_cb_func(nim_rts_connect_notify_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_rts_create_conf(const char *name, const char *custom_info, const char *json_extension, nim_rts_create_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_rts_hangup(const char *session_id, const char *json_extension, nim_rts_hangup_res_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_rts_set_rec_data_cb_func(nim_rts_rec_data_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_rts_set_ack_notify_cb_func(nim_rts_ack_notify_cb_func cb, const void *user_data)
实时会话(数据通道) 接口相关的常量函数等定义头文件
void(* nim_rts_opt_cb_func)(int code, const char *session_id, int channel_type, const char *json_extension, const void *user_data)
Definition: nim_rts_def.h:364
void(* nim_rts_control_notify_cb_func)(const char *session_id, const char *info, const char *uid, const char *json_extension, const void *user_data)
Definition: nim_rts_def.h:314
void(* nim_rts_hangup_notify_cb_func)(const char *session_id, const char *uid, const char *json_extension, const void *user_data)
Definition: nim_rts_def.h:335
void(* nim_rts_ack_notify_cb_func)(const char *session_id, int channel_type, bool accept, const char *uid, const char *json_extension, const void *user_data)
Definition: nim_rts_def.h:239
void(* nim_rts_member_change_cb_func)(const char *session_id, int channel_type, int type, const char *uid, const char *json_extension, const void *user_data)
Definition: nim_rts_def.h:283
void(* nim_rts_hangup_res_cb_func)(int code, const char *session_id, const char *json_extension, const void *user_data)
Definition: nim_rts_def.h:325
void(* nim_rts_join_cb_func)(int code, const char *session_id, const char *json_extension, const void *user_data)
Definition: nim_rts_def.h:212
void(* nim_rts_control_res_cb_func)(int code, const char *session_id, const char *info, const char *json_extension, const void *user_data)
Definition: nim_rts_def.h:301
void(* nim_rts_start_cb_func)(int code, const char *session_id, int channel_type, const char *uid, const char *json_extension, const void *user_data)
Definition: nim_rts_def.h:179
void(* nim_rts_rec_data_cb_func)(const char *session_id, int channel_type, const char *uid, const char *data, unsigned int size, const char *json_extension, const void *user_data)
Definition: nim_rts_def.h:347
void(* nim_rts_start_notify_cb_func)(const char *session_id, int channel_type, const char *uid, const char *json_extension, const void *user_data)
Definition: nim_rts_def.h:193
void(* nim_rts_connect_notify_cb_func)(const char *session_id, int channel_type, int code, const char *json_extension, const void *user_data)
Definition: nim_rts_def.h:270
void(* nim_rts_sync_ack_notify_cb_func)(const char *session_id, int channel_type, bool accept, const char *json_extension, const void *user_data)
Definition: nim_rts_def.h:257
void(* nim_rts_ack_res_cb_func)(int code, const char *session_id, int channel_type, bool accept, const char *json_extension, const void *user_data)
Definition: nim_rts_def.h:226
void(* nim_rts_create_cb_func)(int code, const char *json_extension, const void *user_data)
Definition: nim_rts_def.h:202
NIM SDK 及 NIM ChatRoom SDK 公用头文件