feat: 完善camera复位逻辑
This commit is contained in:
@@ -156,8 +156,7 @@ public class HttpVideoStreamService : BackgroundService
|
||||
throw new Exception("Please config camera first");
|
||||
}
|
||||
_cameraEnable = isEnabled;
|
||||
await _camera.EnableCamera(_cameraEnable);
|
||||
await _camera.SleepCameraHardware(!_cameraEnable);
|
||||
await _camera.EnableHardwareTrans(_cameraEnable);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user