Documentation

Support

Vivox Core SDK

Vivox Core SDK

Retrieve the volume and mute status of a local device

How to retrieve volume and mute status.
Read time 1 minuteLast updated a day ago

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);