mirror of
https://github.com/yulinfeng000/blive.git
synced 2025-03-26 01:00:54 +08:00
update protocol
This commit is contained in:
parent
245a1291de
commit
aaee2de166
11
PROTOCOL.md
11
PROTOCOL.md
@ -2,6 +2,17 @@
|
||||
|
||||
## 包格式
|
||||
|
||||
```txt
|
||||
___________________________________________________________________________
|
||||
| | | | | |
|
||||
| sequence_id | operation | protocol_version | header_size | package_size |
|
||||
|_____________|___________|__________________|_____________|______________|
|
||||
| |
|
||||
| data |
|
||||
| |
|
||||
|_________________________________________________________________________|
|
||||
```
|
||||
|
||||
包为 byte 数据,由头部和数据组成,字节序均为大端模式
|
||||
|
||||
头部长度为 16
|
||||
|
Loading…
Reference in New Issue
Block a user