SOLVED

Media Keys and Teams notifications

%3CLINGO-SUB%20id%3D%22lingo-sub-1949714%22%20slang%3D%22en-US%22%3EMedia%20Keys%20and%20Teams%20notifications%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1949714%22%20slang%3D%22en-US%22%3E%3CP%3EIf%20I%20use%20keyboard%20media%20keys%20to%20pause%20music%20when%20I%20receive%20a%20call%20in%20teams%2C%20the%20notification%20sound%20doesn't%20seem%20to%20get%20dismissed%20when%20I%20answer%20the%20call.%20So%2C%20when%20I%20later%20press%20play%2C%20it%20also%20resumes%20playing%20the%20teams%20call%20sound%20over%20my%20music.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20does%20seem%20to%20go%20away%20on%20it's%20own%20eventually%2C%20but%20it's%20kind%20of%20annoying%20when%20I%20want%20to%20listen%20to%20music!%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22graemec5_0-1606932042920.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F237379iE958DB66AADC8D97%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22graemec5_0-1606932042920.png%22%20alt%3D%22graemec5_0-1606932042920.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1949714%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBugs%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ENotification%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2018263%22%20slang%3D%22en-US%22%3ERe%3A%20Media%20Keys%20and%20Teams%20notifications%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2018263%22%20slang%3D%22en-US%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F888837%22%20target%3D%22_blank%22%3E%40graemec5%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EKnown%20issue%2C%20as%20raised%20here%20on%20uservoice%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fmicrosoftteams.uservoice.com%2Fforums%2F555103-public%2Fsuggestions%2F39956326-media-keys-affecting-teams-web-app%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmicrosoftteams.uservoice.com%2Fforums%2F555103-public%2Fsuggestions%2F39956326-media-keys-affecting-teams-web-app%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20you%20go%20to%20that%20uservoice%2C%20a%20few%20comments%20down%20you%20should%20see%20a%20solution%20to%20this%3A%20go%20to%20avatar%20%26gt%3B%20settings%20%26gt%3B%20permissions%20%26gt%3B%20turn%20off%20midi%20device.%20People%20have%20reported%20that%20it%20has%20solved%20it%20for%20them%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20this%20resolves%20and%20answers%20your%20question%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2101916%22%20slang%3D%22en-US%22%3ERe%3A%20Media%20Keys%20and%20Teams%20notifications%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2101916%22%20slang%3D%22en-US%22%3ESadly%2C%20it%20does%20not%20work...%20%3A(%3C%2Fimg%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

If I use keyboard media keys to pause music when I receive a call in teams, the notification sound doesn't seem to get dismissed when I answer the call. So, when I later press play, it also resumes playing the teams call sound over my music. 

 

It does seem to go away on it's own eventually, but it's kind of annoying when I want to listen to music!

graemec5_0-1606932042920.png

 

6 Replies
best response confirmed by ThereseSolimeno (Microsoft)
Solution
Hi @graemec5

Known issue, as raised here on uservoice

https://microsoftteams.uservoice.com/forums/555103-public/suggestions/39956326-media-keys-affecting-...

If you go to that uservoice, a few comments down you should see a solution to this: go to avatar > settings > permissions > turn off midi device. People have reported that it has solved it for them

Hope this resolves and answers your question

Best, Chris
Sadly, it does not work... :(

@graemec5Like you, I suffered from this. For me, this has fixed the issue:

try starting Teams with -disable-features=HardwareMediaKeyHandling

eg. C:\Users\Username\AppData\Local\Microsoft\Teams\current\Teams.exe -disable-features=HardwareMediaKeyHandling

If you have e.g. a start menu shortcut (or other shortcut for teams), you can edit it and add it as a (commandline) argument so you wont have to remember it. The solution mentions Windows, but for me it also works on Linux, which is really nice!

 

Taken from here: https://answers.microsoft.com/en-us/msteams/forum/msteams_tfb-msteams_persett-msteams_subnotif/teams...

@graemec5 as a workaround, update the teams autostart post in the registry.


It's located in the following path

Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

Key is named "com.squirrel.Teams.Teams"


If you modify the --process-start-args to contain the "-disable-features=HardwareMediaKey" value, then it should be set when launched on startup.


On my computer, the full value is

C:\Users\My Name\AppData\Local\Microsoft\Teams\Update.exe --processStart "Teams.exe" --process-start-args "-disable-features=HardwareMediaKeyHandling --system-initiated"

 

 

@dhvik thank you very much!

Your suggestion didn't work for me perfectly as my registry entry got overwritten with every restart of windows but this is my modified solution now:

1) Go to settings and switch off "Auto-start application"

2) Go to C:\Users\USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs and search for "Microsoft Teams" / Right click on the short cut / Copy

3) Press WIN+R / type in shell:startup

4) Right click in the autostart folder / Paste (now the shortcut should have been added to your autostart folder)

5) Right click on the short cut / properties / short cut and copy/paste the following to target:

 

C:\Users\My Name\AppData\Local\Microsoft\Teams\Update.exe --processStart "Teams.exe" --process-start-args "-disable-features=HardwareMediaKeyHandling --system-initiated"​​

 

6) Apply changes

7) Restart your computer

 

This works fine for me now. Hope it helps you, too :smile:.

@AndreDIAL I noticed the same. Seems that Teams updates the autostart registration each time it starts (and overwrites any changes).
I also switched off the autostart setting (in Teams configuration). This removed the registry autostart key.
Then you are free to manually launch teams any way you would like to. 
(I added a new key to the same registry folder and named it Teams instead, but a shortcut in the autostart folder as you mentioned, works just as fine)

www.000webhost.com