Logging In to the App and Joining a Meeting
Description
If the Huawei Cloud Meeting app is installed on a user device, the user can start and log in to the app and join a meeting in this mode using the passed parameters in the link. If the user is the meeting host, the user can invite others to the meeting.
1. If the user has not logged in when touching the link, the home screen is displayed and the user joins the meeting using the login ID in the link. After the meeting ends, the login screen is displayed.
2. If the user has logged in, the home screen is displayed and the user joins the meeting using the account name. After the meeting ends, the screen displayed before the user touches the link is displayed.
Service Process
- Perform app ID authentication. For details, see Authenticating an App ID in API Reference.
- Obtain a nonce. For details, see Obtaining a Nonce for Redirection Without Login in API Reference.
- Start and log in to the Huawei Cloud Meeting app and join a meeting. For details, see the following sample code.
Code Sample
- (void)joinConfWithLogin:(id)sender { // The information can be obtained from TextField on the GUI. NSString *server_url = Server address; NSString *port = Server port; NSString *confId = Meeting ID; NSString *enter_code = Meeting password; NSString *name = Name displayed in the meeting; NSString *open_mic = Microphone switch ? @"true" : @"false"; NSString *open_camera = Camera switch ? @"true" : @"false"; NSString *joinConfString = [NSString stringWithFormat:@"cloudlink://welinksoftclient/h5page?page=LoginAndJoinConf&server_url=%@&port=%@&conf_id=%@&enter_code=%@&name=%@&open_mic=%@&open_camera=%@", server_url, port, confId, enter_code, name, open_mic, open_camera]; NSURL *joinConfUrl = [NSURL URLWithString:joinConfString]; [[UIApplication sharedApplication] openURL:joinConfUrl options:@{} completionHandler:nil]; }
The preceding code is only a logical sample and cannot be directly used.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot