Switch between VIOCameraDevice and VideoCameraDevice at runtime?

0 votes
asked Dec 13, 2021 by asepsaepudin (170 points)
I want to use VIO Camera if the devices supported it, but if not supported then it will use standard Video Camera.
How do I switch these 2 component at runtime based on user devices?

1 Answer

0 votes
answered Dec 14, 2021 by kenn (18,790 points)
edited Dec 14, 2021 by kenn
Use latest version and create an AR session containing both components, runtime switch (or fallback) is the default behavior.

You can reference sample ImageTracking_MotionFusion.

BTW, try not use VIOCameraDevice anymore which is obsolete in version 4.4.
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...