增加 USB 驱动的支持

This commit is contained in:
2026-02-08 16:19:48 +08:00
parent 4afbf06439
commit c8f25aeba5
3 changed files with 255 additions and 0 deletions

View File

@@ -366,6 +366,7 @@ public class CameraManager : IDisposable, IAsyncDisposable
{
DeviceBrand.HikVision => new HikVideoSource(config),
DeviceBrand.Dahua => new DahuaVideoSource(config),
DeviceBrand.Usb => new UsbVideoSource(config),
// 使用模式匹配获取不匹配的值,记录详细的 DTO 上下文
_ => HandleUnsupportedBrand(config)