update readme

This commit is contained in:
DavidVentura
2024-01-26 17:54:50 +01:00
parent 2ffb466913
commit dfaca51db9
5 changed files with 8 additions and 0 deletions
+8
View File
@@ -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 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 ```mermaid
--- ---
title: Establish session title: Establish session
@@ -40,6 +42,12 @@ sequenceDiagram
end 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 ```mermaid
--- ---
title: Stream audio/video title: Stream audio/video
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB