文档

支持

Vivox Core SDK

Vivox Core SDK

Retrieve the volume and mute status of a local device

How to retrieve volume and mute status.
阅读时间1 分钟最后更新于 12 天前

To retrieve the current volume and mute status of the local speakers and microphone, use the
vx_req_connector_get_local_audio_info
request.
vx_req_connector_mute_local_info_t* reqStruct;vx_req_connector_mute_local_info_create(&reqStruct);reqStruct->connector_handle = vx_strdup(“connector handle”);reqStruct->account_handle = vx_strdup(“account handle”); // OPTIONALint ret = vx_issue_request3((vx_req_base_t*) reqStruct);