Commit Graph

135 Commits

Author SHA1 Message Date
15498th 1b836c5479 Apply framerate limiting delay after serving content boundary.
Putting delay after finishing serving the frame causes image to appear
in stream with a lag. The reason for this appears to be that browser
relies on next frame content boundary in order to determine the end of
image.

That means that in order for browser to show frame right after receiving
it, server needs to send next frame content boundary right after image
itself, and delay to limit framerate should be applied after content
boundary, not before it.

According to https://www.w3.org/Protocols/rfc1341/7_2_Multipart.html
sending first frame without content boundary will likely cause its
content to be ignored, which seems to be acceptable price for not
treating first iteration of the loop as special case.
2021-12-19 01:28:02 +03:00
15498th a75627a341 Merge branch 'framerate_limit' of https://github.com/15498th/esp32-cam-webserver into framerate_limit 2021-12-18 15:26:18 +03:00
15498th 28466654a3
Merge branch 'easytarget:master' into framerate_limit 2021-12-18 15:25:59 +03:00
15498th fdd920910e Change UI to show the same values of framerate control as used in command interface. 2021-12-18 15:04:02 +03:00
15498th 721e825daa Use better name for framerate limit variables. 2021-12-18 14:54:53 +03:00
15498th 69888bd6d8 Update API documentation. 2021-12-18 14:07:23 +03:00
15498th d19dd25dd3
Fix index selection example using wrong keyword. (#194) 2021-12-17 14:15:43 +01:00
15498th a63bcc35c8 Add max fps control for ov3660 index page. 2021-12-17 00:15:05 +03:00
15498th 1cda0e2ef7 Add max fps control in full index page for ovh2640. 2021-12-17 00:15:01 +03:00
15498th 158575affe Add framerate limit, print delay in debug dump.
Add global variable and #define in config  to set default.
Add new parameter in /control handler and preferences.
2021-12-17 00:14:44 +03:00
Owen ae37979514 Latest toolchain 2021-12-16 16:20:55 +01:00
Armin ba7c20a2b6
replaced \n\r with \r\n (#174)
* Fix rotate -90 degree bu
  Adding a style with flex-direction: column; and align-items: flex-start; does the job 😀
* replaced \n\r with \r\n
  \n\r gives strange results in other than Arduino serial monitors.
2021-12-16 16:14:30 +01:00
Tim Gates 36aee90352
docs: Fix a few typos (#184)
There are small typos in:
- Docs/linearled/README.md
- README.md
- myconfig.sample.h
2021-12-16 16:10:45 +01:00
Owen Carter 0ef997e21b
correct partition scheme in readme, fix #172 2021-10-15 04:21:11 +02:00
Owen a40e92470a Add a default text color to menus to assist customisers [skip travis] 2021-10-11 14:30:13 +02:00
Armin 4031ab2530
Fix rotate -90 degree bug (#169)
Adding a style with flex-direction: column; and align-items: flex-start; does the job 😀
2021-10-11 12:44:58 +02:00
Owen Carter 44f11768da
Some minor fix-ups that I forgot to check-in (#168)
* Some minor fixups that I forgot to checkin
* fewer branch builds
2021-09-27 16:33:14 +02:00
Owen 03b0982c7f Option to disable onboard notification led (also #138) 2021-09-26 13:04:14 +02:00
Owen 88d07a963f Fix compiling on modules with no LAMP_PIN (#138) 2021-09-26 11:53:56 +02:00
Owen fb2fc1bcb4 Better feedback for no psram/filesystem errors 2021-09-26 11:32:24 +02:00
Owen Carter d1928a2050
Interactive slider improvements (#166)
Send slider (range input) updates immediately so that slider become more responsive.
Rate limit sending the slider updates since rapid moves could overwhelm the connection
Co-authored-by: Eric Fontaine <ericfontainejazz@gmail.com>
2021-09-26 03:00:15 +02:00
Owen f6709d0ce8 Increase default WiFi Connect 2021-09-25 15:16:40 +02:00
Owen Carter 4d253bf180
Platformio OTA partitioning and upload (#160) (#165) 2021-09-24 12:45:16 +02:00
Owen Carter eec83d6b78
#158 Re-Calculate URLs on WiFi reconnect (#159) 2021-09-11 15:17:41 +02:00
Owen 7a29a3190e Minor example correction 2021-09-03 19:40:59 +02:00
Owen b1cb4a0432 Remove framebuffer-jpeg conversion, not needed without FaceDetection 2021-09-03 15:33:19 +02:00
Owen b6f79e8120 Update IDE screenshot, fix #155 2021-09-03 14:36:30 +02:00
Owen Carter ca602a40c2
Temperature and OTA feedback (#156)
* Temperature Display in data screen (#151)
* Feedback improvements
2021-09-03 14:13:40 +02:00
Owen 3ba9e818a7 Improve support for changing cam clock frequency 2021-07-03 16:10:37 +02:00
Owen Carter 56c52672b2
Import latest fixes from upstream jsonlib (#132)
* Fix an off-by-one error that might affect us, etc.
2021-07-01 11:29:41 +02:00
Owen Carter 5fef3bd9e5
Fix compiling for ESP Arduino core 2.x (#130) 2021-07-01 01:04:29 +02:00
Owen aa66d86cec Be more generaous wioth PSRAM now FaceDetect is removed 2021-06-30 19:56:08 +02:00
Owen f6f71cdf93 Warn on serial log if no PSRAM 2021-06-30 19:54:55 +02:00
Owen 942a74a26a Reduce visual artifacts by more carefully chosen bus frequency 2021-06-30 19:51:38 +02:00
Owen Carter 55b091ea7c
Handle corrupt preferences files (#129) 2021-06-30 18:22:51 +02:00
Owen Carter b33f9258e9
NTP basic sync (#124)
* NTP basic sync
2021-06-08 20:42:14 +02:00
Owen Carter 84b55bad91
No face (#117)
* RemoveFace recognition, add basic OTA
* Document new IDE board selection
* #120 Correctly free boxes
* Disable WiFi Powersave for better responsiveness (#123)
* #116 OTA Password
* Force correct partition table for PlatformIO
* Readme notes regarding the 3.x branch
* Cleanup unused vars
2021-06-08 15:49:10 +02:00
Owen Carter b03317eb42
Disable WiFi Powersave for better responsiveness (#123)
Appears to make the module a tad more responsive once connected
2021-06-08 10:57:40 +02:00
Owen Carter e992269e50
Free boxes (#122)
* #120 Correctly free boxes
2021-06-08 08:08:14 +02:00
Owen Carter 0cba55bbca
V3.2 (#112)
* Fix #110 by disabling face recognition for image captures while a stream is running
* update some comments in the myconfig sample
* Update the Readme
2021-05-17 12:57:33 +02:00
Owen Carter fd77a62e65
Notes 2021-05-11 21:29:09 +02:00
Owen 2c6428d7ca Image sizes again 2021-05-11 21:08:53 +02:00
Owen 8c6f9490a1 Readme formating 2021-05-11 21:01:50 +02:00
Owen 08e0a4411a Smaller images 2021-05-11 20:55:12 +02:00
Owen 36b0e07bb4 taking a dump 2021-05-11 20:47:00 +02:00
Owen fff36d33e3 Simpleviewer in Readme 2021-05-11 20:32:17 +02:00
Owen Carter 409b053002
Tweaks and new main image link 2021-05-11 20:23:52 +02:00
Owen Carter 7fae903ed3
Logging and Debug improvements (#111)
* Logging format improvements plus debounce serial at startup
* Be clearer about whether Stream or Image capture generated a particular error, also for face recognition errors
* User defined face detection text
2021-05-11 20:09:17 +02:00
Owen Carter 5f6bb1dd6b
Face detection resolution and Quality control quality improvements (#109)
* Update UI to allow face detection enabling for CIF mode
Unexpected consequence of the changes addressed in #98 
* Changed the UI labelling for the 'quality' slider to just say 'High (slow)' and 'Low (fast)', much more comprehensible, thanks @TungstenE2
I also allow the slider to go to '6' instead of '10' for the OV2640
2021-05-11 11:38:59 +02:00
Owen Carter f97d56e8e7
face detect fix (#108)
Fixes #107; heap corruption and crash happening with ESP 1.0.6 when face detection is enabled.
2021-05-10 23:53:02 +02:00