Comments (7)
I feel I'm pretty close, but I periodically run into hardware problems which slow me down a lot. Last one - my ESP-EYE module sometimes start to have issues with getting data from sensor. It just gets frozen. So annoying. I replaced sensor from another module and it seemed to work, but then the problem returned. Seems like some problem with connector/cable. I decided to replace the whole module. So, now I'm waiting for it.
from esp32-homekit-camera.
@maximkulkin I can send u some kudo$ to ur paypal, I use ur work in my house a lot so, I woulnt mind to cooperate
from esp32-homekit-camera.
Ok, I have something working. Unfortunately, it seems like bug in WiFi stack often makes camera unresponsive. I hope that it will be fixed in ESP-IDF. You can recognize this problem when you see this output in console:
W (12211) wifi: alloc eb len=24 type=3 fail, heap:3552232
W (12211) wifi: m f null
Shortly after that you get network error and it seems that packets are not flowing.
Meantime I'm experimenting with code hoping to find a workaround.
It turned out that memory was not the biggest issue. The biggest issue is not being able to encode frames at decent rate. Thus I had to downscale encoded image 8 times (from 640x480 down to 80x60) to get something at least somewhat usable.
Also, very rarely JPEG decoding freezes. Not sure why. Need more stable repro.
But anyways, congratulations everybody with a milestone!
from esp32-homekit-camera.
@maximkulkin That's great news, I really hope you get it working, unfortunately it's a little above my pay grade, so I'm relying on your expertise. But if I can help or support you in any way please let me know!
from esp32-homekit-camera.
@maximkulkin Is there any news from streaming? Today I downloaded the whole esp32-homekit-camera-software and tested it with CONFIG_CAMERA_MODEL_TTGO_V1_7. I got the old malloc error:
0x4008f34b: is_free at /Users/username/esp/esp-idf/components/heap/multi_heap.c:380
(inlined by) multi_heap_malloc_impl at /Users/username/esp/esp-idf/components/heap/multi_heap.c:432
from esp32-homekit-camera.
@GermanSheepDog and the rest, I was testing outside the homekit tests to actually test the streaming capabilities, I see now that for streaming it does require a lot more RAM, and with thecurrent setup will be very difficult due to the rest of the tasks the processor needs to handle, specially for encrypting the data, even without the homekit library, streaming fails inconsistently when adding a couple of things like mqtt
from esp32-homekit-camera.
@beckmx Thank you for the interesting information. I keep my fingers crossed.
I have also added a variety code to esp_homekit and got big problems with the heap. Now I rewrote all my l libraries and it worked fine.
from esp32-homekit-camera.
Related Issues (20)
- Failed to setup endpoints: no session ID field HOT 8
- ESP32 S2 USB Webcam, much better quality HOT 1
- Build with errors HOT 5
- Can't apply patch in MacOS HOT 17
- Compile error - esp_event_loop_init HOT 3
- Error applying Patch? HOT 1
- mdns component moved from idf 5.0 HOT 3
- wifi:bcn_timeout,ap_probe_send_start
- Code is broken? Failed to dump SPR public key (code -199) HOT 3
- Environment for successful build? HOT 19
- Compile Issue: make: *** [all] Error 2 HINT: The issue is better to resolve by replacing format specifiers to 'PRI'-family macros (include <inttypes.h> header file). HOT 7
- Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled. HOT 1
- esp_random.h header file is not included by esp_system.h anymore.
- ESP32D0WDQ6 - only can see picture no video HOT 2
- can not build with esp-idf v5
- make flash issues
- this accessory cannot be used
- errors HOT 1
- Failed to dump SPR public key (code -199) HOT 3
- Failed to dump SPR public key (code -199) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32-homekit-camera.