feat(tui): show voice activity with green color and speaker icon when users talk

This commit is contained in:
Jose Luis Montañes Ojados
2026-01-16 19:50:44 +01:00
parent 13f444193d
commit c55ace0c00
4 changed files with 129 additions and 14 deletions

View File

@@ -20,7 +20,8 @@ const (
EventChannelList EventType = "channel_list"
// Audio events
EventAudio EventType = "audio"
EventAudio EventType = "audio"
EventTalkingStatus EventType = "talking_status"
// Error events
EventError EventType = "error"
@@ -112,3 +113,9 @@ type ErrorEvent struct {
ID string
Message string
}
// TalkingStatusEvent is emitted when a client starts or stops talking
type TalkingStatusEvent struct {
ClientID uint16
Talking bool
}