0

TLDR; How do I make a photo service that does the following in a video calling app:

  1. caller presses button on phone1
  2. callee's phone camera takes photo using phone2 camera
  3. photo saved on caller's phone1

I am trying to make a photo service that works in an iOS project I'm building using React Native.

I used Connecty-Cube to make a video call service in the app, but now I want to add a button that allows the caller to take a photo of the callee.

I know I can just use react-native-view-shot to take a screenshot of the callee, but I want to take the photo using the callee's own phone camera.

I think FaceTime now has this functionality (they let FT users take live photos), but I haven't found any other apps that do this.

Does anyone have any pointers? Thank you!

4

1 回答 1

0

如果您可以使用本机代码完成此操作,则可以轻松地将其桥接到 JavaScript。这也比查看一些 react-native 插件更有效。您可以在文档文章中获得更多信息

于 2020-10-22T06:42:11.513 回答