当前位置:网站首页>Error code in ijkplayer
Error code in ijkplayer
2022-06-11 06:23:00 【Tinghua_ M】
The first part :
IJKMEDIA: SDL_JNI_DetachThreadEnv
ijkplayer How to break the handshake Android ? ijkplayer How to release the connection Android ?
/*
* Do not change these values without updating their counterparts in native
*/
int MEDIA_INFO_UNKNOWN = 1;// unknown information
int MEDIA_INFO_STARTED_AS_NEXT = 2;// Play next
int MEDIA_INFO_VIDEO_RENDERING_START = 3;// The video is beginning to be ready , Ready to render
int MEDIA_INFO_VIDEO_TRACK_LAGGING = 700;// Video log tracking
int MEDIA_INFO_BUFFERING_START = 701;// Start buffering Start buffering
int MEDIA_INFO_BUFFERING_END = 702;// Buffer end
int MEDIA_INFO_NETWORK_BANDWIDTH = 703;// network bandwidth , Network speed
int MEDIA_INFO_BAD_INTERLEAVING = 800;//
int MEDIA_INFO_NOT_SEEKABLE = 801;// The playback position cannot be set , Live broadcast
int MEDIA_INFO_METADATA_UPDATE = 802;//
int MEDIA_INFO_TIMED_TEXT_ERROR = 900;
int MEDIA_INFO_UNSUPPORTED_SUBTITLE = 901;// Subtitles are not supported
int MEDIA_INFO_SUBTITLE_TIMED_OUT = 902;// Caption timeout
int MEDIA_INFO_VIDEO_INTERRUPT= -10000;// Data connection interrupted , Generally, there is a problem with the video source or the data format does not support , For example, audio is not AAC And so on.
int MEDIA_INFO_VIDEO_ROTATION_CHANGED = 10001;// Video direction change , Video selection information
int MEDIA_INFO_AUDIO_RENDERING_START = 10002;// The audio is beginning to be ready
int MEDIA_ERROR_SERVER_DIED = 100;// Service hangs up , Video interrupt , Generally, the video source is abnormal or unsupported .
int MEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK = 200;// Data error, no effective recycling
int MEDIA_ERROR_IO = -1004;//IO error
int MEDIA_ERROR_MALFORMED = -1007;
int MEDIA_ERROR_UNSUPPORTED = -1010;// Data does not support
int MEDIA_ERROR_TIMED_OUT = -110;// Data timeout
Error (-10000,0)The second part :NativeInvoke
1111 public interface OnNativeInvokeListener {
1112
1113 int CTRL_WILL_TCP_OPEN = 0x20001; // NO ARGS
1114 int CTRL_DID_TCP_OPEN = 0x20002; // ARG_ERROR, ARG_FAMILIY, ARG_IP, ARG_PORT, ARG_FD
1115
1116 int CTRL_WILL_HTTP_OPEN = 0x20003; // ARG_URL, ARG_SEGMENT_INDEX, ARG_RETRY_COUNTER
1117 int CTRL_WILL_LIVE_OPEN = 0x20005; // ARG_URL, ARG_RETRY_COUNTER
1118 int CTRL_WILL_CONCAT_RESOLVE_SEGMENT = 0x20007; // ARG_URL, ARG_SEGMENT_INDEX, ARG_RETRY_COUNTER
1119
1120 int EVENT_WILL_HTTP_OPEN = 0x1; // ARG_URL
1121 int EVENT_DID_HTTP_OPEN = 0x2; // ARG_URL, ARG_ERROR, ARG_HTTP_CODE
1122 int EVENT_WILL_HTTP_SEEK = 0x3; // ARG_URL, ARG_OFFSET
1123 int EVENT_DID_HTTP_SEEK = 0x4; // ARG_URL, ARG_OFFSET, ARG_ERROR, ARG_HTTP_CODE, ARG_FILE_SIZE
1124
1125 String ARG_URL = "url";
1126 String ARG_SEGMENT_INDEX = "segment_index";
1127 String ARG_RETRY_COUNTER = "retry_counter";
1128
1129 String ARG_ERROR = "error";
1130 String ARG_FAMILIY = "family";
1131 String ARG_IP = "ip";
1132 String ARG_PORT = "port";
1133 String ARG_FD = "fd";
1134
1135 String ARG_OFFSET = "offset";
1136 String ARG_HTTP_CODE = "http_code";
1137 String ARG_FILE_SIZE = "file_size";
1138
1139 /*
1140 * @return true if invoke is handled
1141 * @throws Exception on any error
1142 */
1143 boolean onNativeInvoke(int what, Bundle args);
1144 }边栏推荐
- Basic use of BufferedReader and bufferedwriter
- FPGA interview topic notes (I) - FPGA development process, metastable state and competitive risk, build and hold time, asynchronous FIFO depth, etc
- Zvuldrill installation and customs clearance tutorial
- Simple understanding of pseudo elements before and after
- jenkins-用户权限管理
- Metasploitabile2 target learning
- On cursor in MySQL
- Analyze the principle of configuration center from the perspective of Nacos client
- Basic usage of MySQL
- Observer mode (listener mode) + thread pool to realize asynchronous message sending
猜你喜欢

箭头函数的this指向

关于SIoU的原理和代码实现(回顾IoU、GIoU、DIoU、CIoU)

Eureka集群搭建

MongoDB安装

Detailed installation instructions for MySQL

Box model

Eureka cluster setup

Communication between different VLANs

FPGA interview notes (III) -- implementation of handshake signal synchronization in cross clock domain, arbitrary frequency division, binary conversion, RAM memory, original code inversion and complem

CCS安装编译器的方法
随机推荐
Learn C language well from keywords
ijkPlayer中的错误码
jenkins-用户权限管理
ERROR 1215 (HY000): Cannot add foreign key constraint
Résoudre le problème de la durée inexacte du fichier audio AAC obtenu par ffmpeg
关于SIoU的原理和代码实现(回顾IoU、GIoU、DIoU、CIoU)
MATLAB realizes mean filtering and FPGA for comparison, and uses Modelsim waveform simulation
autojs,读取一行删除一行,停止自己外的脚本
Ethical discussion on reptile Technology
What is a planning BOM?
Squid agent
Markdown + typora + picgo experimental report template attached
Matlab实现均值滤波与FPGA进行对比,并采用modelsim波形仿真
Shandong University machine learning experiment 7 pca+ SVM face recognition
FPGA面试题目笔记(三)——跨时钟域中握手信号同步的实现、任意分频、进制转换、RAM存储器等、原码反码和补码
Teach you to write word formula
PHP processing tree and infinite processing
Communication between different VLANs
021-MongoDB数据库从入门到放弃
This point of arrow function