video_call

Example of the component jays0223/test-iot v0.1.0
# IoT SDK — Video Call Example

Joins a VideoSDK meeting and streams **video only**: it publishes the on-board
camera as hardware JPEG and (on Korvo-2) renders remote video on the LCD. The
session is initialized with `videoCodec = VIDEO_CODEC_JPEG`.

| Board | Publish video (camera) | Subscribe video (LCD) |
|-------|:---:|:---:|
| ESP32-S3-Korvo-2 v3.0 | ✅ | ✅ |
| XIAO ESP32-S3 (Sense) | ✅ | ❌ (`DEVICE_NOT_SUPPORTED`) |

## Create the project

```bash
idf.py create-project-from-example "videosdk/iot-sdk=0.2.3:video_call"
```

(This example pulls the published component pinned in `main/idf_component.yml`:
`videosdk/iot-sdk: "^0.2.3"`.)

## Configure

```bash
idf.py set-target esp32s3
idf.py menuconfig
```

- **SET Microcontroller → Audio hardware board** — `ESP32-S3-Korvo-2` or `ESP32-S3-XIAO`.
- **VideoSDK Configuration** — set **Auth token (JWT)** (`CONFIG_VIDEOSDK_TOKEN`) and
  **Meeting / room ID** (`CONFIG_VIDEOSDK_MEETING_ID`).
- **Example Connection Configuration** — Wi-Fi SSID and password.

> The token and meeting ID are read from menuconfig (stored in `sdkconfig`) —
> never hardcode a real token in source or commit it.

## Build & flash

```bash
idf.py build
idf.py -p <PORT> flash monitor
```

See the [component README](../../README.md) for the full API reference.

To create a project from this example, run:

idf.py create-project-from-example "jays0223/test-iot=0.1.0:video_call"

or download archive (~6.23 KB)