Johni0702/mumble-client

support direct whisper audio to channel or user

minghan9456 opened this issue · 3 comments

Hi
How can I make mumble-client support directing whisper audio.

I already check mumble.proto VoiceTarget
But I have no idea how to use it on client.connectVoiceStream

Can you give some tips?
I can work on it.

Don't think there's currently a method to send VoiceTarget messages.
Once you have sent one, you can send sound to it by passing its id as the target to

createVoiceStream (target = 0, numberOfChannels = 1) {

It works.
Thanks so much!!

Do you need this function?
I can create a pull request about add new function setVoiceTarget in client.js for whisper audio to channel or user.