ESP32 Camera Websockets Video Stream to Remote Server | WEB Livestream AI Thinker CAM

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 เม.ย. 2023
  • The ESP32 camera test example only lets you stream video to your local network.
    Using Websockets, I built code to stream real-time video to a remote machine on the internet / local network.
    To get the ESP32 boards in your Arduino IDEs boards menu, enter this: "raw.githubusercontent.com/esp..." to "Additional Boards Manager URLs" in Preferences.
    The code is available on GitHub:
    github.com/Neumi/esp32_camera...
    Discord: / discord
    LinkedIn: / neumi
    GitHub: github.com/Neumi
    If you want to support my work and projects, please check out my Amazon wish list!
    www.amazon.de/hz/wishlist/ls/...
    #esp32 #esp32cam #aithinker #websockets #stream
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 34

  • @WayneRiesterer
    @WayneRiesterer 3 หลายเดือนก่อน +5

    Well done. It's easy to use a library and example code, but to work out how to do something 'outside of the box' like you have is certainly more challenging. Thanks for sharing!

  • @ImMikeLo
    @ImMikeLo หลายเดือนก่อน

    I love your tutorial. That helps a lot.

  • @bryanorlandohanccocondori279
    @bryanorlandohanccocondori279 25 วันที่ผ่านมา

    Thanks a lot!

  • @emirhanpolat330
    @emirhanpolat330 5 หลายเดือนก่อน

    Very inspiring video thanks

    • @emirhanpolat330
      @emirhanpolat330 5 หลายเดือนก่อน

      How can I make work it without board connection, Can I directly supply it with 5V battery pills ?

  • @username_6948
    @username_6948 11 หลายเดือนก่อน

    cool :)

  • @googlacco
    @googlacco 6 หลายเดือนก่อน

    theres a little resistor that allows you to switch between the pcb trace antenna and the external ipex antenna connector
    if its set to the ipex connector, disconnecting the external antenna means that youre left without an antenna

    • @Neumi
      @Neumi  6 หลายเดือนก่อน

      Good to know! Maybe it was set to external... no wonder it has bad reception :D

    • @googlacco
      @googlacco 6 หลายเดือนก่อน

      @@Neumi probably was if it came with an external antenna

  • @CompanyBusinessCards
    @CompanyBusinessCards 9 หลายเดือนก่อน +1

    I was hoping that you would have shown how it works to a live server, the title of your video in this case should have been how to stream from esp32 to raspberry pi on local network. that's what I've been looking at if I'm not mistaken

    • @Neumi
      @Neumi  9 หลายเดือนก่อน +1

      There is actually no difference in running this code on a live server. The interesting part is the routing and the WS stream as the server receives and then streams it again to another client (like a relais). You can just open the port on your server and go for it. :)

  • @jurilynperez4708
    @jurilynperez4708 ปีที่แล้ว

    Can you make a video with the blynk latest blynk app?

  • @MichaelOsumune
    @MichaelOsumune 2 หลายเดือนก่อน

    Awesome work. Can I stream direct to AWS cloud (KVS or IVS). Can you do a tutorial on that

    • @Neumi
      @Neumi  2 หลายเดือนก่อน

      I usually don't work with AWS but as it is just a websockets stream, I'm sure you can use my code directly on AWS or write some backend.

  • @qd156
    @qd156 4 หลายเดือนก่อน

    Hi bro, i have a question. Can i stream and receive data from computer with websocket at the same time?

    • @Neumi
      @Neumi  4 หลายเดือนก่อน

      Sure.I would not do it on an ESP though (due to limited processing power)

  • @speakup8721
    @speakup8721 11 หลายเดือนก่อน +2

    Great work, subscribed already. can you please make a similar project to work on cloud server. I will keep checking back if i will be lucky to have my request granted. cheers

    • @Neumi
      @Neumi  11 หลายเดือนก่อน +1

      Hey! Thanks!
      The exact same process works on an online server running ie Ubuntu. The only thing you have to do is to open the corresponding port in your firewall. The Raspberry was just an example on the local network but it could be on a different network as well :)

  • @johanjulian8699
    @johanjulian8699 5 หลายเดือนก่อน

    I'm going to try it with a spring boot back, I'll let you know if I can get a live broadcast from anywhere in the world, the problem is having it connected to the internet, is it possible with a phone chip?

    • @johanjulian8699
      @johanjulian8699 5 หลายเดือนก่อน

      ok, I work the live streaming with my back in spring boot, but there is a problem and is that it disconnects and connects more and more often depending on the parameters of quality and size of the image, so I left jpeg_quality in 40 and frame_size in FRAMESIZE_CIF, so it works relatively well, what problem do you think I'm having?

    • @karimkalboussi4703
      @karimkalboussi4703 4 หลายเดือนก่อน

      @@johanjulian8699 hello brother, can you please help me ?

    • @Neumi
      @Neumi  2 หลายเดือนก่อน

      @@johanjulian8699 the ESP boards are quite low power. The RAM and CPU are a hair too weak to handle the amount of data with the larger image sizes and qualities. Try a lower resolution or higher compression. A good wifi connection with an external antenna also helps quite a bit.

  • @user-tk5zr2jc3b
    @user-tk5zr2jc3b 6 หลายเดือนก่อน

    Will this work for two devices on different networks?

    • @Neumi
      @Neumi  6 หลายเดือนก่อน

      Sure. The example was on the same network. But I tested with a remote server and it worked flawlessly. Even with multiple clients on the server (that acts like a relay).

  • @n.w.aicecube5713
    @n.w.aicecube5713 6 หลายเดือนก่อน

    have you tried to stream directly to youtube

    • @Neumi
      @Neumi  6 หลายเดือนก่อน

      No actually not. but that would be a cool project!

  • @challenge1485
    @challenge1485 2 หลายเดือนก่อน

    i want text code

  • @christophersarzen5066
    @christophersarzen5066 หลายเดือนก่อน

    is this possible to do on an open network that has no wifi password

    • @Neumi
      @Neumi  หลายเดือนก่อน

      Sure. Just leave the password sting empty. (If I remember correctly) But you should use password-protected networks if possible.

  • @mohammadumer7663
    @mohammadumer7663 3 หลายเดือนก่อน

    how to send this video stream from esp32 to android studio

    • @Neumi
      @Neumi  3 หลายเดือนก่อน

      What do you mean by sending a stream to Android Studio? Would you like to receive the stream in an Android app? You'll need a relay server to make this useful. You could use the same server as I did and open a web frame from that to see the stream on your Android device. I'm not into app development, but there is probably a standard way to receive an image/video stream on Android.

  • @BertMerdesacker-jf2sh
    @BertMerdesacker-jf2sh 2 หลายเดือนก่อน

    And people say Redrooms dont exist 😂
    Camera -> (Server IP) -> Websocket over TOR (.Onion) -> javascript enabled in Tor Browser -> done.

    • @karimkalboussi4703
      @karimkalboussi4703 2 หลายเดือนก่อน

      ??

    • @BertMerdesacker-jf2sh
      @BertMerdesacker-jf2sh 2 หลายเดือนก่อน

      ​@@karimkalboussi4703
      Redroom = Livestreaming Gore to a Person "paid with Bitcoins" via the Darknet
      Most people say that Redrooms cannot exists because Tor is "slow". But thats not the case for Websockets.