Closed 01098996 closed 3 years ago
Do you ensure that ArSession_pause()
has returned before trying to start the camera?
Yes.
Thanks for confirming. I'll have our camera team look at this.
Our best guess is that the camera must be taking a bit longer to close than just the return of ArSession_pause(). Try waiting a few frames before starting the new session?
This is quite odd because the AR Stickers app in the Pixel Camera does exactly this: pauses an AR Session and then starts a non-AR camera capture session immediately, and we never saw this.
@inio Thanks! I will try it.
As a part of ongoing efforts to maintain ARCore repositories, I’m closing this issue as stale since it hasn’t had activity in more than 6 months. If this issue is still relevant, please feel free to file a new bug using the latest version of the SDK.
I want to switch ARCoreCamera to normal camera while calling ARSession_Destory on another asyn thread , but black screen occured on my Pixel!
Below is the log: