Teams via VDI

piiiiip

New Member
I am running Teams in an Azure VDI, and then using OBS to capture the video and stream it to a well known social media platform.
This works well - it's capturing and rebroadcasting. I want to automate this, using a Teams tab to launch the VDI and stream the Teams video unattended.
The issue is that when I close the RDP window, Teams stops displaying the Teams meeting in the VDI.

I can see that OBS is still running as it continues to stream to the social media page.

Any thoughts on how to keep Teams display live? (or indeed a better cloud based solution).
 

koala

Active Member
Probably no solution. If you use rdp, there is a virtual rdp GPU "installed" in your Windows rdp session. The moment you disconnect, this virtual GPU is removed by Windows, so it's for OBS as if you rip the GPU OBS is running on out of your machine.
Since OBS is using the GPU for compositing, there is nothing to composite on any more, so it's all black.

To circumvent this, you need a machine with a permanent (physical) GPU and not connect via rdp, so the physical GPU is not replaced by the rdp GPU during an rdp session. You need to connect to the machine via vnc or Teamviewer, these keep the original GPU of the system.
 

piiiiip

New Member
Probably no solution. If you use rdp, there is a virtual rdp GPU "installed" in your Windows rdp session. The moment you disconnect, this virtual GPU is removed by Windows, so it's for OBS as if you rip the GPU OBS is running on out of your machine.
Since OBS is using the GPU for compositing, there is nothing to composite on any more, so it's all black.

To circumvent this, you need a machine with a permanent (physical) GPU and not connect via rdp, so the physical GPU is not replaced by the rdp GPU during an rdp session. You need to connect to the machine via vnc or Teamviewer, these keep the original GPU of the system.
Thanks for your reply, was hoping to not use a physical PC, but may be the only way around it.
 
Top