update readme

This commit is contained in:
DavidVentura
2024-01-27 14:55:06 +01:00
parent d6ec9890c9
commit 0a21479c85
4 changed files with 28 additions and 0 deletions
+16
View File
@@ -26,6 +26,22 @@ There's no live-stream server built into this project yet.
The protocol is weirdly complex, though very little communication is necessary to use the device The protocol is weirdly complex, though very little communication is necessary to use the device
The base structure of a packet is:
![](diagrams/packet.svg)
The payload is command-dependent; most commands have only a literal payload, but the `Drw` command has a framing scheme
`Drw` uses the second byte in the payload to discriminate into two types of subcommands:
Control packets:
![](diagrams/control_packet.svg)
The payload on control packets is "encrypted" when the length is > 5.
Data packets:
![](diagrams/data_packet.svg)
Data packets further discriminate based on the first 4 bytes into: Audio Data (0x55aa15a8), Video data.
To establish a session, a few _control packets_ are sent. To establish a session, a few _control packets_ are sent.
```mermaid ```mermaid
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 15 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.6 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.0 KiB