Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UVC] Support device with multiple VS and VC interface #2513

Closed
1 task done
lijunru-hub opened this issue Mar 6, 2024 · 1 comment
Closed
1 task done

[UVC] Support device with multiple VS and VC interface #2513

lijunru-hub opened this issue Mar 6, 2024 · 1 comment

Comments

@lijunru-hub
Copy link
Contributor

lijunru-hub commented Mar 6, 2024

Related area

Class UVC

Hardware specification

esp32sx

Is your feature request related to a problem?

I want to define a UVC device with two VS (Video Streaming) interfaces, capable of simultaneously transmitting two video streams. However, the current class UVC driver does not support installing all VS VC (Video Control) interfaces.
I've identified two main issues and made modifications to the source code, enabling the simultaneous opening of two VS (Video Streaming) interfaces.
image
image

I've noticed that the version of TinyUSB I'm based on is quite old. You can review the source code at https://components.espressif.com/components/espressif/tinyusb.

I've also tested the latest version of TinyUSB and found that it still doesn't support dual cameras. The issues present in the old code persist in the latest version.

In essence, supporting multiple VC VS (Video Control Video Streaming) interfaces in the UVC class is entirely feasible at the lower level. However, there are some logical issues.

Below is a screenshot of my successful setup, featuring one virtual image transmission and one camera feed. [Include screenshot here]

image

Finally, here is my device descriptor.

image

Describe the solution you'd like

Supporting this functionality in the source code.

I have checked existing issues, dicussion and documentation

  • I confirm I have checked existing issues, dicussion and documentation.
@lijunru-hub
Copy link
Contributor Author

Support by #2520

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

No branches or pull requests

1 participant