Configuring Device Statuses After a Meeting Call Is Answered
Function
This API is used to set the status of devices, including the microphone and camera, when a meeting call is answered.
Function Prototype
setDeviceConfigForConfIncoming(deviceConfig: DeviceConfig, onSetDeviceConfigForConfIncomingResult?: (ret: SDKERR, reason: string) => void): voidsetDeviceConfigForConfIncoming(deviceConfig: DeviceConfig, onSetDeviceConfigForConfIncomingResult?: (ret: SDKERR, reason: string) => void): void
Request Parameters
Parameter | Mandatory | Type | Description |
---|---|---|---|
deviceConfig | Yes | DeviceConfig | Device configuration. |
onSetDeviceConfigForConfIncomingResult | Yes | (ret: SDKERR, reason: string) => void | Callback of setting the microphone or camera status when a meeting call is answered. |
Parameter | Mandatory | Type | Description |
---|---|---|---|
isMicOn | No | boolean | Whether to enable the microphone. |
isCameraOn | No | boolean | Whether to enable the camera. |
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