Joining a Meeting Using a Random Code
Function
The meeting link (for example, https://bmeeting.huaweicloud.com/#/j/981924330/e11ddec62ee760734fcf2ba55b79937eac2aa68677caf659) in the notification email contains the meeting ID (981924330) and random code (e11ddec62ee760734fcf2ba55b79937eac2aa68677caf659). You can call this API to join the meeting.
Function Prototype
joinConfByRandom(joinConfByRandomInfo: JoinConfByRandomInfo, onJoinConfByRandomResult?: (ret: SDKERR, reason: string) => void): voidjoinConfByRandom(joinConfByRandomInfo: JoinConfByRandomInfo, onJoinConfByRandomResult?: (ret: SDKERR, reason: string) => void): void
Request Parameters
Parameter | Mandatory | Type | Description |
---|---|---|---|
joinConfByRandomInfo | Yes | JoinConfByRandomInfo | Information about joining a meeting using a random code. |
onJoinConfByRandomResult | Yes | (ret: SDKERR, reason: string) => void | Callback of joining the meeting using the random code. |
Parameter | Mandatory | Type | Description |
---|---|---|---|
confId | Yes | string | Meeting ID. |
random | No | string | Mapping value of a 48-digit meeting password. The value comes from the end of the meeting link in the shared meeting details. If a meeting does not require a guest password, this parameter can be left blank. |
nickName | No | string | Display name in the meeting. If you have logged in, this parameter can be left blank. In such a case, the login username is used as the display name in the meeting. If you join the meeting anonymously, specify this parameter. |
domain | No | string | Domain name. |
isSpeakerOff | No | boolean | Whether to disable the speaker. The options are true (yes) and false (no). |
isMicOn | No | boolean | Whether to enable the microphone. The options are true (yes) and false (no). |
isCameraOn | No | boolean | Whether to enable the camera. The options are true (yes) and false (no). |
Return Values
void
Callback Method Parameters
(ret: SDKERR, reason: string) => void
Parameter | Type | Description |
---|---|---|
ret | For details about SDKERR, see Error Code Reference. | Error code. |
reason | string | Error description. |
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