[![Component Registry](](

## USB Stream Component

`usb_stream` is an USB `UVC` + `UAC` host driver for ESP32-S2/ESP32-S3, which supports read/write/control multimedia streaming from usb device. For example, at most one UVC + one Microphone + one Speaker streaming can be supported at the same time.


1. Support video stream through UVC Stream interface, support both isochronous and bulk mode
2. Support microphone stream and speaker stream through the UAC Stream interface
3. Support volume, mute and other features control through the UAC Control interface
4. Support stream separately suspend and resume

### USB Stream User Guide

Please refer:

### Add component to your project

Please use the component manager command `add-dependency` to add the `usb_stream` to your project's dependency, during the `CMake` step the component will be downloaded automatically

``` add-dependency "espressif/usb_stream=*"

### Examples

Please use the component manager command `create-project-from-example` to create the project from example template

* USB Camera WIFI picture transfer
``` create-project-from-example "espressif/usb_stream=*:usb_camera_mic_spk"

* USB Camera local display
``` create-project-from-example "espressif/usb_stream=*:usb_camera_lcd_display"

Then the example will be downloaded in current folder, you can check into it for build and flash.

> Or you can download examples from esp-iot-solution repository: [USB Camera + Audio stream](, [USB Camera LCD Display](

### Q&A

Q1. I encountered the following problems when using the package manager

Executing action: create-project-from-example
CMakeLists.txt not found in project directory /home/username

A1. This is because an older version package manager was used, please run `pip install -U idf-component-manager` in ESP-IDF environment to update.


License: Apache-2.0

To add this component to your project, run: add-dependency "espressif/usb_stream^1.4.0"

or download archive


  • Archive size
    Archive size: 6.73 MB
  • Downloaded in total
    Downloaded in total 7.9k times
  • Downloaded this version
    This version: 329 times


espressif/usb_stream version: 1.4.0