DOUAudioStreamer icon indicating copy to clipboard operation
DOUAudioStreamer copied to clipboard

获取七牛存储的音频文件时长短了

Open thuai opened this issue 10 years ago • 3 comments

音频文件url http://lrtstest.qiniudn.com/LFpUOnMAb25cP1rrpjvRd-jY3Gc=/lqzjUu_oez0s32Y089TL6NaG4E1L?e=1397846912&token=OOHK9_MIwdSJxAHYi5os2taDVS13CVvcEa1cZDb9:G81CD_M_iIAUZgu8UIT0BPENdiY=

实际是21:25 但是DOUAudioStreamer中的duration只有12:10 使用iOS sdk中的 avplayer也是获取的短了。

不知道是什么原因导致的?

thuai avatar Apr 09 '14 03:04 thuai

请问解决了吗?我也是AVAudioPlayer也会获取时间变短,但是不固定,可能某次就正常了。

WenbinFan avatar May 04 '15 11:05 WenbinFan

解决了。是我们的后台工程好像调用七牛的一个API修改了他们不推荐的信息,所以导致了七牛一直将文件头的比特率写错了

在 2015年5月4日,19:34,Frank [email protected] 写道:

请问解决了吗?我也是AVAudioPlayer也会获取时间变短,但是不固定,可能某次就正常了。

— Reply to this email directly or view it on GitHub https://github.com/douban/DOUAudioStreamer/issues/41#issuecomment-98683359.

thuai avatar May 04 '15 11:05 thuai

@thuai 多谢~

WenbinFan avatar May 05 '15 02:05 WenbinFan