The iOS microphone recording indicator
Understand how the iOS microphone recording indicator works with Vivox.
Read time 1 minuteLast updated 7 months ago
iOS displays the red bar/orange dot recording indicator while the microphone is in use. When an iOS device is muted by using , the Vivox SDK accesses the capture device (microphone) but does not collect or transmit any audio. This results in the recording indicator displaying.
vx_req_connector_mute_local_micTo hard mute and prevent the recording indicator from displaying, set the capture device to No Device:
int request_count;vx_req_aux_set_capture_device_t *req;vx_req_aux_set_capture_device_create(&req);req->capture_device_specifier = vx_strdup("No Device");vx_issue_request3(&req->base, &request_count);
To unmute, set the capture device to Default Communication Device:
int request_count;vx_req_aux_set_capture_device_t *req;vx_req_aux_set_capture_device_create(&req);req->capture_device_specifier = vx_strdup("Default Communication Device");vx_issue_request3(&req->base, &request_count);