s60sc / ESP32-CAM_MJPEG2SD

ESP32 Camera motion capture application to record JPEGs to SD card as AVI files and stream to browser as MJPEG. If a microphone is installed then a WAV file is also created. Files can be uploaded via FTP or downloaded to browser.
GNU Affero General Public License v3.0
931 stars 214 forks source link

Can't start stream on ESP32 AI_Thinker_CAM module #302

Closed Minha-D closed 12 months ago

Minha-D commented 12 months ago

Hi, First of all,Thanks for creating such a amazing project. I have a problem with starting camera stream on browser. When Start stream is clicked video window remains black. Capturing sills work and they show the preview. And recording on sdcard is also working. But live stream isn't working and sometimes it says something like "not enough free space with error code 500" I'm using version 9.1 on esp32_cam ai_thinker_board. Any help is appreciated.

s60sc commented 12 months ago

Need to see log and exact message - is it 500: No free task

Minha-D commented 12 months ago

Need to see log and exact message - is it 500: No free task

Yes is it "500: No Free task". But version 8.7 is working. Should is attach log from Arduino serial console or sdcard?

s60sc commented 12 months ago

Either log, provided shows startup sequence. 500: No free task means that the stream is already open in a different browser instance

Minha-D commented 12 months ago

I'll attach logs then, to verify what's the problem.

Minha-D commented 12 months ago

Here is the log from sdcard : log.txt Here is the screen short of my browser Screenshot_20231119_192152 Screenshot_20231119_192227

s60sc commented 12 months ago

No idea. Check you have no other browser instances open, try chrome browser, or use an older release.

Minha-D commented 12 months ago

I maked sure no other browsers are open. And also if you looked at the screenshot I'm using Google Chrome only. Thanks for the response I'll use older 8.7 version for now.