-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Loving the project! Good work!
However, the scene stays blank when using my device.
I modified the scene to enable log and displaying it. I can track the problem to the UVCVideoSize.GetSupportedSize() which throws ArgumentException("failed to get supported video size"). I tried feeding it various values, but to no avail.
My device is a cheap handheld USB microscope with resolution 1920*1440P (manual states image format JPG and video format MP4). They do have their own app, but I'd like to make it do my own things... So your plugins are super interesting to me (and my kids)!
Since the problem might be with the GetSupportedSize, which is locked up in your unityuvcplugin DLL function:
[DllImport("unityuvcplugin", CallingConvention = CallingConvention.StdCall)]
private static extern Int32 GetSupportedSize(Int32 deviceId, Int32 index, ref Int32 numSupported, ref UVCVideoSizeFromCpp size);
I'd love to have access to the UVC plugin source to try to find a solution.
Any way I can get this working?
Thanks!