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

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 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 app and join a meeting. For details, see the following sample code.

Code Sample

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
            Uri.Builder builder = new Uri.Builder().scheme("cloudlink")
                .authority("welinksoftclient")
                .path("h5page")
                .appendQueryParameter("page", "LoginAndJoinConf")
                .appendQueryParameter("server_url", param.serverAddress)
                .appendQueryParameter("port", param.portString)
                .appendQueryParameter("conf_id", param.confId)
                .appendQueryParameter("enter_code", param.enterCode)
                .appendQueryParameter("name", param.name)
                .appendQueryParameter("open_mic", String.valueOf(param.openMic))
                .appendQueryParameter("open_camera", String.valueOf(param.openCamera))
                .appendQueryParameter("nonce", nonce);

                Intent intent = new Intent();
4ce9861d-fad1-42b6-807c-fbf8a0c2320e2412108500276004ce9861d-fad1-42b6-807c-fbf8a0c2320e241210850027600intent.setData(Uri.parse(url));
4ce9861d-fad1-42b6-807c-fbf8a0c2320e2412108500276004ce9861d-fad1-42b6-807c-fbf8a0c2320e241210850027600startActivity(intent);