espressif / esp32-camera

Apache License 2.0
1.85k stars 634 forks source link

streaming to browser #24

Closed fenyvesi closed 3 years ago

fenyvesi commented 5 years ago

The Arduino example program prints at start: ... Starting stream server on port: '81' ... After starting capturing I tried to get the stream on port 81 in a browser. It waits for data, but can't see anything. I tried Firefox, Chrome, Edge. VLC breaks down immediately.

Did I misunderstand something? Am I able to get the stream only in the web server window?

Thank you.

fenyvesi commented 5 years ago

Anybody?

me-no-dev commented 5 years ago

did you try http://[ip-of-esp]:81/stream ?

fenyvesi commented 5 years ago

Yes. the IP is: 192.168.0.206 Firefox, Chrome, Edge: http://192.168.0.206:81/stream

Result: Waiting for the server, nothing happens.

jardous commented 5 years ago

try to save the stream and analyze it offline

$ curl -o stream.raw http://192.168.0.206:81/stream $ file stream.raw

and try to convert it to other format

caustinbakker commented 5 years ago

I am having the same problem. Sometimes it works and sometimes it doesn't

czosnekltd commented 5 years ago

I am having the same problem

rwagnervm commented 5 years ago

I am having the same problema. Waiting for the server end get only black screen.

Shellfishgene commented 5 years ago

I have the same problem, everything seems to work, the menu is there, but the browser shows the "broken image" symbol instead of picture. However it may be a hardware problem: I ordered two modules, from the same vendor. One works, one does not. It seems to be a camera problem: If I switch the OV2460 camera from one to the other, it starts to work.

xxxajk commented 5 years ago

Same issue in chrome on android, but the plain ASOP browser works. This is most likely a bug in the CSS/javascript/whatever.

sdey76 commented 5 years ago

Hii Able to get still images but same issue..no stream Need help

xxxajk commented 5 years ago

Try a different browser?

sdey76 commented 5 years ago

Hii i updated google chrome and it works! But not great luck on android phone on chrom! Thanx a lot

WhiteFedora commented 5 years ago

Only worked for me if I disconnected from port 80.

abergmann commented 4 years ago

I had the same problem with VLC and ffplay. No connection was working.

I've looked at the MJPG Stream and it turned out that the content and boundary delimiter are not in the right order. I've send a PR to espressif/arduino-esp32. Still waiting for acceptance.

abergmann commented 4 years ago

I also created #120 against espressif/esp32-camera.

arris138 commented 4 years ago

Only worked for me if I disconnected from port 80.

This solved my issue, although that seems to be a bug.

mic191 commented 4 years ago

Same issue for me : no video streaming; everything seems to work, the menu is there, but the browser shows the "broken image" symbol instead of picture. I can just make screenshot of picture, but no video. In local all is ok.

rsimiciuc commented 4 years ago

I noticed that the stream is broken if is more than one connection to it, which means only one client can connect at a time.

sdey76 commented 4 years ago

Hi All, Is there any way to transmit esp32 cam still image over LoRa chip using FSK or any other mode

LoRa SX1278, or SX1268

Thanks Soumitra Dey

From: "Raul"notifications@github.com Sent:Fri, 27 Mar 2020 15:10:13 +0530 To: espressif/esp32-camera esp32-camera@noreply.github.com Cc: "sdey76"sdey76@rediffmail.com,"Comment"comment@noreply.github.com Subject: Re: [espressif/esp32-camera] streaming to browser (#24) I noticed that the stream is broken if is more than one connection to it, which means only one client can connect at a time. —

You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

arkhipenko commented 4 years ago

Guys, I have been working on this issue and was able to successfully stream to VLC and browsers. Also implemented multi-client streaming. Please check these repos: https://github.com/arkhipenko/esp32-cam-mjpeg (single client) https://github.com/arkhipenko/esp32-cam-mjpeg-multiclient (up to 10 clients) https://github.com/arkhipenko/esp32-mjpeg-multiclient-espcam-drivers (up to 10 clients using latest ESP32-cam drivers from espressif).

github-actions[bot] commented 3 years ago

This issue appears to be stale. Please close it if its no longer valid.