xpra icon
Bug tracker and wiki

Opened 3 months ago

Closed 2 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:

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)

webcam_selection.log (16.6 KB) - added by Kundan 3 months ago.
Webcam selection log.

Download all attachments as: .zip

Change History (5)

Changed 3 months ago by Kundan

Attachment: webcam_selection.log added

Webcam selection log.

comment:1 Changed 3 months 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 2 months 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 2 months 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 2 months ago by Kundan

Resolution: fixed
Status: newclosed

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

Thus closing.

Note: See TracTickets for help on using tickets.