You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**AI Agents**: interact with agents in the cloud built with [LiveKit Agents](https://docs.livekit.io/agents/)
29
29
-**Real-time data**: data packets, remote method calls (RPC)
30
30
@@ -38,6 +38,7 @@ One of the best ways to get started with LiveKit is by reviewing the [examples](
38
38
39
39
-[**Voice AI Agent**](./components/livekit/examples/voice_agent/README.md): Conversational AI voice agent that interacts with hardware based on user requests.
40
40
-[**Minimal**](./components/livekit/examples/minimal/README.md): Basic example of connecting to a LiveKit room with bidirectional audio.
41
+
-[**Minimal Video**](./components/livekit/examples/minimal_video/README.md): Equivalent to the minimal example with video publishing.
41
42
42
43
Once you have chosen an example to be your starting point, create a fresh project from it locally using the following command:
Basic example of connecting to a LiveKit room with bidirectional audio and video publishing.
4
+
5
+
## Configuration
6
+
7
+
> [!TIP]
8
+
> Options can either be set through *menuconfig* or added to *sdkconfig* as shown below.
9
+
10
+
### Credentials
11
+
12
+
**Option A**: Use a LiveKit Sandbox to get up and running quickly. Setup a LiveKit Sandbox from your [Cloud Project](https://cloud.livekit.io/projects/p_/sandbox), and use its ID in your configuration:
13
+
14
+
```ini
15
+
CONFIG_LK_EXAMPLE_USE_SANDBOX=y
16
+
CONFIG_LK_EXAMPLE_SANDBOX_ID="my-project-xxxxxx"
17
+
```
18
+
19
+
**Option B**: Specify a server URL and pregenerated token:
This example uses the Espressif [*codec_board*](https://components.espressif.com/components/tempotian/codec_board/) component to access board-specific peripherals for media capture and rendering. Supported boards are [defined here](https://github.com/espressif/esp-webrtc-solution/blob/65d13427dd83c37264b6cff966d60af0f84f649c/components/codec_board/board_cfg.txt). Locate the name of your board, and set it as follows:
Navigate to this directory in your terminal. Run the following command to build your application, flash it to your board, and monitor serial output:
48
+
49
+
```sh
50
+
idf.py flash monitor
51
+
```
52
+
53
+
Once running, the example will establish a network connection, connect to a LiveKit room, and print the following message:
54
+
55
+
```txt
56
+
I (19508) livekit_example: Room state: Connected
57
+
```
58
+
59
+
## Next Steps
60
+
61
+
With a room connection established, you can connect another client (another ESP32, [LiveKit Meet](https://meet.livekit.io), etc.) or dispatch an [agent](https://docs.livekit.io/agents/) to talk with.
0 commit comments