xpra icon
Bug tracker and wiki

Opened 4 years ago

Last modified 3 years ago

#1030 closed enhancement

webcam and scanner forwarding — at Version 1

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 0.17
Component: core Version: trunk
Keywords: Cc:

Description (last modified by Antoine Martin)

So that applications that want to access the webcam can be made to work (ie: skype, etc). Scanners use the same framework as webcams, so maybe we can handle those too? (means potentially more than one device...)

We will need a simplified "window video source" class that the client can use to send pixel data with the same adaptability as the server (but maybe simplified a bit when it comes to batch delay, speed and quality tuning). It would be good if we could know when frames are being consumed from the server device so that we don't bother updating it when no-one is watching.
It will only deal with full frames, and only using a video encoder (if one is available) and no mmap.
It should have the same controls as sound: on, off or disabled.

The server should only need to pass the frames to a virtual video device for this to work:

The initial version should not worry about:

  • switching resolutions and formats: just one format will do
  • controls such as showing the whole desktop instead of the video input
  • sound sync!

etc..

Change History (2)

comment:1 Changed 4 years ago by Antoine Martin

Description: modified (diff)
Status: newassigned
Summary: webcam forwardingwebcam and scanner forwarding

Changed 3 years ago by Antoine Martin

Attachment: webcam-forwarding.patch added

almost working patch using opencv, png encoding only for now

Note: See TracTickets for help on using tickets.