LiteAVSDK
Tencent Cloud TRTC SDK, is a high availability components serving tens of thousands of enterprise customers, which is committed to helping you to minimize your research and development costs.
V2TXLiveCode

Data Structures

class  V2TXLiveCode
 

Detailed Description

Definitions of error codes and warning codes of Tencent Cloud LVB.


Data Structure Documentation

◆ com::tencent::live2::V2TXLiveCode

class com::tencent::live2::V2TXLiveCode

Static Public Attributes

static final int V2TXLIVE_OK = 0
 
static final int V2TXLIVE_ERROR_FAILED = -1
 
static final int V2TXLIVE_ERROR_INVALID_PARAMETER = -2
 
static final int V2TXLIVE_ERROR_REFUSED = -3
 
static final int V2TXLIVE_ERROR_NOT_SUPPORTED = -4
 
static final int V2TXLIVE_ERROR_INVALID_LICENSE = -5
 
static final int V2TXLIVE_ERROR_REQUEST_TIMEOUT = -6
 
static final int V2TXLIVE_ERROR_SERVER_PROCESS_FAILED = -7
 
static final int V2TXLIVE_ERROR_DISCONNECTED = -8
 
static final int V2TXLIVE_WARNING_NETWORK_BUSY = 1101
 
static final int V2TXLIVE_WARNING_VIDEO_BLOCK = 2105
 
static final int V2TXLIVE_WARNING_CAMERA_START_FAILED = -1301
 
static final int V2TXLIVE_WARNING_CAMERA_OCCUPIED = -1316
 
static final int V2TXLIVE_WARNING_CAMERA_NO_PERMISSION = -1314
 
static final int V2TXLIVE_WARNING_MICROPHONE_START_FAILED = -1302
 
static final int V2TXLIVE_WARNING_MICROPHONE_OCCUPIED = -1319
 
static final int V2TXLIVE_WARNING_MICROPHONE_NO_PERMISSION = -1317
 
static final int V2TXLIVE_WARNING_SCREEN_CAPTURE_NOT_SUPPORTED = -1309
 
static final int V2TXLIVE_WARNING_SCREEN_CAPTURE_START_FAILED = -1308
 
static final int V2TXLIVE_WARNING_SCREEN_CAPTURE_INTERRUPTED = -7001
 

Field Documentation

◆ V2TXLIVE_ERROR_DISCONNECTED

final int V2TXLIVE_ERROR_DISCONNECTED = -8
static

Disconnect.

◆ V2TXLIVE_ERROR_FAILED

final int V2TXLIVE_ERROR_FAILED = -1
static

Unclassified error.

◆ V2TXLIVE_ERROR_INVALID_LICENSE

final int V2TXLIVE_ERROR_INVALID_LICENSE = -5
static

Failed to call the API because the license was invalid.

◆ V2TXLIVE_ERROR_INVALID_PARAMETER

final int V2TXLIVE_ERROR_INVALID_PARAMETER = -2
static

An invalid parameter was input during the API call.

◆ V2TXLIVE_ERROR_NOT_SUPPORTED

final int V2TXLIVE_ERROR_NOT_SUPPORTED = -4
static

The API is currently not suppoted.

◆ V2TXLIVE_ERROR_REFUSED

final int V2TXLIVE_ERROR_REFUSED = -3
static

The API call was rejected.

◆ V2TXLIVE_ERROR_REQUEST_TIMEOUT

final int V2TXLIVE_ERROR_REQUEST_TIMEOUT = -6
static

The server request timed out.

◆ V2TXLIVE_ERROR_SERVER_PROCESS_FAILED

final int V2TXLIVE_ERROR_SERVER_PROCESS_FAILED = -7
static

The server cannot process the request.

◆ V2TXLIVE_OK

final int V2TXLIVE_OK = 0
static

No error.

◆ V2TXLIVE_WARNING_CAMERA_NO_PERMISSION

final int V2TXLIVE_WARNING_CAMERA_NO_PERMISSION = -1314
static

The camera is not authorized. This warning usually occurs on mobile devices due to the camera permission is denied by the user.

◆ V2TXLIVE_WARNING_CAMERA_OCCUPIED

final int V2TXLIVE_WARNING_CAMERA_OCCUPIED = -1316
static

The camera is being occupied.

◆ V2TXLIVE_WARNING_CAMERA_START_FAILED

final int V2TXLIVE_WARNING_CAMERA_START_FAILED = -1301
static

Failed to start the camera.

◆ V2TXLIVE_WARNING_MICROPHONE_NO_PERMISSION

final int V2TXLIVE_WARNING_MICROPHONE_NO_PERMISSION = -1317
static

The mic is not authorized. This warning usually occurs on mobile devices due to the mic permission is denied by the user.

◆ V2TXLIVE_WARNING_MICROPHONE_OCCUPIED

final int V2TXLIVE_WARNING_MICROPHONE_OCCUPIED = -1319
static

The mic is being used. If a call is in progress on the mobile device, the mic cannot be enabled.

◆ V2TXLIVE_WARNING_MICROPHONE_START_FAILED

final int V2TXLIVE_WARNING_MICROPHONE_START_FAILED = -1302
static

Failed to enable the mic.

◆ V2TXLIVE_WARNING_NETWORK_BUSY

final int V2TXLIVE_WARNING_NETWORK_BUSY = 1101
static

Data upload was jammed because the upstream bandwidth was too low.

◆ V2TXLIVE_WARNING_SCREEN_CAPTURE_INTERRUPTED

final int V2TXLIVE_WARNING_SCREEN_CAPTURE_INTERRUPTED = -7001
static

Screen capture is interrupted by system.

◆ V2TXLIVE_WARNING_SCREEN_CAPTURE_NOT_SUPPORTED

final int V2TXLIVE_WARNING_SCREEN_CAPTURE_NOT_SUPPORTED = -1309
static

Screen capture is not supported in curent system.

◆ V2TXLIVE_WARNING_SCREEN_CAPTURE_START_FAILED

final int V2TXLIVE_WARNING_SCREEN_CAPTURE_START_FAILED = -1308
static

Failed to enable the screen capture.

◆ V2TXLIVE_WARNING_VIDEO_BLOCK

final int V2TXLIVE_WARNING_VIDEO_BLOCK = 2105
static

Blocking occurred during video playback.