Support external cameras in your iPadOS app and use Swift to read multiple camera feeds?

Support external cameras in your iPadOS app and use Swift to read multiple camera feeds?

thanks

Answered by DTS Engineer in 820105022

Hello @liamwong,

This is supported, each camera should show up as an external AVCaptureDevice in a device discovery session.

For more information about external cameras on iPad, check out Support external cameras in your iPadOS app.

-- Greg

It's not clear to me what you are asking about. Can you provide some more detail about your question or issue?

-- Greg

First of all, thank you for taking the time to read this.

How can I simultaneously access signals from two USB cameras using Swift on an iPad?

I have a setup where two USB cameras (Camera1 and Camera2) are connected to an iPad via a USB hub. My goal is to simultaneously display the video feeds from both cameras in two separate video views (VideoView1 and VideoView2) within my Swift application, as illustrated in the attached diagram.

Could someone guide me on how to achieve this? Specifically:

  1. How to manage multiple USB camera inputs in Swift.
  2. Any libraries or frameworks that support handling multiple video streams on iOS.

Thank you in advance for your help!

Accepted Answer

Hello @liamwong,

This is supported, each camera should show up as an external AVCaptureDevice in a device discovery session.

For more information about external cameras on iPad, check out Support external cameras in your iPadOS app.

-- Greg

@DTS Engineer

Thank you so much for your detailed response! Your explanation and guidance were exactly what I needed to move forward with my project. I truly appreciate the time and effort you took to help me.

If I have any further questions as I implement this, I hope it's okay to reach out again. Thanks once again for your invaluable support!

Support external cameras in your iPadOS app and use Swift to read multiple camera feeds?
 
 
Q