MacOS Microsoft Teams and Media Keys

Issue

MacOS Media Keys such as ‘Play’ or ‘Pause’ causes Microsoft Teams to play the Microsoft Teams ‘Call.mp3’ sound if it was last used (E.g. recent teams call)

Cause

Microsoft Teams for MacOS and Windows has the ability to use Media Keys to play files, songs etc. The ‘play’ button will play the Microsoft Team media calling sound file.

This behaviour is unwanted and annoying when you’re listening to music, or use the Media keys often.

Steps to fix

For MacOS Users with Teams (Microsoft Teams Version 1.5.00.2570)
This fix will load the Microsoft Teams app and no longer associate the Media Keys with Teams Calls

  1. Open ‘Terminal.app

  2. Input the following command into Terminal (It will create a new .json file called hooks.json)

    • touch ~/Library/Application\ Support/Microsoft/Teams/hooks.json echo "--disable-features=HardwareMediaKeyHandling" >> ~/Library/Application\ Support/Microsoft/Teams/hooks.json
  3. Close ‘Microsoft Teams.app’ then re-open Teams