We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
通过热点连接设备,然后在Android系统上播放rtsp流,一开始会延迟1秒左右,后面随着播放的时间延时会越来越长,请问该需要怎么优化,让延时一直维持在几百毫秒, 谢谢 下面是配制参数 player.setOption(FijkOption.playerCategory, "mediacodec-hevc", 1); player.setOption(FijkOption.playerCategory, "framedrop", 1); player.setOption(FijkOption.playerCategory, "start-on-prepared", 0); player.setOption(FijkOption.playerCategory, "opensles", 0); player.setOption(FijkOption.playerCategory, "mediacodec", 0); player.setOption(FijkOption.playerCategory, "start-on-prepared", 1); player.setOption(FijkOption.playerCategory, "packet-buffering", 0); player.setOption(FijkOption.playerCategory, "mediacodec-auto-rotate", 0); player.setOption( FijkOption.playerCategory, "mediacodec-handle-resolution-change", 0); player.setOption(FijkOption.playerCategory, "min-frames", 2); player.setOption(FijkOption.playerCategory, "max_cached_duration", 3); player.setOption(FijkOption.playerCategory, "infbuf", 1); player.setOption(FijkOption.playerCategory, "reconnect", 5); player.setOption(FijkOption.playerCategory, "framedrop", 5);
player.setOption(FijkOption.formatCategory, "rtsp_transport", 'tcp'); player.setOption(FijkOption.formatCategory, "http-detect-range-support", 0); player.setOption(FijkOption.formatCategory, "analyzeduration", 1); player.setOption(FijkOption.formatCategory, "rtsp_flags", "prefer_tcp"); player.setOption(FijkOption.formatCategory, "buffer_size", 1024); player.setOption(FijkOption.formatCategory, "max-fps", 0); player.setOption(FijkOption.formatCategory, "analyzemaxduration", 50); player.setOption(FijkOption.formatCategory, "dns_cache_clear", 1); player.setOption(FijkOption.formatCategory, "flush_packets", 1); player.setOption(FijkOption.formatCategory, "max-buffer-size", 0); player.setOption(FijkOption.formatCategory, "fflags", "nobuffer"); player.setOption(FijkOption.formatCategory, "probesize", 200); player.setOption(FijkOption.formatCategory, "http-detect-range-support", 0); player.setOption(FijkOption.codecCategory, "skip_loop_filter", 48); player.setOption(FijkOption.codecCategory, "skip_frame", 0);
ijkplayer版本:0.11.0 Android系统:Android10
The text was updated successfully, but these errors were encountered:
No branches or pull requests
通过热点连接设备,然后在Android系统上播放rtsp流,一开始会延迟1秒左右,后面随着播放的时间延时会越来越长,请问该需要怎么优化,让延时一直维持在几百毫秒, 谢谢
下面是配制参数
player.setOption(FijkOption.playerCategory, "mediacodec-hevc", 1);
player.setOption(FijkOption.playerCategory, "framedrop", 1);
player.setOption(FijkOption.playerCategory, "start-on-prepared", 0);
player.setOption(FijkOption.playerCategory, "opensles", 0);
player.setOption(FijkOption.playerCategory, "mediacodec", 0);
player.setOption(FijkOption.playerCategory, "start-on-prepared", 1);
player.setOption(FijkOption.playerCategory, "packet-buffering", 0);
player.setOption(FijkOption.playerCategory, "mediacodec-auto-rotate", 0);
player.setOption(
FijkOption.playerCategory, "mediacodec-handle-resolution-change", 0);
player.setOption(FijkOption.playerCategory, "min-frames", 2);
player.setOption(FijkOption.playerCategory, "max_cached_duration", 3);
player.setOption(FijkOption.playerCategory, "infbuf", 1);
player.setOption(FijkOption.playerCategory, "reconnect", 5);
player.setOption(FijkOption.playerCategory, "framedrop", 5);
ijkplayer版本:0.11.0
Android系统:Android10
The text was updated successfully, but these errors were encountered: