Start a new topic
Solved

Possibility to enable and disable the camera view

Hello 


I have added the wikitude sdk to an existing app (Swift) and it works as excepted. But now I'm running in an issue since another component of the application will use the camera too. So that's not possible because the WTArchitectView is blocking the camera. So how can i enable (AVCaptureSession, AVCaptureDevice, etc) and disable it manually?


Or is there a setting which can I set which enables the WTArchitectView to release the camera access on viewDidDisappear? 


Hello Silas,


Please have a look at the JS AR.hardware.camera.enabled flag. If you turn off the camera, also the rendering should be stopped.


Thanks

Eva

Thx! That did the trick 

Login or Signup to post a comment