AliyunIErrorCode
Deprecated
use AliyunVideoCoreError instead
NS_ENUM(NSInteger, AliyunIErrorCode) {
/**
* 成功
*/
OK = 0,
/**
* 未知错误
*/
ERROR_UNKNOWN = -3,
/**
* License无效
*/
ERROR_LICENSE_FAILED = -20001001,
/**
* 未支付该特效功能
*/
ERROR_EFFECT_NOT_PAY = -20001002,
/**
* 特效使用资源不存在
*/
ERROR_EFFECT_NO_RESOURCE = -20001003,
/**
* 特效不能覆盖已有的效果
*/
ERROR_EFFECT_USE_NOT_OVERRIDE = -20001004,
/**
* 特效使用失败
*/
ERROR_EFFECT_USE_FAILED = -20001005,
/**
* 没有设备权限(音频采集、文件读写、摄像头使用、网络访问等Android 设备权限)
*/
ERROR_PERM_NO_DEVICE_PERMISSION = -20001006,
/**
* 设置背景音乐时参数错误,像背景音乐路径及时间参数,
*/
ERROR_MUSIC_PARAM = -20001007,
/**
* 设置背景音乐时错误,音频格式不支持,
*/
ERROR_MUSIC_NOT_SUPPORT = -20001008,
/**
* 播放器未准备好
*/
ERROR_TRES_PLAYER_UNPREPARED = -20002001,
/**
* 不合法的裁剪状态(当前有可能正在裁剪或者正在停止裁剪)
*/
ERROR_TRES_ILLEGAL_CROP_STATE = -20010001,//Android保留
/**
* 多次调用异常
*/
ERROR_START_MULTI = -20002002,
/**
* 音频输入流异常
*/
ERROR_AUDIO_INPUTS_INVALID = -20002003,
/**
* 视频渲染类异常
*/
ERROR_SCREENRENDER_INVALID = -20002004,
/**
* 不合法的裁剪状态(当前有可能正在裁剪或者正在停止裁剪)
*/
ERROR_ILLEGAL_CROP_STATE = -20010001,
/**
* 不支持的摄像头类型
*/
ERROR_TRES_NOT_SUPPORTED_CAMERA_TYPE = -20005008,
/**
* 裁剪参数有误
*/
ERROR_CROP_PARAM = -20010002,
/**
* 片段索引无效,超出clip列表最大值或者索引不合法
*/
ERROR_CLIP_INDEX_INVALID = -20003006,
/**
* 片段无效,片段为null
*/
ERROR_CLIP_INVALID = -20003007,
/**
* 当前列表已经没有片段了, 不能执行删除操作
*/
ERROR_NO_CLIP = -20003008,
/**
* 录制尚未准备好
*/
ERROR_RECORDER_NOT_READY = -20008007,
/**
* 重复添加特效
*/
ERROR_DUPLICATE_ADD_EFFECT = -20002005,
/**
* 错误的合成状态
*/
ERROR_COMPOSE_STATUS_ERROR = -20011018,
/**
* 编辑模块没有准备好
*/
ERROR_TRES_ILLEGAL_EDITOR_STATE = -20011019,
/**
* 不合法的状态
*/
ERROR_INVALID_STATE = -4,
/**
* 达到最大时长
*/
ERROR_MAX_DURATION = -20008008,
/**
* 不支持的视频格式
*/
ERROR_MEDIA_NOT_SUPPORTED_VIDEO = -20004001,
/**
* 不支持的音频格式
*/
ERROR_MEDIA_NOT_SUPPORTED_AUDIO = -20004002,
/**
* 不支持的图片格式
*/
ERROR_MEDIA_NOT_SUPPORTED_IMAGE = -20004003,
/**
* 不支持的媒体类型
*/
ERROR_MEDIA_NOT_SUPPORTED_TYPE = -20004004,
/**
* 视频编码器内部错误
*/
ERROR_MEDIA_VIDEO_ENCODER_INTERNAL = -20004005,
/**
* 音频编码器内部错误
*/
ERROR_MEDIA_AUDIO_ENCODER_INTERNAL = -20004006,
/**
* 裁剪图片失败
*/
ERROR_MEDIA_CROP_IMAGE_FAILURE = -20004007,
/**
* 视频解码器内部错误
*/
ERROR_MEDIA_VIDEO_DECODER_INTERNAL = -20004008,
/**
* 视频编码器参数错误
*/
ERROR_MEDIA_VIDEO_ENCODER_PARAM = -20004009,
/**
* 音频编码器参数错误
*/
ERROR_MEDIA_AUDIO_ENCODER_PARAM = -20004010,
/**
* 音频解码器内部错误
*/
ERROR_MEDIA_AUDIO_DECODER_INTERNAL = -20004011,
/**
* 不支持的像素格式
*/
ERROR_MEDIA_NOT_SUPPORTED_PIXEL_FORMAT = -2000401,
/**
* 播放器内部错误
*/
ERROR_MEDIA_PLAYER_INTERNAL = -20004013,
/**
* DEPRECATED
*/
ERROR_MEDIA_NOT_SUPPORTED_PIXCEL_FORMAT = -20004012,
/**
* 完成录制失败
*/
ERROR_FINISH_RECORD_FAILED = -20008004,
/**
* 录制尚未结束
*/
ERROR_RECORD_NOT_COMPLETE = -20008005,
/**
* 开启预览失败
*/
ERROR_IO_START_PREVIEW_FAILED = -20005001,
/**
* 开启摄像头失败
*/
ERROR_IO_OPEN_CAMERA_FAILED = -20005002,
/**
* 切换摄像头失败
*/
ERROR_IO_SWITCH_CAMERA = -20005003,
/**
* 创建临时文件失败
*/
ERROR_IO_CREATE_TEMP_FILE_FAILED = -20005004,
/**
* 音频录制失败
*/
ERROR_IO_AUDIO_RECORD_FAILED = -20005005,
/**
* 设置相机参数错误
*/
ERROR_IO_CAMERA_SET_PARAM = -20005006,
/**
* 相机对象为空,一般可能是相机未打开
*/
ERROR_IO_CAMERA_NOT_OPEN = -20005007,
/**
* 输入视频路径为空
*/
ERROR_VIDEO_PATH_NULL = -20003004,
/**
* 转码初始化参数错误
*/
ERROR_TRANSCODE_INIT_PARAM_INVALID = -20010004,
/**
* 视频尺寸设置不正确
*/
ERROR_SIZE_INVALID = -20003009,
/**
* 视频或音频时长设置异常
*/
ERROR_PARAM_AUDIO_VIDEO_DURATION_INVALID = -20003010,
/**
* 过渡动画时长参数异常
*/
ERROR_PARAM_TRANSITION_DURATION_INVALID = -20011022,
/**
* 动图路径异常
*/
ERROR_PARAM_GIF_FILE_PATH_INVALID = -20003011,
/**
* 资源解析异常
*/
ERROR_PARAM_RESOURCE_PARSE_INVALID = -20003012,
/**
* 图片路径异常
*/
ERROR_PARAM_IMAGE_FILE_PATH_INVALID = -20003013,
/**
* 滤镜路径异常
*/
ERROR_PARAM_FILTER_FILE_PATH_INVALID = -20003014,
/**
* PictureSize不合法
*/
ERROR_PARAM_PICTURE_SIZE = -20003015,
/**
* 水印对象为空
*/
ERROR_PARAM_IMAGE_WATERMARK_NULL = -20003016,
/**
* 无效的涂鸦
*/
ERROR_PARAM_INVALID_CANVAS = -20003017,
/**
* 合成参数无效
*/
ERROR_PARAM_INVALID_COMPOSE = -20011020,
/**
* 合成接口初始化失败
*/
ERROR_COMPOSE_INIT_FAILED = -20011021,
/**
* 特效作用时间区间冲突(两个动效滤镜时间区间有交叉)
*/
ERROR_CONFLICT_TIME_INTERVAL = -20003018,
/**
* 无效参数
*/
ERROR_INVALID_ARGUMENTS = -20003002,
/**
* project 为空
*/
ERROR_PROJECT_NULL = -20003019,
/**
* 添加媒体文件失败
*/
ERROR_ADD_MEDIA_SOURCE_FAILED = -20003020,
/**
* 输出路径无效
*/
ERROR_OUTOUT_PATH_INVALID = -20003021,
/**
* MV路径异常
*/
ERROR_MV_FILE_PATH_INVALID = -20003022,
/**
* 执行任务失败,详细错误码通过回调上报,该错误码用来表示接口执行失败
*/
ERROR_TASK_FAILED = -20007006,
/**
* 文件不存在
*/
ERROR_FILE_NOT_EXISTS = -20003005,
/**
* 参数异常
*/
ERROR_PARAMETER = -20003001,
/**
* 点播上传对象为空
*/
ERROR_ARG_VOD_UPLOAD_NULL = -20012002,
/**
* 上传状态错误
*/
ERROR_ARG_VOD_UPLOAD_STATE = -20012003,
/**
* 后台合成对象为空
*/
ERROR_ARG_COMPOSE_NULL = -20011023,
/**
* 上传接口调用失败
*/
ERROR_UPLOAD_FAILED = -20012001,
/**
* 裁剪退后台
*/
ERROR_TRANS_BACKGROUND = -20010003,
}
Undocumented
-
Deprecated
use AliyunVideoCoreError instead
成功
Declaration
Objective-C
OK = 0
-
Deprecated
use AliyunVideoCoreError instead
未知错误
Declaration
Objective-C
ERROR_UNKNOWN = -3
-
Deprecated
use AliyunVideoCoreError instead
License无效
Declaration
Objective-C
ERROR_LICENSE_FAILED = -20001001
-
Deprecated
use AliyunVideoCoreError instead
未支付该特效功能
Declaration
Objective-C
ERROR_EFFECT_NOT_PAY = -20001002
-
Deprecated
use AliyunVideoCoreError instead
特效使用资源不存在
Declaration
Objective-C
ERROR_EFFECT_NO_RESOURCE = -20001003
-
Deprecated
use AliyunVideoCoreError instead
特效不能覆盖已有的效果
Declaration
Objective-C
ERROR_EFFECT_USE_NOT_OVERRIDE = -20001004
-
Deprecated
use AliyunVideoCoreError instead
特效使用失败
Declaration
Objective-C
ERROR_EFFECT_USE_FAILED = -20001005
-
Deprecated
use AliyunVideoCoreError instead
没有设备权限(音频采集、文件读写、摄像头使用、网络访问等Android 设备权限)
Declaration
Objective-C
ERROR_PERM_NO_DEVICE_PERMISSION = -20001006
-
Deprecated
use AliyunVideoCoreError instead
设置背景音乐时参数错误,像背景音乐路径及时间参数,
Declaration
Objective-C
ERROR_MUSIC_PARAM = -20001007
-
Deprecated
use AliyunVideoCoreError instead
设置背景音乐时错误,音频格式不支持,
Declaration
Objective-C
ERROR_MUSIC_NOT_SUPPORT = -20001008
-
Deprecated
use AliyunVideoCoreError instead
播放器未准备好
Declaration
Objective-C
ERROR_TRES_PLAYER_UNPREPARED = -20002001
-
Deprecated
use AliyunVideoCoreError instead
不合法的裁剪状态(当前有可能正在裁剪或者正在停止裁剪)
Declaration
Objective-C
ERROR_TRES_ILLEGAL_CROP_STATE = -20010001
-
Deprecated
use AliyunVideoCoreError instead
多次调用异常
Declaration
Objective-C
ERROR_START_MULTI = -20002002
-
Deprecated
use AliyunVideoCoreError instead
音频输入流异常
Declaration
Objective-C
ERROR_AUDIO_INPUTS_INVALID = -20002003
-
Deprecated
use AliyunVideoCoreError instead
视频渲染类异常
Declaration
Objective-C
ERROR_SCREENRENDER_INVALID = -20002004
-
Deprecated
use AliyunVideoCoreError instead
不合法的裁剪状态(当前有可能正在裁剪或者正在停止裁剪)
Declaration
Objective-C
ERROR_ILLEGAL_CROP_STATE = -20010001
-
Deprecated
use AliyunVideoCoreError instead
不支持的摄像头类型
Declaration
Objective-C
ERROR_TRES_NOT_SUPPORTED_CAMERA_TYPE = -20005008
-
Deprecated
use AliyunVideoCoreError instead
裁剪参数有误
Declaration
Objective-C
ERROR_CROP_PARAM = -20010002
-
Deprecated
use AliyunVideoCoreError instead
片段索引无效,超出clip列表最大值或者索引不合法
Declaration
Objective-C
ERROR_CLIP_INDEX_INVALID = -20003006
-
Deprecated
use AliyunVideoCoreError instead
片段无效,片段为null
Declaration
Objective-C
ERROR_CLIP_INVALID = -20003007
-
Deprecated
use AliyunVideoCoreError instead
当前列表已经没有片段了, 不能执行删除操作
Declaration
Objective-C
ERROR_NO_CLIP = -20003008
-
Deprecated
use AliyunVideoCoreError instead
录制尚未准备好
Declaration
Objective-C
ERROR_RECORDER_NOT_READY = -20008007
-
Deprecated
use AliyunVideoCoreError instead
重复添加特效
Declaration
Objective-C
ERROR_DUPLICATE_ADD_EFFECT = -20002005
-
Deprecated
use AliyunVideoCoreError instead
错误的合成状态
Declaration
Objective-C
ERROR_COMPOSE_STATUS_ERROR = -20011018
-
Deprecated
use AliyunVideoCoreError instead
编辑模块没有准备好
Declaration
Objective-C
ERROR_TRES_ILLEGAL_EDITOR_STATE = -20011019
-
Deprecated
use AliyunVideoCoreError instead
不合法的状态
Declaration
Objective-C
ERROR_INVALID_STATE = -4
-
Deprecated
use AliyunVideoCoreError instead
达到最大时长
Declaration
Objective-C
ERROR_MAX_DURATION = -20008008
-
Deprecated
use AliyunVideoCoreError instead
不支持的视频格式
Declaration
Objective-C
ERROR_MEDIA_NOT_SUPPORTED_VIDEO = -20004001
-
Deprecated
use AliyunVideoCoreError instead
不支持的音频格式
Declaration
Objective-C
ERROR_MEDIA_NOT_SUPPORTED_AUDIO = -20004002
-
Deprecated
use AliyunVideoCoreError instead
不支持的图片格式
Declaration
Objective-C
ERROR_MEDIA_NOT_SUPPORTED_IMAGE = -20004003
-
Deprecated
use AliyunVideoCoreError instead
不支持的媒体类型
Declaration
Objective-C
ERROR_MEDIA_NOT_SUPPORTED_TYPE = -20004004
-
Deprecated
use AliyunVideoCoreError instead
视频编码器内部错误
Declaration
Objective-C
ERROR_MEDIA_VIDEO_ENCODER_INTERNAL = -20004005
-
Deprecated
use AliyunVideoCoreError instead
音频编码器内部错误
Declaration
Objective-C
ERROR_MEDIA_AUDIO_ENCODER_INTERNAL = -20004006
-
Deprecated
use AliyunVideoCoreError instead
裁剪图片失败
Declaration
Objective-C
ERROR_MEDIA_CROP_IMAGE_FAILURE = -20004007
-
Deprecated
use AliyunVideoCoreError instead
视频解码器内部错误
Declaration
Objective-C
ERROR_MEDIA_VIDEO_DECODER_INTERNAL = -20004008
-
Deprecated
use AliyunVideoCoreError instead
视频编码器参数错误
Declaration
Objective-C
ERROR_MEDIA_VIDEO_ENCODER_PARAM = -20004009
-
Deprecated
use AliyunVideoCoreError instead
音频编码器参数错误
Declaration
Objective-C
ERROR_MEDIA_AUDIO_ENCODER_PARAM = -20004010
-
Deprecated
use AliyunVideoCoreError instead
音频解码器内部错误
Declaration
Objective-C
ERROR_MEDIA_AUDIO_DECODER_INTERNAL = -20004011
-
Deprecated
use AliyunVideoCoreError instead
不支持的像素格式
Declaration
Objective-C
ERROR_MEDIA_NOT_SUPPORTED_PIXEL_FORMAT = -2000401
-
Deprecated
use AliyunVideoCoreError instead
播放器内部错误
Declaration
Objective-C
ERROR_MEDIA_PLAYER_INTERNAL = -20004013
-
Deprecated
use AliyunVideoCoreError instead
DEPRECATED
Declaration
Objective-C
ERROR_MEDIA_NOT_SUPPORTED_PIXCEL_FORMAT = -20004012
-
Deprecated
use AliyunVideoCoreError instead
完成录制失败
Declaration
Objective-C
ERROR_FINISH_RECORD_FAILED = -20008004
-
Deprecated
use AliyunVideoCoreError instead
录制尚未结束
Declaration
Objective-C
ERROR_RECORD_NOT_COMPLETE = -20008005
-
Deprecated
use AliyunVideoCoreError instead
开启预览失败
Declaration
Objective-C
ERROR_IO_START_PREVIEW_FAILED = -20005001
-
Deprecated
use AliyunVideoCoreError instead
开启摄像头失败
Declaration
Objective-C
ERROR_IO_OPEN_CAMERA_FAILED = -20005002
-
Deprecated
use AliyunVideoCoreError instead
切换摄像头失败
Declaration
Objective-C
ERROR_IO_SWITCH_CAMERA = -20005003
-
Deprecated
use AliyunVideoCoreError instead
创建临时文件失败
Declaration
Objective-C
ERROR_IO_CREATE_TEMP_FILE_FAILED = -20005004
-
Deprecated
use AliyunVideoCoreError instead
音频录制失败
Declaration
Objective-C
ERROR_IO_AUDIO_RECORD_FAILED = -20005005
-
Deprecated
use AliyunVideoCoreError instead
设置相机参数错误
Declaration
Objective-C
ERROR_IO_CAMERA_SET_PARAM = -20005006
-
Deprecated
use AliyunVideoCoreError instead
相机对象为空,一般可能是相机未打开
Declaration
Objective-C
ERROR_IO_CAMERA_NOT_OPEN = -20005007
-
Deprecated
use AliyunVideoCoreError instead
输入视频路径为空
Declaration
Objective-C
ERROR_VIDEO_PATH_NULL = -20003004
-
Deprecated
use AliyunVideoCoreError instead
转码初始化参数错误
Declaration
Objective-C
ERROR_TRANSCODE_INIT_PARAM_INVALID = -20010004
-
Deprecated
use AliyunVideoCoreError instead
视频尺寸设置不正确
Declaration
Objective-C
ERROR_SIZE_INVALID = -20003009
-
Deprecated
use AliyunVideoCoreError instead
视频或音频时长设置异常
Declaration
Objective-C
ERROR_PARAM_AUDIO_VIDEO_DURATION_INVALID = -20003010
-
Deprecated
use AliyunVideoCoreError instead
过渡动画时长参数异常
Declaration
Objective-C
ERROR_PARAM_TRANSITION_DURATION_INVALID = -20011022
-
Deprecated
use AliyunVideoCoreError instead
动图路径异常
Declaration
Objective-C
ERROR_PARAM_GIF_FILE_PATH_INVALID = -20003011
-
Deprecated
use AliyunVideoCoreError instead
资源解析异常
Declaration
Objective-C
ERROR_PARAM_RESOURCE_PARSE_INVALID = -20003012
-
Deprecated
use AliyunVideoCoreError instead
图片路径异常
Declaration
Objective-C
ERROR_PARAM_IMAGE_FILE_PATH_INVALID = -20003013
-
Deprecated
use AliyunVideoCoreError instead
滤镜路径异常
Declaration
Objective-C
ERROR_PARAM_FILTER_FILE_PATH_INVALID = -20003014
-
Deprecated
use AliyunVideoCoreError instead
PictureSize不合法
Declaration
Objective-C
ERROR_PARAM_PICTURE_SIZE = -20003015
-
Deprecated
use AliyunVideoCoreError instead
水印对象为空
Declaration
Objective-C
ERROR_PARAM_IMAGE_WATERMARK_NULL = -20003016
-
Deprecated
use AliyunVideoCoreError instead
无效的涂鸦
Declaration
Objective-C
ERROR_PARAM_INVALID_CANVAS = -20003017
-
Deprecated
use AliyunVideoCoreError instead
合成参数无效
Declaration
Objective-C
ERROR_PARAM_INVALID_COMPOSE = -20011020
-
Deprecated
use AliyunVideoCoreError instead
合成接口初始化失败
Declaration
Objective-C
ERROR_COMPOSE_INIT_FAILED = -20011021
-
Deprecated
use AliyunVideoCoreError instead
特效作用时间区间冲突(两个动效滤镜时间区间有交叉)
Declaration
Objective-C
ERROR_CONFLICT_TIME_INTERVAL = -20003018
-
Deprecated
use AliyunVideoCoreError instead
无效参数
Declaration
Objective-C
ERROR_INVALID_ARGUMENTS = -20003002
-
Deprecated
use AliyunVideoCoreError instead
project 为空
Declaration
Objective-C
ERROR_PROJECT_NULL = -20003019
-
Deprecated
use AliyunVideoCoreError instead
添加媒体文件失败
Declaration
Objective-C
ERROR_ADD_MEDIA_SOURCE_FAILED = -20003020
-
Deprecated
use AliyunVideoCoreError instead
输出路径无效
Declaration
Objective-C
ERROR_OUTOUT_PATH_INVALID = -20003021
-
Deprecated
use AliyunVideoCoreError instead
MV路径异常
Declaration
Objective-C
ERROR_MV_FILE_PATH_INVALID = -20003022
-
Deprecated
use AliyunVideoCoreError instead
执行任务失败,详细错误码通过回调上报,该错误码用来表示接口执行失败
Declaration
Objective-C
ERROR_TASK_FAILED = -20007006
-
Deprecated
use AliyunVideoCoreError instead
文件不存在
Declaration
Objective-C
ERROR_FILE_NOT_EXISTS = -20003005
-
Deprecated
use AliyunVideoCoreError instead
参数异常
Declaration
Objective-C
ERROR_PARAMETER = -20003001
-
Deprecated
use AliyunVideoCoreError instead
点播上传对象为空
Declaration
Objective-C
ERROR_ARG_VOD_UPLOAD_NULL = -20012002
-
Deprecated
use AliyunVideoCoreError instead
上传状态错误
Declaration
Objective-C
ERROR_ARG_VOD_UPLOAD_STATE = -20012003
-
Deprecated
use AliyunVideoCoreError instead
后台合成对象为空
Declaration
Objective-C
ERROR_ARG_COMPOSE_NULL = -20011023
-
Deprecated
use AliyunVideoCoreError instead
上传接口调用失败
Declaration
Objective-C
ERROR_UPLOAD_FAILED = -20012001
-
Deprecated
use AliyunVideoCoreError instead
裁剪退后台
Declaration
Objective-C
ERROR_TRANS_BACKGROUND = -20010003