Camera access in Intranet / LAN website

Hello everyone, I am developing a Capacitor android app, which i am using as a wrapper to load a intranet website.
The intranet website is working in a LAN ip, which i am opening. Something like http://192.168.1.11/, something like this.

In that intranet website navigator.getUserMedia is being used to access the camera to Scan QR codes. However since the website is from http origin, thus getUserMedia is undefined, cause it is not a secure context.

I was hoping to somehow customize the WebView code, to maybe somehow allow this in my app.

Does anyone know how to make this work ? I would like to have some reference or code that would allow the WebView to allow access to getUserMedia in any context.