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

Joining a Meeting by Clicking a Link

Description

Users can start the Huawei Cloud Meeting client and join a meeting by clicking this link.

If the Huawei Cloud Meeting client is started and users have not logged in when they click the link, the home screen is displayed and they join the meeting anonymously. If the client is started and users have logged in when they click the link, the home screen is displayed and they join the meeting with their account names.

Service Process

  1. Create a scheme.
  2. Run the scheme.

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.