Skip to content

streaming to browser #24

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

Closed
fenyvesi opened this issue Mar 8, 2019 · 21 comments
Closed

streaming to browser #24

fenyvesi opened this issue Mar 8, 2019 · 21 comments

Comments

@fenyvesi
Copy link

fenyvesi commented Mar 8, 2019

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
Copy link
Author

Anybody?

@me-no-dev
Copy link
Member

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

@fenyvesi
Copy link
Author

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
Copy link

jardous commented Mar 19, 2019

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
Copy link

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

@czosnekltd
Copy link

I am having the same problem

@rwagnervm
Copy link

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

@Shellfishgene
Copy link

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
Copy link

xxxajk commented May 26, 2019

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

@sdey76
Copy link

sdey76 commented Jun 12, 2019

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

@xxxajk
Copy link

xxxajk commented Jun 12, 2019

Try a different browser?

@sdey76
Copy link

sdey76 commented Jun 12, 2019

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

@WhiteFedora
Copy link

Only worked for me if I disconnected from port 80.

@abergmann
Copy link
Contributor

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
Copy link
Contributor

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

@arris138
Copy link

arris138 commented Feb 27, 2020

Only worked for me if I disconnected from port 80.

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

@mic191
Copy link

mic191 commented Mar 5, 2020

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
Copy link

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
Copy link

sdey76 commented Mar 30, 2020 via email

@arkhipenko
Copy link

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
Copy link

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

JojoS62 pushed a commit to JojoS62/esp32-camera that referenced this issue Jun 8, 2023
JojoS62 pushed a commit to JojoS62/esp32-camera that referenced this issue Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests