You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.
Hi @rahulyaa I am trying to upstream ARCore rendered content which is being rendered in GLSurfaceView.
But in the SDK i don't see any option that allows me to do that, the SDK only allows to set FRONT or BACK facing cameras as the activeCamera.
/**
* Camera Switch click button handler.
*
* @param view
*/
public void onCameraSwitch(android.view.View view) {
Camera camera = null;
Camera.Type cameraType = null;
switch (currentCameraType) {
case FRONTFACING:
camera = this.backCamera;
cameraType = Camera.Type.BACKFACING;
break;
case BACKFACING:
camera = this.frontCamera;
cameraType = Camera.Type.FRONTFACING;
break;
default:
}
try {
this.videoService.setActiveCamera(camera);
this.currentCameraType = cameraType;
this.updateState();
} catch (SFBException e) {
e.printStackTrace();
}
}
Can you guide me further how to achieve this or may be screen sharing?
The text was updated successfully, but these errors were encountered:
khurramengr
changed the title
How to achieve screen sharing
How to upstream ARCore rendered content or screen sharing
Dec 13, 2018
khurramengr
changed the title
How to upstream ARCore rendered content or screen sharing
How to upstream ARCore rendered content or achieve screen sharing
Dec 13, 2018
Hi @rahulyaa I am trying to upstream ARCore rendered content which is being rendered in GLSurfaceView.
But in the SDK i don't see any option that allows me to do that, the SDK only allows to set FRONT or BACK facing cameras as the activeCamera.
Can you guide me further how to achieve this or may be screen sharing?
The text was updated successfully, but these errors were encountered: