Show / Hide Table of Contents

Enum TXLiteAVError

Error codes (critical)

Namespace: trtc
Assembly: cs.temp.dll.dll
Syntax
public enum TXLiteAVError

Fields

Name Description
ERR_AUDIO_ENCODE_FAIL

Failed to encode audio frames. This occurs when, for example, the SDK could not process the custom audio data passed in.

ERR_BUFFER_TYPE_UNSUPPORTED

Unsupported buffer type.

ERR_CAMERA_NOT_AUTHORIZED

No access to the camera. This usually occurs on mobile devices and may be because the user denied the access.

ERR_CAMERA_OCCUPY

The camera is being used. Try another camera.

ERR_CAMERA_SET_PARAM_FAIL

Incorrect camera parameter settings (unsupported values or others).

ERR_CAMERA_START_FAIL

Failed to turn the camera on. This occurs when, for example, there is a problem with the camera configuration program (driver) on Windows or macOS. Turn the camera off and on again, restart the device, or update the configuration program.

ERR_ENTER_ROOM_PARAM_NULL

Empty room entry parameters. Please check whether valid parameters were passed in to the enterRoom:appScene: API.

ERR_MIC_NOT_AUTHORIZED

No access to the mic. This usually occurs on mobile devices and may be because the user denied the access.

ERR_MIC_OCCUPY

The mic is being used. The mic cannot be turned on when, for example, the user is having a call on the mobile device.

ERR_MIC_SET_PARAM_FAIL

Failed to set mic parameters.

ERR_MIC_START_FAIL

Failed to turn the mic on. This occurs when, for example, there is a problem with the mic configuration program (driver) on Windows or macOS. Turn the mic off and on again, restart the device, or update the configuration program.

ERR_MIC_STOP_FAIL

Failed to turn the mic off.

ERR_NULL

No error

ERR_PIXEL_FORMAT_UNSUPPORTED

Unsupported pixel format.

ERR_ROOM_ENTER_FAIL

Failed to enter the room.

ERR_ROOM_ID_INVALID

Invalid roomId.

ERR_ROOM_REQUEST_ENTER_ROOM_TIMEOUT

The room entry request timed out. Please check your network.

ERR_ROOM_REQUEST_QUIT_ROOM_TIMEOUT

The room exit request timed out.

ERR_SDK_APPID_INVALID

Invalid sdkAppId.

ERR_SERVER_INFO_SERVICE_SUSPENDED

The service is unavailable. Check if you have used up your package or whether your Tencent Cloud account has overdue payment.

ERR_SPEAKER_SET_PARAM_FAIL

Failed to set speaker parameters.

ERR_SPEAKER_START_FAIL

Failed to turn the speaker on. This occurs when, for example, there is a problem with the speaker configuration program (driver) on Windows or macOS. Turn the speaker off and on again, restart the device, or update the configuration program.

ERR_SPEAKER_STOP_FAIL

Failed to turn the speaker off.

ERR_UNSUPPORTED_RESOLUTION

Unsupported video resolution.

ERR_UNSUPPORTED_SAMPLERATE

Unsupported audio sample rate.

ERR_USER_ID_INVALID

Invalid userID.

ERR_USER_SIG_INVALID

Invalid userSig.

ERR_VIDEO_ENCODE_FAIL

Failed to encode video frames. This occurs when, for example, a user on iOS switches to another app, which may cause the system to release the hardware encoder. When the user switches back, this error may be thrown before the hardware encoder is restarted.

In This Article
Back to top Generated by DocFX