xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 5 years ago

Closed 5 years ago

Last modified 16 months ago

#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:


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

Attachments (1)

webcam_selection.log (16.6 KB) - added by Kundan 5 years ago.
Webcam selection log.

Download all attachments as: .zip

Change History (6)

Changed 5 years ago by Kundan

Attachment: webcam_selection.log added

Webcam selection log.

comment:1 Changed 5 years ago by Antoine Martin

Status: newassigned

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 Antoine Martin

Owner: changed from Antoine Martin to Kundan
Status: assignednew

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 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.

comment:4 Changed 5 years ago by Kundan

Resolution: fixed
Status: newclosed

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

Thus closing.

comment:5 Changed 16 months ago by migration script

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

Note: See TracTickets for help on using tickets.