package Yoseen;

class EError {
    public static final int EError_None = 0;
    public static final int EError_InternalError = -1;
    public static final int EError_NotSupported = -2;
    public static final int EError_NotImplemented = -3;
    public static final int EError_SDKUninited = -4;
    public static final int EError_NoMemory = -5;
    public static final int EError_NoHandle = -6;
    public static final int EError_InvalidState = -7;
    public static final int EError_InvalidArgs = -8;
    public static final int EError_InvalidResp = -9;
    public static final int EError_InvalidHandle = -10;
    public static final int EError_InvalidData = -11;
    public static final int EError_PreviewCreateBuffer = -12;
    public static final int EError_PreviewOpenInput = -13;
    public static final int EError_PreviewOpenDisplay = -14;
    ////-15; -16
    public static final int EError_PreviewRecoverBegin = -17;
    public static final int EError_PreviewRecoverEnd = -18;

    //Socket
    public static final int EError_SocketOpen = -100;
    public static final int EError_SocketConn = -99;
    public static final int EError_SocketSend = -98;
    public static final int EError_SocketRecv = -97;
    public static final int EError_SocketConfig = -96;
    public static final int EError_SocketData = -95;

    //File
    public static final int EError_FileOpen = -200;
    public static final int EError_FileClose = -199;
    public static final int EError_FileRead = -198;
    public static final int EError_FileWrite = -197;
    public static final int EError_FileEOF = -196;
    public static final int EError_FileType = -195;
    public static final int EError_FileData = -194;

    //Ffmpeg
    public static final int EError_FfmpegEncode = -300;
    public static final int EError_FfmpegDecode = -299;
    public static final int EError_FfmpegMuxOpen = -298;
    public static final int EError_FfmpegMuxWrite = -297;
    public static final int EError_FfmpegMuxClose = -296;
    public static final int EError_FfmpegDemuxOpen = -295;
    public static final int EError_FfmpegDemuxRead = -294;
    public static final int EError_FfmpegDemuxClose = -293;

    //MVSError = -1000
    //WebError = -2000
}
