danikula / danikula/AndroidVideoCache

Downloaded file is not equal to the original one

未关闭
#121 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Java
星标
5.5k
派生
1.2k
PR 合并指标
30 天内没有已合并 PR

描述

Origin url is http://ohwy83emy.bkt.clouddn.com/app_vedio/2017/03/08/1488947409951/1488947409951.mp4 which can be played through Chrome browser.

And in my application, wrapped url would like this http://127.0.0.1:36541/http://ohwy83emy.bkt.clouddn.com/app_vedio/2017/03/08/1488947409951/1488947409951.mp4 .

With IJKPlayer i can play with origin url, but cannot play with wrapped url.
I have did some tests, donwload from both two urls. The files are different.
The md5sum text of file from origin url is: 98fdf6fd427f78028445d2a857c9aadd,
however, the md5sum text of file from wrapped url would change sometimes, but never equal to 98fdf6fd427f78028445d2a857c9aadd. And the file downloaded from wrapped url cannot be played on my computer. It seems like the file was broken.
Well, both the size of two files are equal to 438140 bytes.

Can you do something for this?
Strongly depends on the library, great job of yours.

Thank you!!

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先,使用 issue 中描述的 origin URL 和 wrapped localhost URL 重现下载比较。比较它们的 MD5 值,并尝试播放 wrapped 下载;当 wrapped URL 生成与 origin 文件完全相同的字节并产生可播放的视频时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, java
领域
mobile
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。