-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Description
I have a window10 tablet, it has front and rear camera, when I change one to another, it stop responding.
I think in CloseAll() function, it call StopWhenReady(), this is asyc call, and it behavior is different than prior.
And window 10 introduce a new service, "Camera Frame", it allows multiple apps to get the frame of camera at the same time.
So my solution is as below, remove StopWhenReady() in CloseAll():
try
{
//DX.MediaControl.StopWhenReady();
DX.MediaControl.Stop();
}
It stop normally but the sideeffect is that SnapshotSourceImage() does't work.
Any perfect solution?