The talkiepi project is for a truly headless mumble client for the Raspberry Pi, utilizing static config and GPIO for status LEDs and a button for push to talk
How would you implement a function call triggered when a client in the same channel starts to speak?
There is:
type AudioListener
type AudioListener interface {
OnAudioStream(e *AudioStreamEvent)
}
AudioListener is the interface that must be implemented by types wishing to receive incoming audio data from the server.
OnAudioStream is called when an audio stream for a user starts. It is the implementer's responsibility to continuously process AudioStreamEvent.C until it is closed.
... In the gumble docs but I can't seem to get it to work...
How would you implement a function call triggered when a client in the same channel starts to speak?
There is:
type AudioListener type AudioListener interface { OnAudioStream(e *AudioStreamEvent) } AudioListener is the interface that must be implemented by types wishing to receive incoming audio data from the server. OnAudioStream is called when an audio stream for a user starts. It is the implementer's responsibility to continuously process AudioStreamEvent.C until it is closed.
... In the gumble docs but I can't seem to get it to work...
Any help would be appreciated. Thank you