When publishing a stream, you get a similar error as below.
OT_HARDWARE_UNAVAILABLE: The selected voice or video devices are unavailable.
Verify that the chosen devices are not in use by another application.
- Video API
- Validate that the audio or video devices are not used by another application.
- Restart the audio or video device.
- Close all the background running apps that could have acquired the camera.
- Run Pre-Call Test to confirm that the device hardware meets the system requirements.
The OT_HARDWARE_UNAVAILABLE error indicates that the microphone or camera is not available. The audio or video device may have already been in use by another application or unavailable for other reasons.