Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use as fake camera driver #190

Open
ROBERT-MCDOWELL opened this issue Jan 4, 2022 · 2 comments
Open

Use as fake camera driver #190

ROBERT-MCDOWELL opened this issue Jan 4, 2022 · 2 comments

Comments

@ROBERT-MCDOWELL
Copy link

Why not to make the display as a dummy cam and grab it from JavaScript in a browser and for audio the same ?

@dkrivoruchko
Copy link
Owner

I'm Android developer not a Web (

@FrostKiwi
Copy link

Why not to make the display as a dummy cam and grab it from JavaScript in a browser and for audio the same ?

This technique may not be practical for this app specifically, though you may refer to multiple setups.
The browser may grab cameras for the client. The "dummy webcam" thus has to be installed on the client. The app would require a driver, akin to OBS Virtual cam. So I'm not sure about the use-case.

You may also refer to the phone's browser being the client in this scenario and grabbing and displaying it's device capture as a camera. This however would require system level access to implement. Something a mere android app does not posess.

The act of grabbing audio on an android device is not difficult in of itself, by going through the phone call api. It is in fact how many apps implement rudemantary audio transfer, like robot vacuums. Though you limit yourself to very compressed mono audio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants