ARCore with Jitsi, switching the camera resource

Hi ,
I am trying to integrate jitsi in ARCore sample application(Hello AR). I have added a button on GLSurfaceView, on clicking which I want to create and open a jitsi meeting room.

I want to close the ARCore from accessing the camera resource and allow jitsi to use that.
Application crashes after clicking button to start meeting.

Did anyone else tried this?