I am trying to record gameplay and audio from games I play with my friends. I am using discord to talk with them but when I try to record with game bar it only picks up my voice and not my friends. what can I do so that when I record I can hear my friends as well as myself?
I was having the same issue. It's a simple setting problem. I will tell you what I did to fix it.
Press Windows Key+G (this will open gamebar) > click on the small settings icon located on the top right of the gamebar window>scroll down to to bottom and select ALL instead of GAME ONLY option.
And now play your game and talk in discord with your friends and it will record.
Hope this helped you. Do let me know if it did.