microsoft / microsoft/Windows-Camera

Problem adding new camera using VirtualCamera_installer.exe

Open
#68 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
261
Forks
81
PR merge metrics
No merged PRs in 30d

Description

I followed the instructions and was able to build everything in the solution using the Release | x64 Target. I did upgrade the projects to use 2022 c++ runtime and the 10.0.22621.0 SDK. VirtualCamera_MSI_x64 installed without any errors and I'm running C:\Program Files\Contoso\VirtualCamera_MSI\VirtualCamera_Installer.exe from an elevated command prompt. I'm selecting (1)register -> (1)Vcam-SimpleMediaSource -> (2)Session -> (1) Current User. I get the following output

Register virtual camera...
 device string: {7B89B92E-FE71-42D0-8A41-E137D06EA184}
 friendly name: SWVCamMediaSource
 Lifetime: 0
 Access: 0
 Succeeded (00000184461CBE00)!
 (null)(0):(null), hr=0x80073D57, msg=
 (null)(0):(null), hr=0x80073D57, msg=
 not running in app package
 Start camera
 Succeeded!

The 2 (null) lines and not running in app package are printing in yellow. Even though it claims things succeeded no new camera is being created - I've checked the following places

  • Device manger / Imaging Devices
  • Camera App
  • remove, TestVCam and TestCustomControl all print No Virtual camera found

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce with VirtualCamera_Installer.exe from an elevated command prompt using the reported registration path and options. Check the installer output and the Device Manager, Camera App, TestVCam, and TestCustomControl results. Done means registering Vcam-SimpleMediaSource creates a camera that is visible and detected by those checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.