#1613 closed defect (fixed)
Webcam Capturing does't pick the device provided in --webcam option.
Reported by: | Kundan | Owned by: | Kundan |
---|---|---|---|
Priority: | major | Milestone: | 2.2 |
Component: | server | Version: | trunk |
Keywords: | Cc: |
Description
I added 4 virtual devices in Ubuntu 16.04. And, started the xpra server with --webcam=/dev/video2 option. But, it seems, it is always picking the 1st virtual device for it's operations.
The xpra start command.
XDG_RUNTIME_DIR=/tmp/10 xpra start :10 --bind-tcp=127.0.0.1:10000 --webcam="/dev/video2" --start="xterm" -d webcam --no-daemon > webcam_selection.log 2>&1
Attachments (1)
Change History (6)
Changed 5 years ago by
Attachment: | webcam_selection.log added |
---|
comment:1 Changed 5 years ago by
Status: | new → assigned |
---|
That's simply not implemented yet on the server.
The code in start_virtual_webcam
just picks the first available one.
comment:2 Changed 5 years ago by
Owner: | changed from Antoine Martin to Kundan |
---|---|
Status: | assigned → new |
Done in r16677. The device must be specified using a full path, ie:
xpra start :100 --start=xterm --webcam=/dev/video2 -d webcam
Please close if this works for you.
comment:3 Changed 5 years ago by
Hi Antoine,
I tested it by copying the files client/ui_client_base.py and server/server_base.py in my running xpra directory /usr/lib/python2.7/dist-packages/xpra/.
It is working fine.
But, I would like to test it with the beta version as well, when it would be available. I would close it, then.
comment:4 Changed 5 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
I tested with the beta version.
It is working there as well.
Thus closing.
comment:5 Changed 16 months ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1613
Webcam selection log.