Giter Site home page Giter Site logo

Comments (7)

umlaeute avatar umlaeute commented on July 29, 2024

i think that the 2 device files approach is a very ugly hack, and honestly i would not like to include it unless forced by some kernel policy or the like (the device-pair approach was the one found in the v4l1 "vloopback" driver and i always hated it).
looking at the chrome patch rev151076, it seems that the chromiums devs explicitely prevent v4l2loopback devices (and mem2mem devices, or any other devices that are both input and output) to be enumerated for capture.

before i will accept any changes, i want to know what is wrong with a device being both input and output (the discussion on the chromium bug mentions something that was "requested by kernel people" but no further information is provided.)

from v4l2loopback.

umlaeute avatar umlaeute commented on July 29, 2024

i think a more appropriate fix would be to only announce OUTPUT capabilities if the device is not currently locked by a producer.
so as soon as the the device emitting data, it behaves as an ordinary fixed imagesize webcam (with only CAPTURE support)

from v4l2loopback.

umlaeute avatar umlaeute commented on July 29, 2024

i also wonder whether the device should announce the CAPTURE capability while it does not provide any image yet.

from v4l2loopback.

umlaeute avatar umlaeute commented on July 29, 2024

check todays experimental branch (3929af6) to see whether this helps

from v4l2loopback.

hamishcampbell avatar hamishcampbell commented on July 29, 2024

Works beautifully! 👍

from v4l2loopback.

umlaeute avatar umlaeute commented on July 29, 2024

cool, now that we now it works, i would like to make it optional. suggestions for the module parameter name are welcome

from v4l2loopback.

ROBERT-MCDOWELL avatar ROBERT-MCDOWELL commented on July 29, 2024

Hi, so what option does it need to allow chrome list v4l2loopback today?
thanks

from v4l2loopback.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.