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

Support protocol v2 #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Support protocol v2 #13

wants to merge 1 commit into from

Conversation

Tsuk1ko
Copy link

@Tsuk1ko Tsuk1ko commented Apr 11, 2020

去年B站直播弹幕协议有过一次更新,那时候还没影响,但现在貌似开始强制使用了

接收弹幕时会得到 header 中协议版本为2的包(协议版本在 header 中偏移量为6长度为2),其内容是经过 zlib 压缩的多条弹幕的包的组合

@codeclimate
Copy link

codeclimate bot commented Apr 11, 2020

Code Climate has analyzed commit e5a263b and detected 11 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 2
Clarity 9

View more on Code Climate.

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

Successfully merging this pull request may close these issues.

1 participant