169 Commits

Author SHA1 Message Date
4c9ab6e174 Clean up setting grab mode and default framesizes
- stop handling non-psram scenarios.
2022-05-08 08:58:47 +02:00
1ba62fe149 Platformio stream, fix #218 2022-05-08 08:47:05 +02:00
7d499010af bump version v4.0 2022-03-14 14:26:11 +01:00
466a9f4828 Platformio is broken - note 2022-03-14 12:38:10 +01:00
fc4e0f39f6 calling esp_camera_sensor_get() while streaming crashes module, dont do it, report errors more coherently 2022-03-14 10:06:00 +01:00
740db4ea54 Fix for LAMP_PIN undefined 2022-03-11 12:11:32 +01:00
9c96ded688 Merge pull request #229 from easytarget/4-0-rc1
4.0 release candidate
2022-03-11 04:30:42 +01:00
44042e0006 Fix OTA and seperate camera init 2022-03-11 04:25:46 +01:00
31c381da65 [ci skip] trivial update API doc 2022-03-10 16:56:46 +01:00
c149e280c9 [skip ci] re-order troubleshooting section 2022-03-10 16:01:25 +01:00
4f58ba7459 [ci skip] Comment change 2022-03-10 15:48:25 +01:00
fccbd75ac3 mdns name and tooltips 2022-03-10 14:44:26 +01:00
a79667686f fix build 2022-03-10 12:49:19 +01:00
273fdf6b79 note stream stop uri in API 2022-03-10 12:48:38 +01:00
9426f3f135 Merge pull request #195 from 15498th/framerate_limit
* 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.
* Add max fps control in full index page for ovh2640.
* Add max fps control for ov3660 index page.
* Update API documentation.
* Use better name for framerate limit variables.
* Change UI to show the same values of framerate control as used in command interface.
* 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.

* Fix delay before first frame by sending first request boundary before
entering the loop.

Co-authored-by: 15498th <user@localhost>
Co-authored-by: Owen Carter <owen.carter@gmail.com>
2022-03-09 16:36:37 +01:00
cfe81b0ff8 Merge branch '4-0-rc1' into framerate_limit 2022-03-09 16:34:18 +01:00
d064e8826a Merge branch 'master' into 4-0-rc1 2022-03-09 15:01:26 +01:00
ed71e54477 Mdns additions (#230)
* Update README.md
* Make necessary changes to support MDNS name lookup of camera server
* Remove note in README regarding the parent project
2022-03-09 14:51:43 +01:00
04a94ede54 [ci skip] Add link to common issues in discussions 2022-03-09 12:27:37 +01:00
b1db350700 fix prefs label (#147) 2022-03-09 12:03:06 +01:00
a3ce29a00a Lamp Warning symbol and tooltip (#148) 2022-03-09 11:58:54 +01:00
b5c2293ceb fix autolamp tooltip (#146)
Properly apply autolamp tooltip
2022-03-09 11:55:03 +01:00
f4bde8b77c autolamp value in prefs should be bool 2022-03-09 11:41:40 +01:00
cb78162ea4 lamp default state fix #204 2022-03-09 11:40:40 +01:00
322187ced9 Strip trailing whitespace everywhere 2022-03-09 08:40:00 +01:00
3fc9389c57 fix doc 2022-03-09 08:27:29 +01:00
2be6d0bdd2 Start SPIFFS before camera module, #214 2022-03-08 14:56:25 +01:00
9402cdf4b7 remove the beta warning 2022-03-08 13:51:56 +01:00
6d825277cf Fail if no PSRAM, fix #196 2022-03-08 13:46:51 +01:00
de0154779d Xclock in gui and stream stop button 2022-03-08 11:34:45 +01:00
4b6cd9a56e Add definition for ArduCAM_ESP32S_UNO [ci skip] v4.0.beta3 2021-12-31 11:10:35 +01:00
395c4c70bb Update Version [ci skip] 2021-12-31 10:36:10 +01:00
152eec7be6 Framebuffer fix (#199)
* Slightly longer flash delay, #188
* Framebuffer delayed frames
* Fix Travis, again
* show XCLK in dump output
* comment on slow XCLK for slow clones
* pump up the wifi watchdog default
* latest IDE and esp core
2021-12-31 02:47:58 +01:00
20f4c24dae Fix delay before first frame by sending first request boundary before
entering the loop.
2021-12-19 02:14:29 +03:00
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
a75627a341 Merge branch 'framerate_limit' of https://github.com/15498th/esp32-cam-webserver into framerate_limit 2021-12-18 15:26:18 +03:00
28466654a3 Merge branch 'easytarget:master' into framerate_limit 2021-12-18 15:25:59 +03:00
fdd920910e Change UI to show the same values of framerate control as used in command interface. 2021-12-18 15:04:02 +03:00
721e825daa Use better name for framerate limit variables. 2021-12-18 14:54:53 +03:00
69888bd6d8 Update API documentation. 2021-12-18 14:07:23 +03:00
d19dd25dd3 Fix index selection example using wrong keyword. (#194) 2021-12-17 14:15:43 +01:00
a63bcc35c8 Add max fps control for ov3660 index page. 2021-12-17 00:15:05 +03:00
1cda0e2ef7 Add max fps control in full index page for ovh2640. 2021-12-17 00:15:01 +03:00
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
ae37979514 Latest toolchain 2021-12-16 16:20:55 +01:00
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
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
0ef997e21b correct partition scheme in readme, fix #172 2021-10-15 04:21:11 +02:00
a40e92470a Add a default text color to menus to assist customisers [skip travis] 2021-10-11 14:30:13 +02:00
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