-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.0 release #229
4.0 release #229
Conversation
Add global variable and #define in config to set default. Add new parameter in /control handler and preferences.
…m-webserver into framerate_limit
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.
entering the loop.
|
Next up; merge #195 to this |
* 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 <[email protected]>
@rdragonrydr I think I'm done on the branch now, I'll be merging to master later today. Then I will do a release, after a few days 'settle' time. |
OTA went badly broken with esp arduino cores 2.0.1 and 2.0.2, the module would simply reboot every time OTA started. |
I'm rapidly going for a 4.0 release, will assemble a few final fixes here:
XCLK
set low initially for maximum compatibility with budget boards etc, expose in UI so the user can then find a good setting.