Help Center/ Meeting/ Developer Guide/ Best Practices
Updated on 2022-07-04 GMT+08:00

Best Practices

Open Application Practice Overview

Huawei Cloud Meeting provides open server APIs and open client SDKs for you to flexibly integrate Huawei Cloud Meeting capabilities into your applications. This section describes a few typical scenarios of Huawei Cloud Meeting integration.

Figure 1 Open application practice overview
Table 1 Server API integration practice

Practice

Scenario

Practice 1: authenticating login

Before calling a server API, log in to the server by calling the app ID authentication API and obtain an access token.

Practice 2: creating a meeting

Creating a meeting on the server: You can integrate your existing management system with meeting management APIs of Huawei Cloud Meeting and call the server APIs to create a meeting.

Creating a meeting on a client: You can create an instant or scheduled meeting on a client.

Practice 3: joining a meeting

Answering a call from the server to join a meeting: The server calls the server API to add you to a meeting. You will receive a call and join the meeting after answering the call.

Proactively joining a meeting on a client: You can join a meeting by entering the meeting ID and password or clicking the link in the meeting notification email, on the Management Platform, or in the WeChat or WeChat applet.

Practice 4: leaving a meeting

Ending a meeting on the server: You can call the server API to end a meeting.

Leaving or ending a meeting on a client: You can end or leave a meeting on the in-meeting screen.

Best Practice 1: Authenticating Login

When integrating Huawei Cloud Meeting server APIs, you are advised to use the app ID authentication mode. After the authentication is successful, you can obtain an access token. After the first authentication is successful, the Huawei Cloud Meeting backend automatically allocates a Huawei Cloud Meeting account to each third-party user.

Figure 2 App ID authentication

After the login is successful, Huawei Cloud Meeting automatically allocates an account to the third-party application. The binding relationship is maintained by Huawei Cloud Meeting. You do not need to pay attention to Huawei Cloud Meeting accounts.

Table 2 Mapping between third-party accounts and Huawei Cloud Meeting accounts

Third-Party Account

Huawei Cloud Meeting Account

15012345678

Auto-94b91e94ce3f4ddab9ecfe7625418e60

18012345678

Auto-7700ebc37cf580a680cdfde4b34b41d0

Best Practice 2: Creating a Meeting

  • Your application server calls Huawei Cloud Meeting server APIs to schedule a meeting or create an instant meeting.
  • Your application calls the client SDK APIs to schedule a meeting or create an instant meeting.
Figure 3 Integration solution for creating a meeting on the server
Figure 4 Integration solution for creating a meeting on the client

Best Practice 3: Joining a Meeting

Participants can join a meeting in multiple ways, which is achieved by integrating the corresponding API of Huawei Cloud Meeting into your application or application server.

  • Method 1: answering a call
  • Method 2: entering the meeting ID and password
  • Method 3: clicking the link in the notification email
  • Method 4: clicking the link on the Management Platform
  • Method 5: using the WeChat/applet
Figure 5 Integration solution for joining a meeting

Best Practice 4: Ending/Leaving a Meeting

Figure 6 Integration solution for leaving a meeting