forked from easytarget/esp32-cam-webserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Fix issue with streaming as httpd_resp_send_chunk breaks stream…
…ing.
- Loading branch information
Showing
3 changed files
with
70 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cde3497
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting.. does it work?
I've been failing to fix this, but I'd really like to get PlatformIO operation fixed if I can
cde3497
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Certainly is more reliable for me on VLC and Firefox than it was - might not be entirely bulletproof, but it's better...
Chrome still doesn't like it.
PlatformIO builds under vscode works for me, but YMMV, I guess...
cde3497
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thankyou for the quick reply, sorry mine is much slower.
I'm going to look at porting this to my fork after I've dealt with some conflicting changes related to multiclient streaming that are in progress (easytarget#237) . These involve running the streams in parallel RTOS processes, it refactors the stream code and I'm curious to see how that plays out in PlatformIO, but adapting your changes to add a chunk fail/resend mechanism is also a good idea anyway.