I'm afraid this question might be due to my lack of knowledge of SurfaceView, but I'm hooking Tango into MonoGame and I'm getting in the log:
TangoConfig config = new TangoConfig();
config = mTango.GetConfig(TangoConfig.ConfigTypeCurrent);
mTango.ConnectSurface(0, surface);
mTango.Connect(config);
E/BufferQueue(161) [SurfaceView] connect already connected (cur=1, req=4)
I'm not sure if this is telling me that it cannot connect because MonoGame has already created and us using that surface (I'm hooking it after create), or only one is allowed. Or perhaps the rest of the log is more telling (below). All help is greatly appreciated.
E/BufferQueue(161) [SurfaceView] connect already connected (cur=1, req=4)
E/Camera3-OutputStream(166) configureQueueLocked Unable to connect to native window for stream 1
E/Camera3-Stream(166) finishConfiguration Unable to configure stream 1 queue Invalid argument (-22)
E/Camera3-Device(166) Camera 0 configureStreamsLocked Can't finish configuring output stream 1 Invalid argument (-22)