Azure / Azure/Communication

The ACS .NET SDK shows less video devices than the ACS JS SDK

Open
#420 3 comments 0 reactions 0 assignees View on GitHub
Needs: triage :mag:
Dominant language
No language data
Stars
340
Forks
113
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
The ACS .NET SDK returns only a subset of local video devices. I have two physical video devices in my laptop:
Microsoft Front Camera
Microsoft Back Camera

I also have several virtual camera devices, two of them:
OBS Virtual Camera (provided by OBS Studio)
PowerToys VideoConference Mute (provided by PowerToys)

I retrieve the cameras collection using the ACS .NET SDK:
`var callClient = new CallClient();`
`var deviceManager = await callClient.GetDeviceManager();`
`var cameras = deviceManager.Cameras;`

The cameras object only returns the 2 actual webcams (Microsoft Front/Back Camera).

The MS Teams (windows desktop) Client running on the same machine does show al the different cameras:
image

Running the [Group Calling Sample project](https://github.com/Azure-Samples/communication-services-web-calling-hero/) that uses the ACS JS SDK also returns all the camera's:

image

Note that we tested this on different machines and all return the same results; the ACS .NET SDK only returns a subset of video devices. Both MS Teams and applications built on the ACS JS SDK show all devices.

**Describe the solution you'd like**
The ACS SDK returns all available video devices, like the MS Teams client and the ACS JS SDK do.

**Describe alternatives you've considered**
Using the ACS JS SDK. This however reduces the video quality to 720p.
Adding a network camera in Windows 10/11. This has the drawback that there is no way to influence camera settings or views. Suprisingly, adding a network camera this way does enable the device to show up using the ACS .NET SDK. Since we have one device that has four camera's and a 'quad view', using the network camera in Win10 this way would limit us to a single camera.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.