I'm facing performance issue on certain devices (Huwaei Ascend P7 for instance).
the camera view is very slow, close to unusable.
When I execute the samples the camera view is acceptable, but using the same code in a separate app produces lagging camera view.
What could be the problem ? Am I missing some flags ?
What's the solution to this? Is there a way to change the framerate?
The camera is working fine on mine, but the pois don't seem to keep up with pans very well.
In most cases, the camera frames slowness is due to the usage of a high
resolution preview (1280 x 720). Using
any layer above the camera preview when using this format breaks down
the frame rate seriously. The issue here is that the medium end phones are not powerfull enough to handle this. In
general I would not expect any performance issues on a Quad-core
1.3 GHz Cortex-A53 device when it comes to the custom camera example.
Ah okay, that makes sense.
I'm having trouble finding the if statement you mentioned. Which file specifically is it in? I'm using the Cordova plugin by the way.
Basically, when panning, it takes a while for the pois to catch up to their intended position on the screen.
Here's a screen capture:
The video actually shows another problem I often have too, which is the pois randomly dropping (altitude?). I'll add some of the key times below.
I've come to the conclusion that this is only happening on my android device, if that helps at all.
Unfortunately, this is the only one I have, so no I haven't.
Is there something in the settings / device info we could use to narrow down whether the problem is this specific device?
I just got your cordova sample running on the android (using the command) with the same results, so I guess if you can use that on an android device without issues, then it must just be my device.