Documentation

Support

Vivox Unity SDK

Vivox Unity SDK

The iOS microphone recording indicator

Understand the iOS microphone recording indicator behavior.
Read time 1 minuteLast updated 2 days ago

iOS devices display the red bar/orange dot recording indicator while the microphone is in use. When an iOS device is muted by using
VivoxService.Instance.MuteInputDevice()
, the Vivox SDK accesses the capture device (microphone) but does not collect or transmit any audio. This results in the recording indicator displaying.
To hard mute and prevent the recording indicator from displaying, set the capture device to “No Device”:
await VivoxService.Instance.SetActiveInputDeviceAsync(VivoxService.Instance.AvailableInputDevices.First(device => device.DeviceName == "No Device"));
To unmute, set the capture device to “Default Communication Device”:
await VivoxService.Instance.SetActiveInputDeviceAsync(VivoxService.Instance.AvailableInputDevices.First(device => device.DeviceName == "Default Communication Device"));