After installing TeamViewer on your computer, open the utility by click program’s icon on the Desktop.
On the toolbar, select Extras --> Options

Select Meeting on the left of the screen and tick Share computer sounds and sharing. Click OK to save the settings.
Thus, with several simple manipulations, you can share the songs that you are listening to on your computer with another computer via the Internet by using TeamViewer while still being able to control that computer from distance.