Platformio is broken - note
This commit is contained in:
parent
fc4e0f39f6
commit
466a9f4828
|
@ -49,6 +49,8 @@ https://randomnerdtutorials.com/esp32-cam-troubleshooting-guide/
|
|||
|
||||
### Known Issues
|
||||
|
||||
Builds made with PlatformIO are currently (v4.0) broken; the stream will die shortly after starting. See https://github.com/easytarget/esp32-cam-webserver/issues/218 for more info.
|
||||
|
||||
The ESP32 itself is susceptible to the usual list of WiFi problems, not helped by having small antennas, older designs, congested airwaves and demanding users. The majority of disconnects, stutters and other comms problems are simply due to 'WiFi issues'. The AI-THINKER camera module & esp32 combination is quite susceptible to power supply problems affecting both WiFi conctivity and Video quality; short cabling and decent power supplies are your friend here; also well cooled cases and, if you have the time, decoupling capacitors on the power lines.
|
||||
|
||||
A basic limitation of the sketch is that it can can only support one stream at a time. If you try to connect to a cam that is already streaming (or attempting to stream) you will get no response and, eventually, a timeout. The stream itself is a [MJPEG stream](https://en.wikipedia.org/wiki/Motion_JPEG), which relies on the client (the web browser) to hold the connection open and request each new frame in turn via javascript. This can cause errors when browsers run into Javascript or caching problem, fail to request new frames or refuse to close the connection.
|
||||
|
|
|
@ -1,12 +1,34 @@
|
|||
; PlatformIO Project Configuration File
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
; ================================================================
|
||||
; = =
|
||||
; = DO NOT USE PLATFORMIO FOR THIS PROJECT =
|
||||
; = =
|
||||
; = 14 March 2022 : When built with Platformio this project =
|
||||
; = does not run properly; any streams you start will fail =
|
||||
; = with 'ESP_ERR_HTTPD_RESP_SEND' in the serial console and =
|
||||
; = ERR_INVALID_CHUNK_ENCODING 200 (OK) in the browser console.=
|
||||
; = =
|
||||
; = This is a difficult issue, and currently unresolved. =
|
||||
; = See: =
|
||||
; = https://github.com/easytarget/esp32-cam-webserver/issues/218 =
|
||||
; = =
|
||||
; = The focus of thei project is to show a expanded example =
|
||||
; = using the official Arduino IDE. PlatformIO is, and has =
|
||||
; = always been, a nice-to-have; so I will be releasing 4.x =
|
||||
; = without platformio support. See the above github issue if =
|
||||
; = you are able to help fixing this. =
|
||||
; = =
|
||||
; ================================================================
|
||||
;
|
||||
|
||||
; The esp32-cam-webserver project is intended to be easily compilable
|
||||
; with the stock Arduino IDE.
|
||||
; - Maintaining compatibility with other development environments
|
||||
; is important, but I wont accept changes to the PlatformIO build that
|
||||
; break compatibilty with the stock IDE. Eg by using non-standard
|
||||
; partition schemes or overriding Arduino defined limits, etc.
|
||||
; partition schemes or overriding Arduino defined limits, etc.
|
||||
|
||||
[platformio]
|
||||
src_dir = ./
|
||||
|
|
Loading…
Reference in New Issue