Xpra: Ticket #1613: Webcam Capturing does't pick the device provided in --webcam option.

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= --webcam="/dev/video2" --start="xterm" -d webcam --no-daemon > webcam_selection.log 2>&1

Sat, 05 Aug 2017 16:10:26 GMT - Kundan: attachment set

Webcam selection log.

Sat, 05 Aug 2017 16:15:07 GMT - Antoine Martin: status changed

That's simply not implemented yet on the server. The code in start_virtual_webcam just picks the first available one.

Thu, 10 Aug 2017 13:23:48 GMT - Antoine Martin: owner, status changed

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.

Sat, 12 Aug 2017 08:03:25 GMT - Kundan:

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.

Sun, 13 Aug 2017 08:29:39 GMT - Kundan: status changed; resolution set

I tested with the beta version. It is working there as well.

Thus closing.

Sat, 23 Jan 2021 05:29:07 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1613