altmp / altv-issues

Issues and roadmap for alt:V project
93 stars 16 forks source link

Allow voice capture in Webview #1679

Open xenicle opened 2 years ago

xenicle commented 2 years ago

Description of the problem

I would like to use webkitSpeechRecognition in Webview, for that I have tested with this

In Chrome it work because at a moment it ask to 'Allow Microphone capture' by a popup integrated in the browser.

In Webview webkitSpeechRecognition exist but we don't have such mechanism to get users consent

Desired solution for the problem

As discussed there

Does It possible to ask for Voice Capture consent (like Screen Capture we have actually) also detect when Voice Capture is recording in Webview and display an Icon on top of all buy alt:v to prevent user.

Alternatives you considered

No response

Additional context

No response

Version

13.0-DEV49

Stuyk commented 2 years ago

I think you're looking for WebRTC.

https://docs.altv.mp/articles/permissions.html

Oh, apparently this is something very different. Ignore this comment.