update readme
This commit is contained in:
@@ -20,6 +20,8 @@ To execute the server, run `make run`; JPEG files will be created in a folder na
|
||||
|
||||
The protocol is weirdly complex, though very little communication is necessary to use the device
|
||||
|
||||
|
||||
To establish a session, a few _control packets_ are sent.
|
||||
```mermaid
|
||||
---
|
||||
title: Establish session
|
||||
@@ -40,6 +42,12 @@ sequenceDiagram
|
||||
end
|
||||
```
|
||||
|
||||
To start a stream, a single _control packet_ is sent.
|
||||
|
||||
The received stream is broken up into 1028 byte payloads, along with a sequence number.
|
||||
|
||||
Stitching the payloads together yields JPEG frames for video, and (TBD) for audio.
|
||||
|
||||
```mermaid
|
||||
---
|
||||
title: Stream audio/video
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 88 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 79 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 107 KiB |
Reference in New Issue
Block a user