Jump to content

Is web camera access is possible in phaser 3?

Mayjo Antony

Recommended Posts

Phaser 3 is just JavaScript that runs in a user's browser. You can call whatever JavaScript APIs you want in your code.

I don't think Phaser 3 provides its own API to access a webcam, but you can hook into the native browser functionality yourself. Take a look at https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Taking_still_photos for an example of how to do so.

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...