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

❓ Is it possible to use it with react-native-webrtc? #17

Closed
jsellam opened this issue Mar 4, 2021 · 2 comments
Closed

❓ Is it possible to use it with react-native-webrtc? #17

jsellam opened this issue Mar 4, 2021 · 2 comments
Assignees
Labels
💭 question Further information is requested

Comments

@jsellam
Copy link

jsellam commented Mar 4, 2021

Hi,
Thank you for this library, it's a very good job !

I'm working on video chat app with webrtc with react-native-webrtc.
In your documentation you say that we can use Frame Processor to build realtime video chat app. Have you more informations about it ?

react-native-webrc use it own "getUserMedia" implementation. Do you think it's possible to use your library too with webrtc ? and how ?

thx
Jeremie.

@jsellam jsellam added the 💭 question Further information is requested label Mar 4, 2021
@mrousavy
Copy link
Owner

mrousavy commented Mar 4, 2021

Hi!

Yes, it will be possible to use VisionCamera for video chat applications. However I am still working on that part ("Frame Processors", see PR: #2), so it is not ready yet.

Once frame processors are ready, they are like a sandbox. You can use plugins for your specific task (send frame over the network). So this means, once frame processors are released you will have to use a WebRTC plugin specifically designed for VisionCamera. Either you write that yourself, or react-native-webrtc does that.

The plugin will have to be written with JSI (C++), but I have a lot of examples on how to do that, and honestly it's not that difficult. I will share more details and examples once Frame Processors are available.

@mrousavy mrousavy changed the title Is it possible to use it with react-native-webrtc❓ ❓ Is it possible to use it with react-native-webrtc? Mar 11, 2021
@mrousavy mrousavy self-assigned this Apr 12, 2021
@mrousavy
Copy link
Owner

mrousavy commented May 6, 2021

I just released 2.0.0, which finally includes Frame Processors.

This means you can create a WebRTC Frame Processor Plugin (see "Creating a Frame Processor Plugin") and start using WebRTC today. 🎉

Note: Frame Processors are iOS only for now, I will do Android in a separate PR really soon. 💪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💭 question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants