Giter Site home page Giter Site logo

Comments (11)

EspoirX avatar EspoirX commented on May 16, 2024

是不是权限问题啊

from starrysky.

JeremyHwc avatar JeremyHwc commented on May 16, 2024

这里是看到有提示 Permission denied ,不过这里需要申请什么权限吗

from starrysky.

EspoirX avatar EspoirX commented on May 16, 2024

读写文件权限应该是要的

from starrysky.

JeremyHwc avatar JeremyHwc commented on May 16, 2024

感觉这里很奇怪,只是很少的几个出现这种崩溃,我在我8.0的手机上没出现,如果是权限,应该都会崩溃,
android.system.ErrnoException:socket failed: EACCES (Permission denied)

这个应该只与联网权限有关

from starrysky.

EspoirX avatar EspoirX commented on May 16, 2024

联网权限应该正常app都有的,不过这个缓存框架我还没深入去研究过,确实出问题了有点不知道怎么做的感觉,有空得看看它的实现才行。。

from starrysky.

JeremyHwc avatar JeremyHwc commented on May 16, 2024

不过我之前用这个缓存框架做视频播放器的缓存时,也遇到过这个问题,后面我直接去掉了这个缓存框架

from starrysky.

EspoirX avatar EspoirX commented on May 16, 2024

那后面你用什么框架,或者你自己实现了?

from starrysky.

JeremyHwc avatar JeremyHwc commented on May 16, 2024

暂时没有用缓存了 还没想到用什么来弄

from starrysky.

EspoirX avatar EspoirX commented on May 16, 2024

这就尴尬了

from starrysky.

JeremyHwc avatar JeremyHwc commented on May 16, 2024

线上报错信息是HttpProxyCacheServer在初始化的时候会发生崩溃,感觉目前快速解决是在MediaPlayCallback和ExoPlayCallback 中加上try catch处理
try {
mProxyCacheServer = builder.build();
} catch (Exception e) {
e.printStackTrace();
}
在下面用到mProxyCacheServer 的地方加上非空判断,发生崩溃的时候,mProxyCacheServer为null,就不用使用缓存

from starrysky.

EspoirX avatar EspoirX commented on May 16, 2024

可以一试

from starrysky.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.