feat(tui): show voice activity with green color and speaker icon when users talk
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user