Password for joining a meeting in sample app?


#1

Hello,

I’m trying to clone some of the functionality in the sample app.

Why do the api requires password for joining a meeting?

When using the sample app, clicking on join a meeting I have two text boxes:

meeting number and password.

is it optional?

BTW, in sample app, the method:

- (void)joinMeeting:(NSString*)meetingNo withPassword:(NSString*)pwd

_ { _

    if (![meetingNo length])

_         return; _

    MobileRTCMeetingService *ms = [[MobileRTC sharedRTC] getMeetingService];

    if (ms)

_     { _

_         ms.delegate = self; _

_         //For Join a meeting with password _

_         NSDictionary *paramDict = @{ _

_                                     kMeetingParam_Username:kSDKUserName, _

_                                     kMeetingParam_MeetingNumber:meetingNo, _

_                                     kMeetingParam_MeetingPassword:pwd, _

_                                     //kMeetingParam_ParticipantID:@“111” _

_                                     }; _

_ //            //For Join a meeting _

_ //            NSDictionary *paramDict = @{ _

_ //                                        kMeetingParam_Username:kSDKUserName, _

_ //                                        kMeetingParam_MeetingNumber:meetingNo, _

_ //                                        kMeetingParam_MeetingPassword:pwd, _

_ //                                        //kMeetingParam_ParticipantID:@“111” _

_ //                                        }; _

        MobileRTCMeetError ret = [ms joinMeetingWithDictionary:paramDict];_          _

        NSLog(@“onJoinaMeeting ret:%d”, ret);

_     } _

_ } _

The remark code seems to be the same as the code unmarked with password.


#2

Never mind… it’s not a primary param.

Thank u anyway!

Regards,

Shay