Comments (11)
You could resolve this by creating a fixed symlink using udev matching the camera\#\description
with ENV{ID_V4L_PRODUCT}
from akvcam.
How comes?
I need the devices to be predictable so I can simplify my waitForDevices function, instead of waiting for all v4l2 devices created by all drivers and then waiting for the same number of devices to appear, I can wait for the specific devices to appear. I did not figured out at beginning 😅
from akvcam.
No, I prefer to let the kernel decide which number corresponds to each device, this way it avoids collisions with other drivers.
from akvcam.
But that way it messes up the order of my webcams. :(
from akvcam.
Not sure if I want to do that way, I think it will cause more problems than solutions, let me think it.
from akvcam.
Personally, I think it is would be a nice to give users the option to specify things. You can leave the default behaviour as it is.
The only reason I opened this ticket is because I hardcoded the webcam path in some of my scripts... lol.
from akvcam.
At the end I'll have to implement this, this could be useful in the future.
from akvcam.
At the end I'll have to implement this, this could be useful in the future.
How comes?
from akvcam.
I've implemented this in the latest commit.
from akvcam.
Cool! I will close the issue for now. :)
from akvcam.
instead of polling for the devices, you should listen to the relevant udev "ADD" events.
from akvcam.
Related Issues (20)
- The example for `/etc/akvcam/config.ini` may be wrong in wiki HOT 1
- Staticy output, no idea what I did in config HOT 9
- akvcam-1.2.2: build warnings HOT 2
- webcamoid 9.0.0 cant add virtual camera using pkexec
- akvcam module compilation HOT 16
- akvcam-1.2.2 can't be installed - can' find linux-headers HOT 4
- How to use mmap mode? HOT 1
- akvcam - gone after reboot. HOT 29
- Wrong color on little endian machine HOT 3
- Multiple consumers for single video capture device HOT 4
- No driver (Linux Mint 21.2 Cinnamon) HOT 1
- [incompatibility] akvcam virtual cam generating errors on web platforms like omegle,zoom,jitsi etc HOT 2
- V4L2_BUF_FLAG_LAST is set and epipe is returned HOT 9
- setup.sh failed on ubuntu HOT 3
- Make use persistent device path /dev/v4l/by-id/.*
- Unknown symbol in module HOT 1
- error building on kernel 6.7 HOT 1
- Unknown symbol vb2_vmalloc_memops HOT 1
- Fragile commit: Define V4L2_DEVICE_NAME_SIZE if not defined. HOT 1
- Clarification of output device HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from akvcam.