Ambient and Unit sounds stop when screen sharing on Discord

Title mainly explains it, If i start screen sharing on discord during a game the unit sounds and ambient sounds completely stop (and never return,) but if I start streaming while on the main menu, they continue as fine when I get into a game.