opentok / opentok-react-native

OpenTok React Native - a library for OpenTok iOS and Android SDKs
https://tokbox.com/
MIT License
210 stars 155 forks source link

Support `external` camera position for publisher #693

Open fi5u opened 10 months ago

fi5u commented 10 months ago

Feature Request

Description

In my React Native app on a recent iPad, I need to be able to take the publisher feed from an external USB camera. Starting from iPadOS 17, the iPad supports external cameras via its USB-C port. The two camera positions supported by opentok-react-native – front and back – do not take the feed from the external camera. We can see React Native Vision Camera already supports the external feed.

Proposal

Implement a third camera position option – external, which will take the external USB camera feed.

Links / references

iPadOS 17 update details (Apple)

fi5u commented 10 months ago

Or should it be the property videoSource which could be permitted to be set to the external camera device (not just screen and camera as current)?