ESP32-S3 USB Camera & Audio WebSocket Test: UVC + UAC Data Streaming Demo (ft. WebSocket)

Поделиться
HTML-код
  • Опубликовано: 19 сен 2024
  • In this project, I showcase how to connect a USB camera and microphone to the ESP32-S3, capturing both image and audio data using UVC (USB Video Class) and UAC (USB Audio Class). The ESP32-S3 streams raw image and audio data over a WebSocket connection, demonstrating a simple server for testing purposes.
    *Important:* This WebSocket server is designed to help test raw data streaming but is not intended for real-time multimedia transmission. For actual simultaneous streaming of video and audio, a protocol like RTSP (Real-Time Streaming Protocol) is recommended.
    In this demo:
    - We connect a USB camera to ESP32-S3.
    - Capture image and audio data via UVC and UAC.
    - Stream raw data using a WebSocket server.
    - Display the incoming audio and video packets in real-time on a client.
    This test setup is useful for developers working on USB peripheral integration with ESP32 but requires further implementation for practical multimedia streaming.
    [Espressif IoT Solution - USB Stream]
    github.com/esp...
    [UVC+UAC+WebSocket]
    github.com/001...
    [USB Descriptor Dumper]
    www.thesycon.d...
    [Logitech C270 HD Webcam]
    amzn.to/3XtP4xp
    [ESP32-S3-DevKitC-1-N8R8 Development Board]
    amzn.to/4er8EkS
    #ESP32 #USB #Camera

Комментарии • 14

  • @achalasamapriya2701
    @achalasamapriya2701 День назад +3

    Awesome next level work. Thank you for sharing the knowledge ❤

  • @TrasteIAm
    @TrasteIAm День назад +3

    I need to try this.

  • @UnexpectedMaker
    @UnexpectedMaker День назад

    Very cool project - Have you tried a higher resolution UVC camera to see the maximum resolution/fps you can achieve?

  • @zhdanvadim9536
    @zhdanvadim9536 День назад +1

    Awesome! Thank you!

  • @SalvatoreRaccardi
    @SalvatoreRaccardi День назад +2

    Very interesting video! Have you tried implementing it on the ESP32-P4?

    • @ThatProject
      @ThatProject  День назад +2

      @@SalvatoreRaccardi P4 is a monster. It’s gonna be crazy. 😃

  • @slartybardfast1972
    @slartybardfast1972 День назад +1

    Once again, awesome work.
    I notice you say next time you will try with a USB-C breakout. The can you not get the onboard USB-C OTG connector to run the camera?

    • @ThatProject
      @ThatProject  День назад +1

      @@slartybardfast1972 You are right. It works with OTG port. I have devices that don't have this port, so I always connected via GPIO 19/20.

  • @xamashee
    @xamashee День назад +3

    Although the processor wasn't design for such applications rather just another Arduino like board for basic stuff with comms, it's fascinating how capable it has turned out to be 🎉

    • @UnexpectedMaker
      @UnexpectedMaker День назад +1

      The S3 was 100% designed for projects like this other high-end "non-Arduino makery stuff" - The maker/tinkerer/dev board community makes up a tiny proportion of the customer base for the Espressif chips.

  • @YigalBZ
    @YigalBZ День назад

    Nice project. Did you try custom image recognition with it?

  • @brunobilame2528
    @brunobilame2528 День назад +1

    Thanks, interesting. I've an old cam unable to work due to unupdated drivers. it may work this way.

    • @ThatProject
      @ThatProject  День назад

      @@brunobilame2528 That's great. Before you start, check the USB Descriptors to see what formats are supported.

  • @vananvo6885
    @vananvo6885 День назад

    What is the highest supported image resolution?