Skip to content

feat: use logical camera names rather than ids#15

Open
kagenihisomi wants to merge 2 commits into
Jeka8833:mainfrom
kagenihisomi:main
Open

feat: use logical camera names rather than ids#15
kagenihisomi wants to merge 2 commits into
Jeka8833:mainfrom
kagenihisomi:main

Conversation

@kagenihisomi
Copy link
Copy Markdown

using camera id is really difficult, spend 20 minutes wondering why OBS virtual Camera never showed, turns out depending on devices it moves up and down with no deterministic way,

This makes it easier to select (albeit opening settings menu takes 1-2 seconds now)

Settings

image

Show cameras

image

- Introduced CameraEnumerator class to enumerate available cameras and retrieve their names.
- Updated CameraConfig to use camera names instead of IDs.
- Modified CameraStream to support starting a camera by name.
- Enhanced CameraSettingsWindow to populate camera options from available cameras.
- Updated UI components to reflect changes in camera selection.
- Added a manual test script for camera enumeration functionality.
@Jeka8833 Jeka8833 self-requested a review February 9, 2026 23:10
@Jeka8833 Jeka8833 added the enhancement New feature or request label Feb 9, 2026
@Jeka8833
Copy link
Copy Markdown
Owner

Jeka8833 commented Feb 9, 2026

I will check your code tomorrow or the day after tomorrow.

Copy link
Copy Markdown
Owner

@Jeka8833 Jeka8833 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At this point, I cannot approve your code because it does not function well.

Problems:

  1. When the program is launched (the user did not press any buttons), the video stream does not start automatically. To start the video stream, the user needs to select another webcam from the list.
  2. When you open Camera Settings, all existing video streams are terminated and you are left without a webcam.
  3. Some video cameras are not displayed in the list (this is the most critical issue for me). I have attached how many cameras FoxyFace sees and how many cameras OBS sees. I suspect that cameras from Microsoft Media Foundation are not displayed. I would also like to clarify that simple access by index works (i.e., OpenCV sees the camera and can open the video stream).
Image Image

If you cannot reproduce the problems or do not understand them, please let me know.

I also suspect that the code was written with the help of some AI agents, as there are many comments and even tests. If I am wrong, I apologize.

@Jeka8833 Jeka8833 added this to the v2 milestone Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants