Bug 2068 - Webcam support
Summary: Webcam support
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.5.0
Hardware: PC Linux
: P2 Enhancement
Target Milestone: MediumPrio
Assignee: Pierre Ossman
Depends on: 5590
  Show dependency treegraph
Reported: 2006-06-19 11:31 CEST by Pierre Ossman
Modified: 2024-04-08 13:01 CEST (History)
3 users (show)

See Also:
Acceptance Criteria:


Description Pierre Ossman cendio 2006-06-19 11:31:42 CEST
Customers now and then ask about support for webcams at the client, something we
currently do not support. Adding this support is far from trivial though. Like
many systems, the applications use a kernel interface so there is no library
that can be extended.

Two possible solutions currently exist:

 * LD_PRELOAD. Similiar to how we handle OSS for sound.

 * A fake kernel device that allows us to feed data from user space. There is a
somewhat neglected project here:
Comment 1 Pierre Ossman cendio 2006-08-28 11:10:55 CEST
Provided the kernel module works as-is, the following is needed:

* Daemon on the server transferring data from a ssh tunnel to the V4L pipe.

* Daemon on the client transferring data from a local webcam to a ssh tunnel.

Rough estimate of the required work is 40h. This is just for a no thrills, dummy
pipe over the network.

We probably need to upgrade the module to V4L2 in a not too distant future.
Comment 3 Pierre Ossman cendio 2007-03-19 14:58:06 CET
Time est according to comment #1.
Comment 5 Peter Åstrand cendio 2013-03-21 12:39:47 CET
In addition to the kernel interface, some webcams uses/used libusb. Quoting from http://www.tldp.org/HOWTO/html_single/Webcam-HOWTO/:

"There are two ways of supporting USB devices in Linux. One is the more traditional kernel support, and the other is through libusb. "

This approach has also been tested with Spice, see:

Comment 6 Pierre Ossman cendio 2016-04-29 17:04:21 CEST
/dev/video# devices are character devices, so it might be possible to handle them via CUSE.
Comment 22 Pierre Ossman cendio 2024-04-08 13:01:18 CEST

Note You need to log in before you can comment on or make changes to this bug.