Comments (5)
边播边缓存设置为true了
from gsyvideoplayer.
是的,缓存逻辑现在和buffering的逻辑是分开的,目前缓存进度的返回还是由ijk那边来决定的,因为这里面涉及到seekto的一些问题,后面需要测试一下看看cache的缓存和buffering之间直接协调进度显示的问题。如果完全缓存下来了,那么就会直接读取本地的了。
from gsyvideoplayer.
那想获取到IJK的缓存进度有办法吗
from gsyvideoplayer.
IJK是没有缓存的,它是类似缓存了一块,然后抛弃了之前的一块这种,你可以试试ijk的demo的效果,其实就是你播放过的,任意拖动都是要触发重新请求。如果是获取VideoCache的缓存的话:
可以这样获取
Use HttpProxyCacheServer.registerCacheListener(CacheListener listener) method to set listener with callback onCacheAvailable(File cacheFile, String url, int percentsAvailable) to be aware of caching progress. Do not forget to to unsubscribe listener with help of HttpProxyCacheServer.unregisterCacheListener(CacheListener listener) method to avoid memory leaks.
Use HttpProxyCacheServer.isCached(String url) method to check was url's content fully cached to file or not.
from gsyvideoplayer.
更新了1.4.4,可以看看,修改了关于percent 的
from gsyvideoplayer.
Related Issues (20)
- 亮度调节dialog全屏显示不全 HOT 3
- 请问能获取到退出全屏的回调吗 HOT 1
- 更新SDK后,华为报病毒 HOT 11
- 有flutter版本么? HOT 1
- 继承了StandardGSYVideoPlayer,自定义播放器添加了UI横屏的时候修改UI状态没有反应 HOT 2
- 我用的v8.5.0版本,oppo应用市场提醒上线审核不通过 ,提示超频次读取DEVICEID +2,需要您帮忙处理下. HOT 1
- 横屏的情况切换url 播放黑屏,但是有声音,切换竖屏是正常播放。但是只要在横屏切换的话会黑屏 HOT 3
- 关于DRM license url支持 HOT 1
- 覆写updateStartImage方法,换图无效 HOT 5
- 从指定位置播放对有的视频不起作用 HOT 5
- 电视盒子上使用SystemPlayerManager,并设置GSYVideoType.GLSURFACE时,无法播放视频 HOT 6
- CacheHelper.download 下载报错 java.lang.IllegalStateException HOT 1
- app刚安装状态点击崩溃 HOT 2
- 视频点击时 全屏按钮显示隐藏的回调是哪个? HOT 1
- 根据教程编译SO库,MP2有声音了,但是https视频播放不了了,请问是啥原因呢? HOT 1
- 播放.wmv文件播放不了
- 音视频播放不同步 HOT 6
- Activity中切换Fragment被释放问题导致状态错乱控制失效 HOT 12
- 特殊视频无法播放问题 HOT 4
- 加载一个链接多次请求接口 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gsyvideoplayer.