Wouter01 / MediaMate-Releases

82 stars 0 forks source link

Microsoft teams bug #34

Closed JcerveraGomez closed 6 months ago

JcerveraGomez commented 7 months ago

Describe the bug When you are in a microsoft call and you are talking the audio hud opens and closes several times when voice is detected

To Reproduce You should reproduce this just making a call in teams and talking, just that

Screenshots image

Please complete the following information:

Additional context I dont know if i should acticvate some settings but it doesnt should work like that when you are in call

Wouter01 commented 7 months ago

Thank you for the bug report. Are you required to use the microsoft teams audio driver, which gets installed during installation? If not, removing that may fix it.

JcerveraGomez commented 7 months ago

Hello! thanks you for answer me, yeah i've removed msDriver and still opens the volume dialog when i start talking, should i reinstall MediaMate?

thanks you!!!!!

Wouter01 commented 7 months ago

MediaMate does not need to be reinstalled. It might be required to restart your system though. (I'm also not 100% sure this would fix it)

JcerveraGomez commented 7 months ago

Yeah i've restarted already and nothing, it keeps showing and hiding depending if im talking or not. Dont worry its not dead or live bug. Just to keep it in mind that exists

Thanks you

x-magic commented 7 months ago

I noticed the same behaviour in both MS Teams. Also when I use the mute key on my Logitech keyboard with Logi Options+, just not as frequent as MS Teams.

Feels like MS Teams is somehow detecting whether the user is speaking or not and toggling mics on and off.

See a short video of the issue. Weird mic mute is also interpreted a volume-related event by either macOS or MM. https://github.com/Wouter01/MediaMate-Releases/assets/3180639/062fc983-741e-443f-9773-6ac98422b1c3

Wouter01 commented 7 months ago

Thank you for the video. What do you have the event controller mode set to? (mediamate settings -> general -> event controller mode)

x-magic commented 7 months ago

Thank you for the video. What do you have the event controller mode set to? (mediamate settings -> general -> event controller mode)

I’m using BetterDisplay.

Wouter01 commented 7 months ago

Thank you for the information. When using the BetterDisplay mode, MediaMate will receive information from BetterDisplay for audio devices that cannot be natively controlled by the system. For audio devices that can be natively controlled by the system, MediaMate needs to listen to system events to know when volume has changed. If Teams will often change this, MediaMate will get this change too. Teams is mostly to blame here.

If you are only using BetterDisplay to control the brightness of external displays, and not audio, you could do the following: In MediaMate settings, go to general -> event controller mode. Disable the "sync" toggle, and set the "BetterDisplay" mode for brightness, and "Keyboard" for audio. In BetterDisplay settings, disable capturing of the volume keys on the keyboard.

x-magic commented 6 months ago

@Wouter01 Control volume through DDC is such a QoL improvement I can't think of a reason to disable unfortuntely.

After all mic level change leads to volume control is a bit weird. I wonder if the events being passthrough isn't labelled for the device that is to be controlled?

I'll submit a ticket to BD and see if they can do something about this. Weird that when I tried to change the event controller mode back to keyboard, and quit BD, switching microphone mute state will still trigger the volume HUD/notch. Wonder if MM can filter out microphone-related events altogether, as it doesn't really control microphone as a part of its feature set.

Video PoC: https://github.com/Wouter01/MediaMate-Releases/assets/3180639/585593bc-d690-4dbb-9776-168ecf47a971

Wouter01 commented 6 months ago

A new update has been released which should fix the issue. Could you check and, if fixed, close the issue?

x-magic commented 6 months ago

A new update has been released which should fix the issue. Could you check and, if fixed, close the issue?

I'm on v3.2.0 now and can confirm change of microphone state will not trigger volume HUDs anymore. Thank you!