ezranbayantemur / react-native-rtmp-publisher

📹 Live stream RTMP Publisher for React Native
MIT License
102 stars 16 forks source link

✨ New Architecture Support (Fabric) for React Native 0.74 and above #52

Open YashM20 opened 2 weeks ago

YashM20 commented 2 weeks ago

New Architecture Support in react-native-rtmp-publisher for React Native 0.74 and above

Is your feature request related to a problem? Please describe.

The current version of react-native-rtmp-publisher is not compatible with the new React Native architecture introduced in version 0.74 and above. This incompatibility forces developers to either:

  1. Stick with older versions of React Native, missing out on performance improvements and new features.
  2. Disable the new architecture in their projects, which negates the benefits of upgrading.

Describe the solution you'd like

We propose updating react-native-rtmp-publisher to fully support the new React Native architecture (Fabric and TurboModules) for versions 0.74 and above.

Describe alternatives you've considered

react-native-nodemediaclient is the only alternate but is also not maintained.

Additional context

The React Native team has been pushing for adoption of the new architecture due to its significant performance improvements. Many popular libraries have already been updated or are in the process of updating. Adding support for the new architecture in react-native-rtmp-publisher would ensure it remains a viable option for developers working on streaming applications with React Native.

What feature or enhancement are you suggesting?

We propose adding support for the new React Native architecture (Fabric and TurboModules) in the react-native-rtmp-publisher library, specifically for React Native versions 0.74 and above.

Pros:

  1. Improved performance due to the new C++ core in Fabric
  2. Better interoperability with native modules through TurboModules
  3. Reduced bridge traffic, leading to smoother video streaming
  4. Potential for better memory management and reduced app size

Platforms affected:

We understand that this is a significant undertaking and would be happy to contribute to the testing support if needed.

YashM20 commented 4 days ago

?