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-file-for-fake-video-capture" para simular webcam, alguém já usou? #185

Open
alexisklaser opened this issue Mar 2, 2021 · 1 comment

Comments

@alexisklaser
Copy link

Pessoal, alguém já executou o Chrome utilizando a linha de comando --use-file-for-fake-video-capture=path/to/file.y4m para simular uma webcam aberta, passando um video para o navegador?

Pelo que verifiquei, ele aceita apenas o formato ".y4m", mas não estou tendo sucesso ao testar.

Se alguém já utilizou isso em algum teste ou passou por situação parecida, agradeceria se puder ajudar.

@alexisklaser
Copy link
Author

Atualizando:

Consegui fazer funcionar usando a linha abaixo:

.\chrome.exe --use-fake-device-for-media-stream --use-file-for-fake-video-capture="C:\Program Files\Google\Chrome\Application\video.mjpeg"

Porém, estranhamente funcionou por 2 ou 3 vezes e depois não mais.

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

1 participant