Commit e976fb8
committed
STTv2 (Scribe v2 Realtime) support
- Add STTv2 class with full Scribe v2 Realtime API support
- Support word-level timestamps (include_timestamps parameter)
- Support both VAD and manual commit strategies
- Emit INTERIM_TRANSCRIPT events for real-time UI feedback
- Handle committed_transcript_with_timestamps events
- Add update_options() method for dynamic reconfiguration
- Comprehensive error handling and logging
- Full docstrings with examples1 parent 7ef97cf commit e976fb8
File tree
3 files changed
+771
-1
lines changed- livekit-plugins/livekit-plugins-elevenlabs/livekit/plugins/elevenlabs
3 files changed
+771
-1
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
| 35 | + | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
| |||
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
0 commit comments