Ngx-scanner: Can't get user media, this isnt supported

Created on 3 Jul 2019  路  6Comments  路  Source: zxing-js/ngx-scanner

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
image

question

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.

All 6 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mattiaskagstrom picture mattiaskagstrom  路  8Comments

lobnazakaria93 picture lobnazakaria93  路  4Comments

odahcam picture odahcam  路  5Comments

rohitxsh93 picture rohitxsh93  路  9Comments

werthdavid picture werthdavid  路  4Comments