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

External (UVC) cameras not recognised in iPadOS #135

Closed
mikeylemmon opened this issue Jul 9, 2024 · 9 comments
Closed

External (UVC) cameras not recognised in iPadOS #135

mikeylemmon opened this issue Jul 9, 2024 · 9 comments
Labels
enhancement New feature or request ios Issues that affect iOS

Comments

@mikeylemmon
Copy link

iPadOS 17 added support for external cameras using the USB video device class (UVC) — for example on the 2nd-gen iPad Pro I am testing with (iPadOS 17.5.1), apps like FaceTime, Zoom, and Webkit-based browsers all support external cameras and other capture devices (e.g. HDMI capture cards) connected to the USB-C port. Those same devices, however, are not being listed by CameraDevice.Discover() and thus are currently unavailable for use with VideoKit.

@olokobayusuf olokobayusuf added enhancement New feature or request ios Issues that affect iOS labels Jul 10, 2024
@olokobayusuf
Copy link
Contributor

Coming in 0.0.20.

@olokobayusuf
Copy link
Contributor

Implemented in 0.0.20.

@tomashined
Copy link

Implemented in 0.0.20.

Hello. Could you provide a guide on how to set up multiple cameras and capture multiple images in Unity?

@mikeylemmon
Copy link
Author

I have updated to 0.0.21, but external devices are still not being listed in the output of CameraDevice.Discover() — is there something else I need to do to enable the external cameras to be recognised?

@olokobayusuf
Copy link
Contributor

Hello. Could you provide a guide on how to set up multiple cameras and capture multiple images in Unity?

I'm not sure if this is what you're asking, but simultaneously streaming from multiple cameras is not yet supported. We can add it as a feature on iOS (we've implemented this in the past). Open an issue for a feature request.

@olokobayusuf
Copy link
Contributor

I have updated to 0.0.21, but external devices are still not being listed in the output of CameraDevice.Discover() — is there something else I need to do to enable the external cameras to be recognised?

@mikeylemmon I'm not sure what the issue could be. We followed Apple's docs to implement this feature. Just to confirm: you're testing on iPadOS 17?

@tomashined
Copy link

Hello. Could you provide a guide on how to set up multiple cameras and capture multiple images in Unity?

I'm not sure if this is what you're asking, but simultaneously streaming from multiple cameras is not yet supported. We can add it as a feature on iOS (we've implemented this in the past). Open an issue for a feature request.

I thought that this request was specifically about being able to get an image from multiple cameras, as iPadOS has introduced a feature that allows connecting other devices to it and viewing video from multiple cameras.

@olokobayusuf
Copy link
Contributor

I thought that this request was specifically about being able to get an image from multiple cameras, as iPadOS has introduced a feature that allows connecting other devices to it and viewing video from multiple cameras.

This issue was about adding support for discovering and streaming from UVC cameras. For streaming from multiple cameras (e.g. front and back) simultaneously, that's a separate feature.

@tomashined
Copy link

I thought that this request was specifically about being able to get an image from multiple cameras, as iPadOS has introduced a feature that allows connecting other devices to it and viewing video from multiple cameras.

This issue was about adding support for discovering and streaming from UVC cameras. For streaming from multiple cameras (e.g. front and back) simultaneously, that's a separate feature.

#140

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ios Issues that affect iOS
Projects
None yet
Development

No branches or pull requests

3 participants