feat: 增加了摄像头硬件复位和唤醒逻辑
This commit is contained in:
@@ -157,6 +157,7 @@ public class HttpVideoStreamService : BackgroundService
|
||||
}
|
||||
_cameraEnable = isEnabled;
|
||||
await _camera.EnableCamera(_cameraEnable);
|
||||
await _camera.SleepCameraHardware(!_cameraEnable);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user