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

哥们,你发送心跳包时有问题, 导致认证失效无法正常收到弹幕。 #20

Closed
malubaka opened this issue Oct 23, 2023 · 4 comments

Comments

@malubaka
Copy link

你发送心跳包 []byte{0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 2, 0, 0, 0, 1}没有带p.ProtocolVersion,导致认证失效无法正常收到弹幕。

@Akegarasu
Copy link
Owner

  1. 认证、接收弹幕均与心跳包无关
  2. 这根本不是心跳包

@malubaka
Copy link
Author

danmu

@malubaka
Copy link
Author

我确实不该随意推断问题出在哪,心跳包那个我也确实打错了。
但是这个问题也确确实实存在。
我用的是v1.5.0版本,上面图片显示发送心跳包之后 ,名字就不显示了。
但你既然这么有底气说没关系,那我觉得你跑代码时应该也是没问题的。
我就直接把你项目下来,在你的项目运行代码,确实没问题,一切正常。
那是不是打包出了问题我也不明白,但这个问题确实存在。

@Akegarasu
Copy link
Owner

#15 (comment)

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

No branches or pull requests

2 participants