public class

Errors

extends Object
java.lang.Object
   ↳ sg.com.temasys.skylink.sdk.rtc.Errors

Class Overview

Use SkylinkError instead.

Summary

Constants
int AUDIO_UNABLE_TO_START_PERM Unable to start audio due to Android Permission error.
int DC_UNABLE_TO_RECEIVE_FILE Unable to receive file from Peer.
int DC_UNABLE_TO_RECEIVE_FILE_PERM Unable to receive file from Peer due to Android Permission error.
int DC_UNABLE_TO_SEND_FILE Unable to send file to Peer.
int DC_UNABLE_TO_SEND_FILE_PERM Unable to send file to Peer due to Android Permission error.
int DISCONNECT_FROM_ROOM User disconnected from the room.
int DISCONNECT_UNEXPECTED_ERROR User is disconnected due to an unexpected error.
int MEDIA_UNABLE_PROCESS_METADATA Unable to pass media's metadata as the type of the metadata is not neither String or JSONObject
int MEDIA_UNABLE_TO_START_ERROR Unable to start local media as SkylinkConfig is not enableMultiTrack, and there is existing media with the specific type
int PC_FAILED_ANSWER_ACK Failed connecting to remote Peer due to remote Peer was unable to set our answer SDP.
int PC_FAILED_CREATE_LOCAL_OFF_ANS Failed connecting to remote Peer due to the SDK can not create local offer / answer successfully Sending and receiving of media with this Peer might not be possible.
int PC_FAILED_SET_OFF_ANS Failed connecting to remote Peer due to the SDK can not set local/remote offer / answer successfully Sending and receiving of media with this Peer might not be possible.
int RECORDING_ERROR An error was encountered in Recording.
int REDIRECT_REASON_DUPLICATED_LOGIN The server detects a duplicated login with the same credentials provided.
int REDIRECT_REASON_EXPIRED The user is attempting to join a persistent room that has ended.
int REDIRECT_REASON_FAST_MSG The user is jamming the system with many continuous messages send less than the interval.
int REDIRECT_REASON_LOCKED The user is unable to join the room as it is locked.
int REDIRECT_REASON_ROOM_CLOSED The user is rejected from the room because the persistent room has ended.
int REDIRECT_REASON_ROOM_FULL The user is unable to join the room as it is already full.
int REDIRECT_REASON_ROOM_TO_CLOSED The user is warned that the room is closing soon.
int REDIRECT_REASON_SEAT_QUOTA The user is unable to join due to insufficient seat quota for the App Key.
int REDIRECT_REASON_SERVER_ERROR The server has an exception occurring.
int REDIRECT_REASON_UNKNOWN The user is redirected due to an unknown reason.
int REDIRECT_REASON_VERIFICATION There is a verification issue with the user.
int STATS_GET_TRANSFER_SPEED_ERROR Unable to get transfer speed(s) for specified media.
int STATS_GET_WEBRTC_STATS_ERROR Unable to get WebRTC stats for specified media.
int UNABLE_TO_FIND_MEDIA_ERROR Unable to find the SkylinkMedia object due to SkylinkMedia object is not existing
int UNABLE_TO_REMOVE_MEDIA_ERROR Unable to remove the SkylinkMedia object due to MediaStreamTrack is not existing
int VIDEO_UNABLE_TO_START_CAMERA_ERROR Unable to start video due to camera error.
int VIDEO_UNABLE_TO_START_PERM Unable to start video due to Android Permission error.
int VIDEO_UNABLE_TO_STOP_CAMERA_ERROR Unable to stop video due to camera error.
int VIDEO_UNABLE_TO_STOP_SCREEN_ERROR Unable to stop video due to screen error.
int VIDEO_UNABLE_TO_STOP_VIDEO_ERROR Unable to stop video in common.
int VIDEO_UNABLE_TO_SWITCH_CAMERA_ERROR Unable to switch camera.
Public Constructors
Errors()
Public Methods
static String getErrorString(int errorCode)
Return the user viewable description for a particular error code.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int AUDIO_UNABLE_TO_START_PERM

Unable to start audio due to Android Permission error.

Constant Value: 49 (0x00000031)

public static final int DC_UNABLE_TO_RECEIVE_FILE

Unable to receive file from Peer.

Constant Value: 48 (0x00000030)

public static final int DC_UNABLE_TO_RECEIVE_FILE_PERM

Unable to receive file from Peer due to Android Permission error.

Constant Value: 53 (0x00000035)

public static final int DC_UNABLE_TO_SEND_FILE

Unable to send file to Peer.

Constant Value: 19 (0x00000013)

public static final int DC_UNABLE_TO_SEND_FILE_PERM

Unable to send file to Peer due to Android Permission error.

Constant Value: 52 (0x00000034)

public static final int DISCONNECT_FROM_ROOM

User disconnected from the room.

Constant Value: 15 (0x0000000f)

public static final int DISCONNECT_UNEXPECTED_ERROR

User is disconnected due to an unexpected error.

Constant Value: 11 (0x0000000b)

public static final int MEDIA_UNABLE_PROCESS_METADATA

Unable to pass media's metadata as the type of the metadata is not neither String or JSONObject

Constant Value: 68 (0x00000044)

public static final int MEDIA_UNABLE_TO_START_ERROR

Unable to start local media as SkylinkConfig is not enableMultiTrack, and there is existing media with the specific type

Constant Value: 67 (0x00000043)

public static final int PC_FAILED_ANSWER_ACK

Failed connecting to remote Peer due to remote Peer was unable to set our answer SDP. Sending and receiving of media with this Peer might not be possible. It might still be possible to send and receive Server message with this Peer.

Constant Value: 62 (0x0000003e)

public static final int PC_FAILED_CREATE_LOCAL_OFF_ANS

Failed connecting to remote Peer due to the SDK can not create local offer / answer successfully Sending and receiving of media with this Peer might not be possible. It might still be possible to send and receive Server message with this Peer.

Constant Value: 60 (0x0000003c)

public static final int PC_FAILED_SET_OFF_ANS

Failed connecting to remote Peer due to the SDK can not set local/remote offer / answer successfully Sending and receiving of media with this Peer might not be possible. It might still be possible to send and receive Server message with this Peer.

Constant Value: 61 (0x0000003d)

public static final int RECORDING_ERROR

An error was encountered in Recording.

Constant Value: 47 (0x0000002f)

public static final int REDIRECT_REASON_DUPLICATED_LOGIN

The server detects a duplicated login with the same credentials provided.

Constant Value: 3 (0x00000003)

public static final int REDIRECT_REASON_EXPIRED

The user is attempting to join a persistent room that has ended.

Constant Value: 6 (0x00000006)

public static final int REDIRECT_REASON_FAST_MSG

The user is jamming the system with many continuous messages send less than the interval.

Constant Value: 0 (0x00000000)

public static final int REDIRECT_REASON_LOCKED

The user is unable to join the room as it is locked.

Constant Value: 1 (0x00000001)

public static final int REDIRECT_REASON_ROOM_CLOSED

The user is rejected from the room because the persistent room has ended.

Constant Value: 7 (0x00000007)

public static final int REDIRECT_REASON_ROOM_FULL

The user is unable to join the room as it is already full.

Constant Value: 2 (0x00000002)

public static final int REDIRECT_REASON_ROOM_TO_CLOSED

The user is warned that the room is closing soon.

Constant Value: 8 (0x00000008)

public static final int REDIRECT_REASON_SEAT_QUOTA

The user is unable to join due to insufficient seat quota for the App Key.

Constant Value: 9 (0x00000009)

public static final int REDIRECT_REASON_SERVER_ERROR

The server has an exception occurring.

Constant Value: 4 (0x00000004)

public static final int REDIRECT_REASON_UNKNOWN

The user is redirected due to an unknown reason.

Constant Value: 10 (0x0000000a)

public static final int REDIRECT_REASON_VERIFICATION

There is a verification issue with the user.

Constant Value: 5 (0x00000005)

public static final int STATS_GET_TRANSFER_SPEED_ERROR

Unable to get transfer speed(s) for specified media.

Constant Value: 54 (0x00000036)

public static final int STATS_GET_WEBRTC_STATS_ERROR

Unable to get WebRTC stats for specified media.

Constant Value: 55 (0x00000037)

public static final int UNABLE_TO_FIND_MEDIA_ERROR

Unable to find the SkylinkMedia object due to SkylinkMedia object is not existing

Constant Value: 63 (0x0000003f)

public static final int UNABLE_TO_REMOVE_MEDIA_ERROR

Unable to remove the SkylinkMedia object due to MediaStreamTrack is not existing

Constant Value: 64 (0x00000040)

public static final int VIDEO_UNABLE_TO_START_CAMERA_ERROR

Unable to start video due to camera error.

Constant Value: 50 (0x00000032)

public static final int VIDEO_UNABLE_TO_START_PERM

Unable to start video due to Android Permission error.

Constant Value: 51 (0x00000033)

public static final int VIDEO_UNABLE_TO_STOP_CAMERA_ERROR

Unable to stop video due to camera error.

Constant Value: 59 (0x0000003b)

public static final int VIDEO_UNABLE_TO_STOP_SCREEN_ERROR

Unable to stop video due to screen error.

Constant Value: 65 (0x00000041)

public static final int VIDEO_UNABLE_TO_STOP_VIDEO_ERROR

Unable to stop video in common.

Constant Value: 66 (0x00000042)

public static final int VIDEO_UNABLE_TO_SWITCH_CAMERA_ERROR

Unable to switch camera.

Constant Value: 13 (0x0000000d)

Public Constructors

public Errors ()

Public Methods

public static String getErrorString (int errorCode)

Return the user viewable description for a particular error code. Return null if there is no description available.