8#ifndef NIM_SDK_DLL_API_NIM_VCHAT_H_
9#define NIM_SDK_DLL_API_NIM_VCHAT_H_
52 const char* description,
53 const char* json_extension,
55 const void* user_data);
86 const char* apns_text,
87 const char* custom_info,
88 const char* json_extension,
89 const void* user_data);
99NIM_SDK_DLL_API
bool nim_vchat_callee_ack(int64_t channel_id,
bool accept,
const char* json_extension,
const void* user_data);
163 const char* json_extension,
165 const void* user_data);
191 const char* custom_info,
192 const char* json_extension,
194 const void* user_data);
211 const char* room_name,
212 const char* json_extension,
214 const void* user_data);
233 const char* json_extension,
235 const void* user_data);
293 const char* json_extension,
295 const void* user_data);
321 const char* json_extension,
323 const void* user_data);
360 const char* json_extension,
362 const void* user_data);
548 const void* remote_data_cb_user_data,
549 const char* json_extension,
551 const void* user_data);
NIMProxyType
Definition: nim_global_def.h:186
NIM_SDK_DLL_API bool nim_vchat_join_room(enum NIMVideoChatMode mode, const char *room_name, const char *json_extension, nim_vchat_opt2_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_cleanup(const char *json_extension)
NIM_SDK_DLL_API void nim_vchat_set_audio_play_mute(bool muted)
NIM_SDK_DLL_API bool nim_vchat_is_auto_subscribe_audio()
NIM_SDK_DLL_API void nim_vchat_set_uid_picture_as_main(const char *uid, const char *json_extension, nim_vchat_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_unsubscribe_video(const char *uid, const char *json_extension, nim_vchat_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API bool nim_vchat_init(const char *json_extension)
NIM_SDK_DLL_API bool nim_vchat_is_auto_publish_video()
NIM_SDK_DLL_API void nim_vchat_set_cb_func(nim_vchat_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_set_rotate_remote_video(bool rotate)
NIM_SDK_DLL_API int nim_vchat_get_video_frame_scale_type()
NIM_SDK_DLL_API void nim_vchat_set_viewer_mode(bool viewer)
NIM_SDK_DLL_API bool nim_vchat_is_auto_subscribe_video()
NIM_SDK_DLL_API void nim_vchat_set_frame_rate(enum NIMVChatVideoFrameRate frame_rate, const char *json_extension, nim_vchat_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_start_record(const char *path, const char *json_extension, nim_vchat_mp4_record_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API bool nim_vchat_control(int64_t channel_id, enum NIMVChatControlType type, const char *json_extension, const void *user_data)
NIM_SDK_DLL_API int nim_vchat_get_connect_status()
NIM_SDK_DLL_API bool nim_vchat_get_viewer_mode()
NIM_SDK_DLL_API void nim_vchat_create_room(const char *room_name, const char *custom_info, const char *json_extension, nim_vchat_opt2_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_update_rtmp_url(const char *rtmp_url, const char *json_extension, nim_vchat_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_set_audio_mute(bool muted)
NIM_SDK_DLL_API void nim_vchat_stop_audio_record(const char *json_extension, nim_vchat_audio_record_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_unpublish_video(const char *json_extension, nim_vchat_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_set_member_in_blacklist(const char *uid, bool add, bool audio, const char *json_extension, nim_vchat_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_set_video_quality(int video_quality, const char *json_extension, nim_vchat_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_set_video_frame_scale(enum NIMVChatVideoFrameScaleType type)
NIM_SDK_DLL_API void nim_vchat_relogin(const char *json_extension, nim_vchat_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_end(const char *json_extension)
NIM_SDK_DLL_API uint64_t nim_vchat_net_detect(const char *json_extension, nim_vchat_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_start_audio_record(const char *path, const char *json_extension, nim_vchat_audio_record_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_set_video_bitrate(int video_bitrate, const char *json_extension, nim_vchat_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_set_proxy(enum NIMProxyType type, const char *host, int port, const char *user, const char *password)
NIM_SDK_DLL_API void nim_vchat_set_custom_data(bool custom_audio, bool custom_video, const char *json_extension, nim_vchat_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API bool nim_vchat_rotate_remote_video_enabled()
NIM_SDK_DLL_API bool nim_chat_set_local_video_simulcast_mode(enum NIMVChatPublishVideoStreamMode video_stream_mode)
NIM_SDK_DLL_API bool nim_vchat_start(enum NIMVideoChatMode mode, const char *apns_text, const char *custom_info, const char *json_extension, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_rate(int rating, const char *description, const char *json_extension, const nim_vchat_rate_callback cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_publish_video(const char *json_extension, nim_vchat_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API bool nim_vchat_callee_ack(int64_t channel_id, bool accept, const char *json_extension, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_subscribe_video(const char *uid, const char *json_extension, nim_vchat_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_select_video_adaptive_strategy(enum NIMVChatVideoEncodeMode mode, const char *json_extension, nim_vchat_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API bool nim_vchat_audio_mute_enabled()
NIM_SDK_DLL_API void nim_vchat_subscribe_audio(bool sub, const char *json_extension, nim_vchat_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API bool nim_vchat_set_talking_mode(enum NIMVideoChatMode mode, const char *json_extension)
NIM_SDK_DLL_API bool nim_vchat_set_auto_publish(bool auto_pub, bool auto_sub)
NIM_SDK_DLL_API bool nim_vchat_audio_play_mute_enabled()
NIM_SDK_DLL_API void nim_vchat_set_remote_audio_data_cb(const char *uid, nim_vchat_remote_audio_data_cb_func remote_data_cb, const void *remote_data_cb_user_data, const char *json_extension, nim_vchat_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_vchat_stop_record(const char *json_extension, nim_vchat_mp4_record_opt_cb_func cb, const void *user_data)
NIMVChatVideoFrameRate
Definition: nim_vchat_def.h:129
NIMVChatVideoEncodeMode
Definition: nim_vchat_def.h:145
NIMVChatVideoFrameScaleType
Definition: nim_vchat_def.h:157
void(* nim_vchat_audio_record_opt_cb_func)(bool ret, int code, const char *file, int64_t time, const char *json_extension, const void *user_data)
Definition: nim_vchat_def.h:720
void(* nim_vchat_cb_func)(enum NIMVideoChatSessionType type, int64_t channel_id, int code, const char *json_extension, const void *user_data)
Definition: nim_vchat_def.h:694
NIMVChatControlType
Definition: nim_vchat_def.h:57
NIMVChatPublishVideoStreamMode
Definition: nim_vchat_def.h:408
void(* nim_vchat_remote_audio_data_cb_func)(uint64_t time, const char *data, unsigned int size, int channels, int rate, const char *json_extension, const void *user_data)
Definition: nim_vchat_def.h:763
void(* nim_vchat_mp4_record_opt_cb_func)(bool ret, int code, const char *file, int64_t time, const char *json_extension, const void *user_data)
Definition: nim_vchat_def.h:707
void(* nim_vchat_opt2_cb_func)(int code, int64_t channel_id, const char *json_extension, const void *user_data)
Definition: nim_vchat_def.h:740
NIMVideoChatMode
Definition: nim_vchat_def.h:89
void(* nim_vchat_rate_callback)(bool ret, int response_code, const char *json_extension, const void *user_data)
Definition: nim_vchat_def.h:750
void(* nim_vchat_opt_cb_func)(bool ret, int code, const char *json_extension, const void *user_data)
Definition: nim_vchat_def.h:730
NIM SDK 及 NIM ChatRoom SDK 公用头文件