Snake-Sanders
How to pull multiple ESP32 CAM video streams to a web dashboard on Phoenix
Hi,
I would like if somebody could tell me a starting point or a draft architecture design for what I want to achieve. (Links, documentation, examples, all help). I found already some resources but some are old (2017/18) and others might not be exactly what I need.
Here is description:
I have a raspberry pi 3 B, running Nerves and Phoenix (live).
At the moment I managed to generate a page with some buttons where I can control Sonoff wireless switches via REST API.
Now I would like Phoenix to connect to one, or more, ESP32 CAM which streams a video on its own webserver. I can watch ESP32 CAM video stream on a web browser, therefore I assume I could take that and other streams with a background process and forward them to a Phoenix web Dashboard.
Would it be possible to use LiveView for this, or it does not make sense?
Are there any uptodate library I could start reading about?
What would be the streaming pipeline for this case?
Thank you so much in advance
Most Liked
tejpochiraju
I will share it here shortly, my teammate has to extract the code from one of our products into a library. We are aiming to follow the same spec as the JS client - although we won’t have all the features to start with. We currently have phx_join, new_msg, phx_reply and disconnect handlers.
EDIT -
Started documenting the specification here - Client for Phoenix Channels · Issue #13 · IoTReady/esp32_firmware_base · GitHub
Feel free to add or comment.
tejpochiraju
@Snake-Sanders - we have a very early release of the ESP32 client. Please note that response and error handling is still WIP.
Snake-Sanders
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









