Skip to content

On IOS the app freezes when we open the camera for about 5-6 seconds before working again. #401

@anxheloo

Description

@anxheloo

On IOS when we open the camera the app freezes for about 5-6 seconds. In my case it happens when i render multiple ViroARImageMarkers in order to display a different ViroVideo for each target. THan it it ready to scan the Images and trigger videos based on targets. It looks like a high memory and CPU working that makes the app freeze. I am using React Native Bare, 0.81.4 and latest release of Viro. High memory persists even if i unmount. On unmount it lowers but still is high. Any suggestion ? Btw: Android works fine. @olimorrow

When i debug it using xcode, the moment we open the camere the cpu works more than 100% and memory jumps with at least 600mb.

I think this is what causes that freeze.

I am creating multiple ImageTargets the moment i open the camera so each target triggers a different remote url video.

I need some suggestion from the team. Able to provide source code. Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    to be releasedIt's fixed/done and coming in a next update

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions