All Products
Search
Document Center

:Error codes

Last Updated:May 04, 2023

This topic describes the error codes of the voice intercom feature in LinkVisual SDK for iOS.

Error code

Description

Solution

LV_LIVE_INTERCOM_ERROR_CONNECT_STREAM_FAILED

Failed to establish a voice intercom channel.

Check whether the following exceptions occur. If so, handle the exceptions and try again.

  • A network fault occurs.

  • Data reporting times out because the device does not respond within 5 seconds.

LV_LIVE_INTERCOM_ERROR_SEND_STREAM_DATA_FAILED

Failed to send the audio data.

Check whether the network environment is normal. If the network environment is abnormal, use a normal network environment and try again.

LV_LIVE_INTERCOM_ERROR_RECEIVE_STREAM_DATA_FAILED

Failed to receive the audio data.

Check whether the network environment is normal. If the network environment is abnormal, use a normal network environment and try again.

LV_LIVE_INTERCOM_ERROR_INIT_AUDIO_RECORDER_FAILED

Failed to initialize the recorder.

Check whether the following exceptions occur. If so, handle the exceptions and try again.

  • No recording permissions are granted.

  • Check whether another app is using the recorder. If so, terminate the related process and try again.

LV_LIVE_INTERCOM_ERROR_START_AUDIO_RECORDER_FAILED

Failed to start the recorder.

Check whether another app is using the recorder. If so, terminate the related process and try again.

LV_LIVE_INTERCOM_ERROR_READ_AUDIO_RECORDER_FAILED

Failed to read data from the recorder.

If the recorder is abnormal, restart the device on which the audio player runs. For example, you can restart a mobile phone.

LV_LIVE_INTERCOM_ERROR_INIT_AUDIO_TRACK_FAILED

Failed to create the audio player.

If the audio player is abnormal, restart the device on which the audio player runs. For example, you can restart a mobile phone.