Game freeze on layout change while using Usermedia camera

0 favourites
  • 2 posts
From the Asset Store
With this template you will learn how to use the GooglePlay Games native plugin
  • Problem Description

    On android, Using the usermedia plugin to show camera in one layout, freezes everything if you switch the layout to the other one.

    Attach a Capx

    https://dl.dropboxusercontent.com/u/24761800/cam_test.capx

    Description of Capx

    Displays the live view from your device camera,

    if you click the blue button, will switch to layout 2

    If you reach layout 2 , click blue button again to switch back to layout1.

    Steps to Reproduce Bug

    Create 2 layouts

    Put usermedia plugin in layout 1

    Request camera permission on start of layout 1

    Create a separate button/trigger to go to layout 2

    Export to cordova, then in intel XDK add the camera plugin

    Compile to android apk and run on device

    Observed Result

    On android, if you click the button to go to another layout... everything freezes.

    Expected Result

    Simply switch the layout as normal

    Affected Device

    Android

    Operating System and Service Pack

    Windows 10

    Construct 2 Version ID

    v240

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Does this reproduce in Chrome for Android in the browser? We ask that you test as many platforms as possible in the bug report requirements to help isolate what is faulty. If it works in Chrome for Android, I'd guess it's an issue with the Cordova plugin or the Intel XDK.

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