Closed YashM20 closed 1 week ago
Guten Tag, Hans here! Thank you for your detailed feature request regarding RTMP support in React Native Vision Camera! 🍻 This feature indeed sounds valuable for developers looking to implement live streaming.
While I cannot promise immediate implementation, I recommend discussing this further in our community, as contributions are always welcome! If you want to see this feature realized sooner, consider supporting the project through sponsorship at mrousavy's GitHub Sponsors.
Please stay tuned for feedback from mrousavy or other contributors! Thank you for your enthusiasm!
Note: If you think I made a mistake, please ping
@mrousavy
to take a look.
Hey!
Thanks for the feature request, but this is not something I will implement for VisionCamera.
This is exactly the reason why I built Frame Processors, a modular system allowing you to do ANYTHING with video frames, in a powerful and flexible way. There can be a WebRTC plugin that users can simply use via JS (that's the easy-to-use part), and then you integrate this.
We have already built a few such tailored solutions for a few clients before.
How can the community contribute to making this happen?
By building a VisionCamera WebRTC frame processor plugin 😄
I appreciate the direction towards using Frame Processors for this purpose. Since RTMP streaming is a bit complex, I’m eager to contribute by building the Vision Camera WebRTC frame processor plugin myself with help from others in the community.
However, I’m not entirely sure where to start since I don't have much experience with TurboModules and C++. If you could spare some time, could you guide me on the key steps involved in creating such a plugin?
Specifically, I’m looking for advice on:
If you have any resources or pointers to relevant parts of the Vision Camera codebase that could help, I’d be grateful.
Thanks again for your time and guidance!
You don't need C++, nor TurboModules.
Check out the docs here on FP Plugins
What feature or enhancement are you suggesting?
I'm suggesting the addition of RTMP (Real-Time Messaging Protocol) streaming support in the React Native Vision Camera library. This feature would allow developers to stream live video and audio directly from the camera to an RTMP server, facilitating the creation of live streaming applications within the React Native ecosystem.
What Platforms whould this feature/enhancement affect?
iOS, Android
Alternatives/Workarounds
Current Situation
Existing Libraries
Issues with existing libraries:
Request
Could we consider adding built-in RTMP support to React Native Vision Camera? Take RTMP link as output URL.
Benefits:
Questions
Thank you for considering this request and for your ongoing work on React Native Vision Camera! You guys are doing great in React Native Community✨.
Additional information