Open mdisg opened 3 years ago
Have you try cameraNumber with different value? I guess you can use cameraNumber = -1
@RealSenseSupport no I did not because there is no documentation or information about that behavior.
Please keep the object "preview" live. the preview will be stop outside of the inner scope. This is my sample. https://gist.github.com/mengyui/84b0b47c1909c9fc4e6815d9e62fe987
Recently I have played around with the standby mode using the C# Wrapper Class
Authenticator
. After activating the standby mode enabling the camera preview viaPreview.Start
returnstrue
but no preview image is received. The callback will not be called in that case. I then tried to do an authentication right after the reconnect and after that the preview works so I think the camera is still in standby mode even after the reconnect to the device. The start result for the preview should befalse
in that case in my opinion. Could you also please add a way/method to wakeup the unit without starting a dummy authentication e.g. by adding a Method e.g.WakeUp()
?My initial approach was:
Connect()
on myAuthenticator
instance.Standby()
andDisconnect()
Connect()
again on the same authenticator instance.Start()
on a newly createdPreview
instance.The code:
The following code with call to
authenticator.Authenticate(new AuthArgs());
works: