Join a meeting only
Join with a meeting number
Want to join a meeting? The step is simple and easy. First, configure
the meeting parameters paramDict:
//For Join a meeting with password
NSDictionary *paramDict = @{
kMeetingParam_Username:kSDKUserName,
kMeetingParam_MeetingNumber:meetingNo,
kMeetingParam_MeetingPassword:pwd,
//kMeetingParam_ParticipantID:kParticipantID,
//kMeetingParam_WebinarToken:kWebinarToken,
//kMeetingParam_NoAudio:@(YES),
//kMeetingParam_NoVideo:@(YES),
};
//For Join a meeting
NSDictionary *paramDict = @{
kMeetingParam_Username:kSDKUserName,
kMeetingParam_MeetingNumber:meetingNo,
kMeetingParam_MeetingPassword:pwd,
};
When the parameters are set, then we need to prepare the meeting parameters that need to pass to the join meeting function:
MobileRTCMeetError ret = [ms joinMeetingWithDictionary:paramDict];
Join meeting status
To know whether the join meeting action is a success or not, or to get
the error message, implement the onMeetingStatusChange method.
- (void)onMeetingStateChange:(MobileRTCMeetingState)state;
{
NSLog(@"onMeetingStateChange:%d", state);
.....
}
Get the current meeting's available audio types
To get an integer representing the current meeting's supported audio type, call the getSupportedMeetingAudioType interface after joining a meeting. The integer value is bitwise OR - a bitwise operation - of each supported audio type presented in the InMeetingSupportAudioType enum. For example, if the current meeting supports both VOIP and telephony, the return value of getSupportedMeetingAudioType for that meeting is AUDIO_TYPE_VOIP and AUDIO_TYPE_TELEPHONY.