Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#420 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
csharp, javascript
领域
desktop-dev

调研方向

从 issue 中展示的 .NET 流程开始:CallClient、GetDeviceManager() 和 deviceManager.Cameras。将其设备枚举与 ACS JS Group Calling Sample 进行比较,并验证在所述物理摄像头和虚拟摄像头上的行为;完成的标准是 .NET SDK 一致地返回所有可用的视频设备。

由索引模型根据 Issue 内容生成。

描述

Needs: triage :mag:

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 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.

主要语言
没有语言数据
星标
339
派生
114
平均合并
36 分钟
30 天内合并 PR
1

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Azure/Communication 的其他 Issue

查看 Azure/Communication 的全部 Issue

相似的 Issue

更多 Desktop Dev Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。