I believe the issue is with the existing xbox game bar inbound rule.. The game bar (when turned on) is a xbox app game dvr feature that makes it simple to take control of your gaming.
Windows users should turn off the xbox game bar in their game mode settings.. Make sure you have windows fully updated.