帖子
帖子
用户
博客
课程
12下一页
返回列表 发新帖
显示全部楼层
35
帖子
0
勋章
65
Y币

[BUG] 严重怀疑audioplay的缓冲机制和获取duration错误

[复制链接]
发表于 2017-10-12 17:10:42
问题1:初始化播放后,立马点击进度条到比较长的播放位置,就会出现finished的状态,但是有时又能正常设置播放位置,看我截图
问题2:获取duration太不靠谱了,后台返回给我的是2850,结果audioplay模块给我返回8.457,差距也太大了吧,看我截图
相应代码到时私聊发给你们客服

duration错误

duration错误

播放状态设置指定位置,finished

播放状态设置指定位置,finished

也是finished

也是finished
35
帖子
0
勋章
65
Y币
都是正在播放的时候,设置指定位置
0
帖子
0
勋章
65
Y币
还有这种操作
380
帖子
4
勋章
6
Y币
lsqweb 发表于 2017-10-12 17:22
都是正在播放的时候,设置指定位置

什么机型测试的?
35
帖子
0
勋章
65
Y币
技术支持-F 发表于 2017-10-12 17:49
什么机型测试的?

小米6,安卓iOS其他机型都有这个问题,很严重啊
380
帖子
4
勋章
6
Y币
lsqweb 发表于 2017-10-12 19:09
小米6,安卓iOS其他机型都有这个问题,很严重啊

用你的case运行,点击进度,没出现finsh. 返回时间也没问题。
初始化播放 at test.html : 174
{"code":200,"msg":"success","data":{"is_like":0,"is_subscribe":0,"program_id":"1","program_title":"1.颈椎病 赵吉平","duration":1835,"audio":"http://cdnlab**.**/audio/2017/06/09o_1bi5hf6uv1sv31pcuc4bqit110sa.mp3","cover":"http://cdnlab**.**/image/2017/07/11/o_1bknuf2rq1n6m1kal1ctl1rqsub59.png","album_id":1,"album_title":"常见病中医技法","album_cover":"http://cdnlab**.**/image/2017/06/09/o_1bi5hc9914oi15hf11jo8m9onm9.png","album_teacher":"赵吉平","album_category":"中医"}} at test.html : 185
state:{"state":"playing"} at test.html : 258
initPlay成功:{"status":true,"duration":1834.423,"path":"/data/user/0/com.qa1.jwc/cache/01590ad4549e97cb4066eb935082d246"} at test.html : 206
playing:{"current":0} at test.html : 230
playing:{"current":0.154} at test.html : 230
playing:{"current":0.487} at test.html : 230
playing:{"current":0.822} at test.html : 230
playing:{"current":1615.819} at test.html : 230
playing:{"current":1616.129} at test.html : 230
playing:{"current":1616.465} at test.html : 230
playing:{"current":1616.802} at test.html : 230
playing:{"current":1617.139} at test.html : 230
playing:{"current":1617.476} at test.html : 230

35
帖子
0
勋章
65
Y币
技术支持-F 发表于 2017-10-12 20:39
用你的case运行,点击进度,没出现finsh. 返回时间也没问题。
初始化播放 at test.html : 174 ...

你这是按我给的默认id吧,你试试截图上的id请求下。这个偶发性的,出现的频率还蛮大,既然截图上能出现duration 8秒的问题,说明模块本身还是有问题的
35
帖子
0
勋章
65
Y币
380
帖子
4
勋章
6
Y币
lsqweb 发表于 2017-10-13 08:23
你这是按我给的默认id吧,你试试截图上的id请求下。这个偶发性的,出现的频率还蛮大,既然截图上能出现du ...

8秒的问题你能再次复现吗?把代码发过来。
35
帖子
0
勋章
65
Y币
技术支持-F 发表于 2017-10-13 14:27
8秒的问题你能再次复现吗?把代码发过来。

昨天不是发给你们客服了么,你都拿我的代码打印了,按照我截图里面的输入
12下一页
您需要登录后才可以回帖 登录

本版积分规则