Comments (5)
@daofeng2015 谢谢你的意见!我自己其实不太熟悉docker,现在学业也挺重,有时间一定会考虑!
from douyubarrage-pro.
再问一个问题,如果返回一个消息中有多种消息混合在一起的话,怎么知道第二段弹幕的请求头呢 怎么拆开呢?
from douyubarrage-pro.
@daofeng2015 斗鱼消息协议中讲到了数据包头部的结构 其中有一个长度字段 你先把第一个消息的头部解析出来 拿到第一条消息的长度 指针偏移这个值以后就刚好是第二条消息的开头
from douyubarrage-pro.
@daofeng2015 斗鱼消息协议中讲到了数据包头部的结构 其中有一个长度字段 你先把第一个消息的头部解析出来 拿到第一条消息的长度 指针偏移这个值以后就刚好是第二条消息的开头
关键就是头部解析不会啊
from douyubarrage-pro.
@daofeng2015 使用各种语言中的二进制操作模块 比如nodejs里面的Buffer等等 也可以参考下我的源码
from douyubarrage-pro.
Related Issues (17)
- echarts-for-react报错 has no exported member 'ObjectMap'. HOT 2
- How to capture contribution value? HOT 1
- 老哥我想问一下如何去掉定时清理数据库 HOT 5
- 弹幕墙的实现在哪个文件呢 HOT 1
- 考虑加入直播录制功能吗 HOT 1
- 能否实现后台抓取弹幕 HOT 3
- 用户id问题 HOT 1
- 后台抓取弹幕要删掉那个地方 HOT 2
- web包一直下依赖报错
- 这个统计礼物数量吗? HOT 4
- Node.js已安装但仍提示需JS HOT 1
- 连接服务器失败是什么问题
- 抖音、快手平台的弹幕抓取 HOT 2
- 在服务器上运行server与web程序,请求返回 Invalid Host Header HOT 7
- 这个具体的使用方法是什么呢.. HOT 1
- Windows npm install一直报错 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from douyubarrage-pro.