Skip to content

Commit 725ce9c

Browse files
Updated README.md
1 parent fe780f2 commit 725ce9c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ The Arduino ESP32-Camera test sketch only lets you use the stream on your local
99

1010
This collection of scripts consists of:
1111
- Arduino code for ESP32 camera module (AI Thinker CAM) `websocket_camera_stream.ino`
12-
- Python code to receive the images via websockets with `receive_stream.py`
13-
- Python code to push the most recent image to a website with `send_image_stream.py`
12+
- Python code to receive and serve the images via websockets with `run_in_memory.py`, using `receive_stream.py`, `send_image_stream.py` and a queue system `queueu.py`
1413

1514

1615
# Why is this cool?
@@ -22,17 +21,18 @@ Upload the code to you ESP32 AI Thinker Cam board. Please test the Arduino camer
2221

2322
2. Install the missing python requirements using pip: `pip install pillow websockets flask asyncio`
2423

25-
3. Run `python receive_stream.py`
26-
You should get a constant stream of numbers (sizes of images). The image.jpg in the directory is always the latest received image.
27-
28-
4. Open a second terminal and run `python send_image_stream.py`
24+
3. Run `run_in_memory.py`
2925
You should get a response by flask with an IP and port to enter in your browser.
3026

3127
Now enjoy your fresh live stream! 📺
3228

3329

3430

3531
# Known Issues
32+
33+
### Security
34+
While this should be fine to run on a private (trusted LAN) network, exposing it to the public internet will allow others to receive and interrupt the stream. Only do this is you have sufficient knowledge.
35+
3636
### Browsers don't like broken images.
3737
This is solved using the placeholder.jpg. It just replaces the image, if the backend receives a broken frame to prevent the browser from freezing the stream.
3838

0 commit comments

Comments
 (0)