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
Webcam selection log.
That's simply not implemented yet on the server.
The code in
start_virtual_webcam just picks the first available one.
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.
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.
I tested with the beta version. It is working there as well.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1613