How do I control User Media (environment facing camera) focus & zoom?

Not favoritedFavorited Favorited 0 favourites
  • 5 posts
From the Asset Store
Fully animated four directional dungeon guards pack
  • I am making a camera app where the full viewport is my phone's real life environment facing camera.

    -

    My phone is a Pixel 8a which features a x8 zoom feature, but more importantly, it offers a x0.5 zoom feature with an impressive FOV⁰

    -

    Problem is, I can't seem to set any value to access that zoom level, or more importantly, that improved FOV.

    -

    I am also interested in manually changing the focus distance, or inputting touch taps to direct my camera what to focus on...

    -

    I believe I am looking for a custom plugin, which I'm willing to pay a lil cash for. I found a free one called Ultimate Camera by Emi_Indo, but trouble is, I don't know how to install it...

    -

    update: I have learned that this choice addon is for an older version so I am hoping to somehow convert to an older version or find one for r466

  • I may be able to use Ultimate Camera if I rebuild my app in r449 and then test it by uploading it through Cordova, but I saw in documentation that 0.5x zoom might not be obtainable this way because 0.5 is not an integer.

    -

    I have tried connecting my GoPro Hero 5 via regular Bluetooth connection but it's not showing up as a camera source option.

    -

    Has anyone made their phone offer a 3rd camera source by attaching a wired external webcam? I don't yet have the gear to test it myself.

    -

    With a lot of elbow grease I can try to learn Bluetooth functions to deliver a live GoPro feed preview, or create my own custom addon.

    -

    Here's to hoping a wired external webcam will show as source #3!! 🤞

    -

    Soon I will demo this concept with items at BestBuy :)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I have plugged a cheap 720p USB webcam into an OTG adapter and plugged that into my phone's charging port. A different app like the popular "USB Camera" on the play store had no problem recognizing it.

    -

    Construct 3s built-in object User-Media did not pick up on the 3rd source though.

    -

    Maybe Emi-Indo's "WebRTC" addon was built to enable that specifically..

    -

    I'll be back when I learn more 🫡

    -

    Update: my app hit some major exciting milestones for me today so I will be putting this x0.5 zoom enhanced FOV on the back burner until a later day... It's the difference between 80⁰FOV and "unlocking" it's potential 120⁰FOV which is important to me. (Here's to hoping I can later use WebRTC to unlock an external 4k 180⁰FOV camera)

    -

    but after unlocking total full screen recently and voice input, I'm excited now to find other upgrades like converting values into gauges and stuff, I'll come back to this someday

  • no way no way no way!! omg I am so excited to try that out after work today Emi-Indo!!! 😻 wow!!

    -

    i did think up an alternative where I could run the app with a green background and chroma-key GoPro footage in later by mounting the GoPro to a phone case and doing post-production on PC 😅 but it will be good for video call reasons to keep them together!! And faster to have less post production anyways!!

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)