I found error Can't get user media, this isnt supported. In domain or other device cant detected camera , but in my localhost project nothing bugs. please help ! thanks

or my domain must secure (https)
?
Hi ramdanegie,
https://github.com/zxing-js/ngx-scanner/issues/133
Is this similar issue ,if you find the solution comment below
Hello!
You need SSL to access the user devices or explicit server the application from localhost. I can see in your print, you're under a IP address, which requires SSL.
Thank u so much is very helfull 馃槉馃槉
Hi Luiz Machado odahcam,
If My site is secured, able to access the camera but barcode is not scanning , is the below code is correct. Do you have any videos about how the code works.
onCodeResult(resultString: string) {
alert("onCodeResult"+resultString)
}
@ramdanegie you're welcome. :)
@ManiyanKarthi can you open a new issue and detail a bit more what's happening? Like is the component showing any camera images, or it's doing nothing at all...
I'm closing this one as the original issue is solved.
Most helpful comment
Hello!
You need SSL to access the user devices or explicit server the application from localhost. I can see in your print, you're under a IP address, which requires SSL.