Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

直播时的几个问题 #75

Open
xuan-ming opened this issue Oct 25, 2019 · 5 comments
Open

直播时的几个问题 #75

xuan-ming opened this issue Oct 25, 2019 · 5 comments

Comments

@xuan-ming
Copy link

描述bug
1.点歌有时不能准确的进行
2.突然不能点歌了,其他命令正常识别
3.切歌之后不是按照歌曲列表进行切歌而是在已下载的列表随便播放
4.一些弹幕发送过于频繁德华,相对于的命令没有反应(例如切歌和点歌)
5.直播间偶尔会抽风,在一首歌没有播放完的情况下突然切歌
复现步骤
按如下步骤可以复现bug:

  1. 登陆直播间
  2. 发送弹幕进行点歌或者切歌
  3. 短时间多人发送弹幕或者多次发送同一弹幕
  4. 出现没有任何反应的bug

本应出现的正常状态
描述一下正常应该出现什么
未知
截屏或log记录
尽量详细一些

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.83. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@chenxuuu
Copy link
Owner

没有日志

@shilela
Copy link
Contributor

shilela commented Oct 30, 2019

1.按步骤复现,如果用户短时间重复发送相同的弹幕会被b站服务器拒绝,并收到"msg repeat", 看上去发送了好几个弹幕其实树莓派只接收到了一个。

2.树莓派的回复有可能会因为发送频率太快而发送失败。

3.之后出现了抽风现象,但是通过screen -r观察play.py,发现是正常推流。
于是在play.py里面增加了在每首歌曲播放前发送一条弹幕输出文件名称和判断是否是缓存随机播放。并且在ass_maker.py里增加了在歌词中显示文件名称。
发现抽风,音画不同步,是自身的网络不好或者是b站的问题。

4.顺带问个问题,这个msg:'fire'是不是因为出现了敏感词

截图图片
1
2
3

@chenxuuu
Copy link
Owner

  1. 这不是bug
  2. 失败打印了?
  3. 音画不同步指什么?歌词延迟?
  4. 不知道,很久没用了

@shilela
Copy link
Contributor

shilela commented Oct 30, 2019

  1. 这不是bug
  2. 失败打印了?
  3. 音画不同步指什么?歌词延迟?
  4. 不知道,很久没用了

_(:з)∠)_只是复现问题并帮忙解决问题
第一个问题由于重复发大量弹幕,在本地浏览器上显示不一定代表发弹幕成功导致的。不是本项目的问题。
第二个问题,在第二个截图上,{'message':'msg repeat','code':0,'msg':'msg repeat'}
第三个问题音画不同步,是指有时网页卡顿后,短暂出现音频正常,但画面出现了上一首歌曲。也就是xuan-ming指出来得类似抽风。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants