Configuring the Server Address
API Description
This API is used to configure the address of Huawei Cloud Meeting to be connected. You can connect to the proxy address if a proxy is used.

The HTTPS and WebSocket Secure protocols are used for SDK connection.
Method Definition
1
|
setServerConfig(params):void |
Parameter Description
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
params |
Yes |
object |
For details, see Table 2. |
Key |
Type |
Description |
---|---|---|
host |
string |
Server host. |
port |
string |
Server port number. |

If the meeting server address is not configure, the Chinese mainland site is used by default.
Chinese mainland site: host: 'meeting.huaweicloud.com', port: '443'
International site: host: 'intl.meeting.huaweicloud.com', port:'443'
Return Values
None
try { HWMeeting.setServerConfig({ "host": "meeting.huaweicloud.com", "port": "443" }); } catch (e) { // Display the result. console.error(e); }
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