Open SimonDarksideJ opened 1 year ago
I am not sure I can follow your thoughts here.
So you are saying you have implemented e.g. your own ICameraService "NianticCameraService" and another one "ARFoundationCameraService" and then you have added both to your root profile and they are both running at the same time?
No, I have one camera setup for Niantic and one for ARFoundation. Depending on whether I run a system that depends on ARFountation or Niantic, I need to start the system that is needed ONLY.
E.G. If I use Azure Spatial Anchors, which depends on ARFoundation, then I want to call the Camera system and tell it to initialise the ARFoundation Camera
Starting to get an idea of what you mean. But I see this rather as a more generic issue in that the apart from the
RuntimePlatform
we need to be able to declare further constraints on when a service is to be used.
It's something I'll pick up once you have the system up and running, since it is my requirement :D
When dealing with headsets, identifying a singular camera system is fairly simplistic, however there are likely to be many scenarios moving forward for cases where you might have an ARFoundation Camera system which is incompatible with a Niantic camera system (both require dedicated access to the device camera stream).
Ideally, if you have a project and attempt to register multiple cameras for use, but some are incompatible with each other.
Additionally, there may be systems with a dependency on a specific camera setup, or a camera with certain attributes, such as Azure Spatial Anchors requiring either ARFoundation or a HoloLens camera.
Thoughts?