Skip to content

Device not recognized #20

Description

@NeoReel

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions