Skip to content

Commit f2d2da4

Browse files
updated the readme
1 parent 2ef05f0 commit f2d2da4

1 file changed

Lines changed: 34 additions & 1 deletion

File tree

examples/README.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export LIVEKIT_API_SECRET=secret
3737
| [video-stream/](video-stream/) | Video/audio sync with AVSynchronizer |
3838
| [data_tracks/](data_tracks/) | Data channel examples |
3939
| [data-streams/](data-streams/) | Data streaming examples |
40-
| [local_audio/](local_audio/) | Local audio capture examples |
40+
| [local_audio/](local_audio/) | Local audio capture with dB metering |
4141

4242
---
4343

@@ -158,6 +158,39 @@ Use cases: background music while speaking, sound effects, mixing pre-recorded a
158158

159159
---
160160

161+
## local_audio/
162+
163+
Examples for local audio capture with microphone and speaker management.
164+
165+
### full_duplex.py
166+
167+
Full-duplex audio with microphone capture and speaker playout.
168+
169+
```bash
170+
cd local_audio
171+
python full_duplex.py
172+
```
173+
174+
Features:
175+
- Microphone capture via MediaDevices
176+
- Speaker playout for received audio
177+
- Real-time dB level metering
178+
179+
### publish_mic.py
180+
181+
Publish microphone audio with dB level monitoring.
182+
183+
```bash
184+
cd local_audio
185+
python publish_mic.py
186+
```
187+
188+
Features:
189+
- Microphone capture with AEC enabled
190+
- Real-time dB level visualization
191+
192+
---
193+
161194
## room_example.py
162195

163196
Basic room connection demonstrating event handling and participant tracking.

0 commit comments

Comments
 (0)