danikula / danikula/AndroidVideoCache
Advanced Error Handling
未关闭
- 主要语言
- Java
- 星标
- 5.5k
- 派生
- 1.2k
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi,
in my app it's not always guaranteed, that the URL for streaming is still available. Therefore I somehow need to know when AndroidVideoCache fails to open the URL. It would be cool, if you didn't catch the exceptions, but throw them, so we can try/catch them ourselves. So for example `proxy.getProxyUrl(url);` throws `ProxyCacheException`. Or is there another way you suggest? I don't want to `HEAD` request the resource first, just to check if it's available.
Any ideas? Thanks!
贡献指南
这个仓库没有索引到贡献指南
调研方向
从入口点 proxy.getProxyUrl(url) 开始,跟踪无法打开流式 URL 时如何处理 ProxyCacheException。确定当前可观察到的失败行为,并定义调用方应该能够捕获或检查的内容;无需预先发出 HEAD 请求即可使所请求的失败处理保持一致,即为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- android, java
- 领域
- mobile-dev
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100