Skip to content
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

Video stream? #38

Open
jimlynnjulian opened this issue May 15, 2022 · 2 comments
Open

Video stream? #38

jimlynnjulian opened this issue May 15, 2022 · 2 comments

Comments

@jimlynnjulian
Copy link

Is there a way to include a video stream on a page? I'd like to have dynamic distance sensor data and a small video window, perhaps from an ESP32 camera, displayed on the same page for use in my automobile.
Thanks.

@tfry-git
Copy link
Owner

There is no support for this in EmbAJAX. Also, I don't have an ESP32 camera to play with, so all of the following is guesswork. However, I believe this will probably be out of scope, as it is pushing the limits of what the MCU can handle in terms of both processing power and bandwidth.

What should definitely be possible, however is to combine one ESP32 dedicated to the video streaming (example of that easily found on the net) with another ESP dedicated to the controls. Note that an EmbAJAX page may include custom elements, in your case probably something like:

new EmbAJAXStatic("<video width=\"320\" height=\"240\"><source src=\"http://other.esp/videouri\"></video>");

Hope that helps some.

@jimlynnjulian
Copy link
Author

jimlynnjulian commented May 15, 2022

There is no support for this in EmbAJAX. Also, I don't have an ESP32 camera to play with, so all of the following is guesswork. However, I believe this will probably be out of scope, as it is pushing the limits of what the MCU can handle in terms of both processing power and bandwidth.

What should definitely be possible, however is to combine one ESP32 dedicated to the video streaming (example of that easily found on the net) with another ESP dedicated to the controls. Note that an EmbAJAX page may include custom elements, in your case probably something like:

new EmbAJAXStatic("<video width=\"320\" height=\"240\"><source src=\"http://other.esp/videouri\"></video>");

Hope that helps some.

Thanks for the idea. Previously I had used two iPhones and an app that could send streams through a web page on an ESP8266, with the ESP8266 set up in AP mode, of course. One phone sent video, the other received video.
My thinking was to use an ESP32 as a remote camera on the rear of the auto, and an ESP8266 as a passthrough to an iPad mini on the dashboard.

Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants