I use the following API to find a specific USB device(Roxio video capture usb).
[AVCaptureDevice devicesWithMediaType:AVMediaTypeVideo];
It works fine on macOS 14.0 or below version, but it find nothing on macOS 14.1, I replace with the following API and it still doesn't work.
AVCaptureDeviceDiscoverySession *session = [AVCaptureDeviceDiscoverySession discoverySessionWithDeviceTypes:@[AVCaptureDeviceTypeExternalUnknown] mediaType:AVMediaTypeVideo position:AVCaptureDevicePositionUnspecified];
How can we solve it or have other solutions?