GithubHelp home page GithubHelp logo

Comments (14)

basst314 avatar basst314 commented on July 27, 2024

Hi @Ikpeba4ll,

Is the demo-page working on that phone?
https://basst314.github.io/ngx-webcam/?

Phones have to be „relatively current“ regarding their OS in order to support the required WebRTC functionality.

Cheers!

from ngx-webcam.

Ikpeba4ll avatar Ikpeba4ll commented on July 27, 2024

The demo is working on phone but not in my app

from ngx-webcam.

basst314 avatar basst314 commented on July 27, 2024

Hi @Ikpeba4ll,

what happens when you load your app on the phone? Any errors?
Also, what version of ngx-webcam / Angular do you use, and how did you integrate the library into your app?

For integration and usage you may check the source code in this library, or in the explicit demo-project I set up.

Let me know if that helps.

from ngx-webcam.

Ikpeba4ll avatar Ikpeba4ll commented on July 27, 2024

There is no error.. ngx-webcam version is 0.1.5 and angular is 5.2

from ngx-webcam.

basst314 avatar basst314 commented on July 27, 2024

Actually, there‘s nothing extra that needs to be done for it to run on a capable mobile device.

If the demo page works for you, your phone is current enough to support WebRTC. The library in your app should work as well.

Please check that the app and webcam is working when you access it with your desktop pc, and nothing else in the app is failing on the mobile device. Try to create a minimal running demo (like the one I provided).

Does the mobile device ask you to access the webcam? Do you see an icon in the addressbar for webcam-access? Did you give permissions to access the webcam?

I guess you have to provide a little more information here in order to get the answer.

But it seems like the problem might lie in your app itself or in the way ngx-webcam is integrated there, since the demo-page is working for you.

from ngx-webcam.

Ikpeba4ll avatar Ikpeba4ll commented on July 27, 2024

from ngx-webcam.

basst314 avatar basst314 commented on July 27, 2024

Please refer to the sample implementation in ngx-webcam-demo repository or provide more details about what you tried so far to resolve the problem and how your integration looks like, otherwise I might not be able to help.
Thanks!

from ngx-webcam.

Ikpeba4ll avatar Ikpeba4ll commented on July 27, 2024

Hello team,
I have noticed that the camera doesn't work on other devices and not only mobile phones.. How can I resolve this

from ngx-webcam.

Ikpeba4ll avatar Ikpeba4ll commented on July 27, 2024

Moreover do I need a https to access it on other devices?

from ngx-webcam.

basst314 avatar basst314 commented on July 27, 2024

@Ikpeba4ll Were you able to resolve the issue?

from ngx-webcam.

Ikpeba4ll avatar Ikpeba4ll commented on July 27, 2024

from ngx-webcam.

poojas17 avatar poojas17 commented on July 27, 2024

How did you resolve this issue?
webcam is triggering snaps on all browsers and their incognitos except Chrome incognito mode.

from ngx-webcam.

Ikpeba4ll avatar Ikpeba4ll commented on July 27, 2024

from ngx-webcam.

mspace avatar mspace commented on July 27, 2024

@Ikpeba4ll I can confirm this behaviour too.
If accessed via https, it asks for permission. If accessed via http I get 'Cannot read UserMedia from MediaDevices'

from ngx-webcam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.