9 #import <Foundation/Foundation.h>
10 #import <JMSDK/JCConferenceCallback.h>
11 #import <JMSDK/JCConferenceConstants.h>
12 #import <JMSDK/JCConferenceInfo.h>
13 #import <JMSDK/JCConferenceParticipant.h>
14 #import <JMSDK/JCConferenceReserveInfo.h>
15 #import <JMSDK/JCConferenceInviteInfo.h>
16 #import <JMSDK/JCConferenceCommandInfo.h>
17 #import <JMSDK/JCConferenceQueryConfResult.h>
18 #import <JMSDK/JCConferenceCandidate.h>
19 #import <JMSDK/JCConferenceSipInviteInfo.h>
20 #import <JMSDK/JCConferenceRecordRemoteParams.h>
21 #import <JMSDK/JCConferenceRecordLocalParams.h>
22 #import <JMSDK/JCConferenceSubTitleInfo.h>
27 extern NSString* __nullable
const kIsJoined;
56 + (
JCConference *__nullable)create:(
JCClient *__nonnull)client mediaDevice:(
JCMediaDevice *__nonnull)mediaDevice callback:(id<JCConferenceCallback>__nonnull)callback;
66 + (
JCConference *__nullable)create:(
JCClient *__nonnull)client mediaDevice:(
JCMediaDevice *__nonnull)mediaDevice doodle:(
JCDoodle *__nullable)doodle callback:(id<JCConferenceCallback>__nonnull)callback;
80 - (int)queryGoingConf:(NSString *__nonnull)confNumber;
90 - (bool)start:(NSString *__nonnull)confNumber video:(bool)video config:(NSDictionary<NSString *, NSString *> *__nullable)config;
106 - (bool)join:(NSString *__nonnull)confNumber video:(bool)video config:(NSDictionary<NSString *, NSString *> *__nullable)config;
147 - (bool)kick:(NSArray<JCConferenceParticipant *> *__nonnull)participants;
166 - (bool)muteAll:(
bool)mute;
174 - (int)delay:(
int)time;
181 - (int)updateParticipantExpandInfo:(NSString *__nonnull)expandInfo;
188 - (bool)focusParticipant:(NSArray<NSString *> *__nonnull)userId;
199 - (bool)handUpParticipant:(NSArray<NSString *> *__nonnull)userId handUp:(bool)handUp;
207 - (bool)setChairman:(
bool)isChairman;
216 - (bool)enableUploadAudioStream:(
bool)enable;
224 - (bool)enableUploadVideoStream:(
bool)enable;
232 - (bool)enableAudioOutput:(
bool)enable;
242 - (bool)subscribeUserAudio:(NSString *__nonnull)userId subscribe:(bool)subscribe;
250 - (bool)setVideoStream:(NSString *__nonnull)stream;
286 #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
287 - (bool)enableScreenShare:(
bool)enable appGroupId:(NSString *__nullable)appGroupId preferredExtension:(NSString *__nullable)preferredExtension;
298 - (bool)enableScreenShare:(
bool)enable videoSource:(NSString *__nonnull)videoSource config:(NSString *__nullable)config;
330 - (bool)enableRemoteRecordMember:(
bool)enable userIdList:(NSArray <NSString*>*__nonnull)userIdList;
337 - (bool)inviteToScreenShare:(NSString *__nonnull)userId;
344 - (bool)rejectToScreenShare:(NSString *__nonnull)userId;
351 - (bool)inviteToSpeak:(NSString *__nonnull)userId;
373 - (bool)sendMessage:(NSString *__nonnull)type content:(NSString *__nonnull)content toUserId:(NSString *__nullable)toUserId;
415 - (bool)sendCommand:(NSString *__nonnull)name commandParam:(NSString *__nonnull)param;
424 - (bool)setCustomProperty:(NSString *__nullable)value forKey:(NSString *__nonnull)key;
431 - (nullable NSString *)getCustomProperty:(NSString *__nonnull)key;
458 - (bool)setParticipantRoleEx:(NSString *__nonnull)userId mask:(int)mask value:(
int)value;
465 - (int)invite:(NSArray<NSString *> *__nonnull)users;
472 - (int)inviteEx:(NSArray<JCConferenceInviteInfo *> *__nonnull)users;
482 - (int)importCandidates:(NSArray<JCConferenceCandidate *> *__nonnull)candidates info:(NSString *__nullable)info;
491 - (int)rejectCandidate:(NSString *__nonnull)confNumber;
501 #pragma mark - 预约会议功能
515 - (int)cancelReserve:(NSString *__nonnull)uuid;
574 - (int)querySingleConf:(NSString *__nonnull)uuid;
608 - (bool)setLocalRatio:(
float)ratio;
NSString *__nullable const JCConferenceDoodleOwner
NSString *__nullable const JCConferenceMsgRequestScreenShare
NSString *__nullable const JCConferenceMeetingTypeVideo
NSString *__nullable const JCConferenceMeetingTypeAudio
NSString *__nullable const kMaxSender
NSString *__nullable const kConfDuration
NSString *__nullable const kOnlineMemberCount
NSString *__nullable const JCConferenceMsgRejectScreenShare
NSString *__nullable const kIsJoined
NSString *__nullable const kLocalRecordDir
NSString *__nullable const JCConferenceMeetingType
NSString *__nullable const kCreatorName
JCConferenceState
Definition: JCConferenceConstants.h:83
JCConferencePictureSize
Definition: JCConferenceParticipant.h:28
JCConferenceParticipantType
Definition: JCConferenceParticipant.h:14
JCConferenceReserveInfoState
Definition: JCConferenceReserveInfo.h:26
JCClient 为全局基础类,主要负责登陆登出管理及账户属性存储
Definition: JCClient.h:16
会控模块类
Definition: JCConference.h:43
"该方法即将废弃,请用refreshReservedConf代替" DEPRECATED_MSG_ATTRIBUTE()
获取预约会议列表,结果回调 onRefreshReservedConfResult。 第一次调用获取所有预约会议列表,下一次调用该接口刷新时,在上一次的刷新时间基础上获取该时间点到当前时间点这段时间内变...
int refreshReservedConf()
获取预约会议列表,结果回调 onRefreshReservedConfResult。 第一次调用获取所有预约会议列表,下一次调用该接口刷新时,在上一次的刷新时间基础上获取该时间点到当前时间点这段时间内变...
bool transferToAudioConf()
转语音会议
bool enableCdn()
开关Cdn推流,内部根据状态决定是否开启
bool stop()
结束会议,主持人才能调用接口结束会议,结果回调 onConferenceLeave
NSString *__nullable getStatistics()
获得统计信息,以Json字符串形式返回,其中包含 "Config", "Network","Transport" 和 "Participants" 4个节点
void destroy()
销毁 JCConference 对象
bool lock()
锁定会议/解除锁定,只有主持人才能调用改接口 锁定后无法通过会议号加,会议被锁定后必须再次调用该接口来解锁。 操作结果(成功或失败)通过 onLockResult 回调。 操作成功后会议中所有成员收到 ...
bool stopSubTitle()
关闭会议字幕
JCConferenceState state
Definition: JCConference.h:47
bool leave()
离开会议,当前只支持同时加入一个会议
nullable JCConferenceInfo * getConferenceInfo()
获取 JCConferenceInfo 对象
会议对象
Definition: JCConferenceInfo.h:42
会议成员
Definition: JCConferenceParticipant.h:108
本地录制参数
Definition: JCConferenceRecordLocalParams.h:16
远程录制参数
Definition: JCConferenceRecordRemoteParams.h:19
预约信息
Definition: JCConferenceReserveInfo.h:75
邀请sip用户入会的相关参数
Definition: JCConferenceSipInviteInfo.h:15
会议字幕参数
Definition: JCConferenceSubTitleInfo.h:16
涂鸦类
Definition: JCDoodle.h:20