The camera does not work in Microsoft Teams via RDP

mort-vivant 96 Reputation points
2021-06-15T12:49:54.743+00:00

Hello,
I'm using the Teams application through an RDP session and my webcam does not work.
The camera is in the list of devices in the settings, but a black screen is displayed on the preview.
The webcam works in Zoom, the Teams web app, but doesn't work in the Teams app.
On the client-side, my camera is ticked in the Video capture devices options of the RDP connection settings.
On the server-side in GPO Device and Resource Redirection and App Privacy options are enabled for camera and microphone.
Since the camera works in other programs, the problem is most likely in Teams.
This issue persists in both deployment methods with ALLUSER=1 and ALLUSERS=1 parameters.
Does anyone have any idea how to solve this problem?

Thanks.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,131 questions
{count} votes

Accepted answer
  1. mort-vivant 96 Reputation points
    2021-08-04T14:14:56.067+00:00

    I solved this problem by installing the WebRTC Redirector service. Microsoft has official documentation for installing Teams on Azure Virtual desktop. Following the instructions from there, I was able to redirect the webcam image to Teams on the Session Host. Here's what needs to be done to make the camera work in Teams:

    1. To redirect local devices from the desktop client to a remote session, make sure your RDP properties are set to the following:
      audiocapturemode:i:1
      audiomode:i:0
      camerastoredirect:s:*
    2. To tell Teams, that it will be used in Session Host, set the following registry key:
      2.1. Run Registry Editor and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ **
      2.2. Create the **Teams
      key if it doesn't already exist.
      2.3. Create the IsWVDEnvironment DWORD value for the Teams key and set it to 1
    3. Install the Remote Desktop WebRTC Redirector Service.

    By default, after installation, the service will be automatically enabled and started. After installing the service, you need to quit Teams and open the application again (in some cases it needs to be done twice).

    To make sure the installation was successful, you can start the Teams application, and click the ellipsis which is to the left of your user profile icon in the navigation bar, and then select About → Version. Then you will see that WVD Media Not Connected or WVD Media Optimized appears next to the Teams version, this means that the installation was successful. In my case, it was WVD Media Not Connected, but the camera started working on the Windows virtual desktop.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.