-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update tokovoip.cpp #198
base: master
Are you sure you want to change the base?
Update tokovoip.cpp #198
Conversation
deactivated client mute to fix problems with voice activation
Thanks for the contribution, and sorry for the delay. |
I'm not 100% of what I wrote since, unfortunately, I don't know C++. // Activate input if talking on radio
if (radioTalking)
{
setClientTalking(true);
if (!isTalking && radioClicks == true && local_click_on == true)
playWavFile("mic_click_on");
isTalking = true;
}
else
{
if (isTalking)
{
if (radioClicks == true && local_click_off == true)
{
playWavFile("mic_click_off");
}
isTalking = false;
uint64 serverId = ts3Functions.getCurrentServerConnectionHandlerID();
int talkStatus = 1;
int isWhispering = 0;
if(TSHelpers.GetTalkStatus(serverId, getMyId(serverId), &talkStatus, &isWhispering) != 1)
{
setClientTalking(false);
}
}
} does it make sense? |
Why not use the old system? When someone is close he is not muted. This was working perfectly fine... Now its laggy and buggy. |
Hi! After change the code in cpp, how to repack the master file in a ts3 plugin for test? thanks |
How about adding delay for the setClientTalking instead of just removing it? That should fix voice cut problems |
Fixes Itokoyamato#175, Fixes Itokoyamato#133. Also Closes Itokoyamato#198, related fix.
deactivated client mute to fix problems with voice activation