Commit Graph

171 Commits

Author SHA1 Message Date
abratchik d152aec40b refactoring storage and adding doxygen documentation 2022-12-09 20:36:39 +04:00
abratchik 563ecc8821 version 5.0 beta 2 2022-12-02 17:20:50 +04:00
Owen 4c9ab6e174 Clean up setting grab mode and default framesizes
- stop handling non-psram scenarios.
2022-05-08 08:58:47 +02:00
Owen 1ba62fe149 Platformio stream, fix #218 2022-05-08 08:47:05 +02:00
Owen 7d499010af bump version 2022-03-14 14:26:11 +01:00
Owen 466a9f4828 Platformio is broken - note 2022-03-14 12:38:10 +01:00
Owen 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
Owen 740db4ea54 Fix for LAMP_PIN undefined 2022-03-11 12:11:32 +01:00
Owen Carter 9c96ded688
Merge pull request #229 from easytarget/4-0-rc1
4.0 release candidate
2022-03-11 04:30:42 +01:00
Owen 44042e0006 Fix OTA and seperate camera init 2022-03-11 04:25:46 +01:00
Owen Carter 31c381da65
[ci skip] trivial update API doc 2022-03-10 16:56:46 +01:00
Owen Carter c149e280c9
[skip ci] re-order troubleshooting section 2022-03-10 16:01:25 +01:00
Owen 4f58ba7459 [ci skip] Comment change 2022-03-10 15:48:25 +01:00
Owen fccbd75ac3 mdns name and tooltips 2022-03-10 14:44:26 +01:00
Owen a79667686f fix build 2022-03-10 12:49:19 +01:00
Owen 273fdf6b79 note stream stop uri in API 2022-03-10 12:48:38 +01:00
Owen Carter 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
Owen Carter cfe81b0ff8
Merge branch '4-0-rc1' into framerate_limit 2022-03-09 16:34:18 +01:00
Owen Carter d064e8826a
Merge branch 'master' into 4-0-rc1 2022-03-09 15:01:26 +01:00
rdragonrydr 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
Owen 04a94ede54 [ci skip] Add link to common issues in discussions 2022-03-09 12:27:37 +01:00
Eric Fontaine b1db350700
fix prefs label (#147) 2022-03-09 12:03:06 +01:00
Eric Fontaine a3ce29a00a
Lamp Warning symbol and tooltip (#148) 2022-03-09 11:58:54 +01:00
Eric Fontaine b5c2293ceb
fix autolamp tooltip (#146)
Properly apply autolamp tooltip
2022-03-09 11:55:03 +01:00
Owen f4bde8b77c autolamp value in prefs should be bool 2022-03-09 11:41:40 +01:00
Owen cb78162ea4 lamp default state fix #204 2022-03-09 11:40:40 +01:00
Owen 322187ced9 Strip trailing whitespace everywhere 2022-03-09 08:40:00 +01:00
Owen 3fc9389c57 fix doc 2022-03-09 08:27:29 +01:00
Owen 2be6d0bdd2 Start SPIFFS before camera module, #214 2022-03-08 14:56:25 +01:00
Owen 9402cdf4b7 remove the beta warning 2022-03-08 13:51:56 +01:00
Owen 6d825277cf Fail if no PSRAM, fix #196 2022-03-08 13:46:51 +01:00
Owen de0154779d Xclock in gui and stream stop button 2022-03-08 11:34:45 +01:00
Owen 4b6cd9a56e Add definition for ArduCAM_ESP32S_UNO [ci skip] 2021-12-31 11:10:35 +01:00
Owen 395c4c70bb Update Version [ci skip] 2021-12-31 10:36:10 +01:00
Owen Carter 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
15498th 20f4c24dae Fix delay before first frame by sending first request boundary before
entering the loop.
2021-12-19 02:14:29 +03:00
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