How to use the camera from Android phone or iPhone to detect QR code via web. If I have website in http://

I have created a "QR Code Scanning System" that works through web pages that is http://...

Use a Web camera (Webcam) to detect QR Code, which it can work normally.

But now I want my system to be able to use the camera from Android phone or iphone to detect QR code.

My web is now unable to open the camera from Android phone and iphone. It's because I have to have a web page that is https://... right? (Buy : ssl-certificate)

Can anyone help me out with this please. Thanks in advance.