Updated on 2022-07-19 GMT+08:00

Logging In to the Client and Joining a Meeting

Description

If the Huawei Cloud Meeting client is installed on a user device, the user can start and log in to the client 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 users have not logged in when they click the link, the home screen is displayed and they join the meeting using the login ID in the link. After the meeting ends, the login screen is displayed.

2. If users have logged in when they click the link, the home screen is displayed and they join the meeting using their account names. After the meeting ends, the screen displayed before they click the link is displayed.

Service Process

  1. Perform app ID authentication. For details, see Authenticating an App ID in API Reference.
  2. Obtain a nonce. For details, see Obtaining a Nonce for Redirection Without Login in API Reference.
  3. Start and log in to the Huawei Cloud Meeting client and join a meeting. For details, see the following sample code.

Code Sample

// Anonymously join a meeting.
- (void)joinConfWithoutLogin:(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 = Participant name displayed during the meeting;
    NSString *open_mic = microphone swtich ? @"true" : @"false";
    NSString *open_camera = camera switch ? @"true" : @"false";
    NSString *joinConfString = [NSString stringWithFormat:@"cloudlink://welinksoftclient/h5page?page=joinTmpConfByLink&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];
    [[NSWorkspace sharedWorkspace] openURL:joinConfUrl];
}

The preceding code is only a logical sample and cannot be directly used.