react-native-nodemediaclient icon indicating copy to clipboard operation
react-native-nodemediaclient copied to clipboard

Issue regarding starting the livestream on rtmp

Open Virajmakwana opened this issue 1 year ago • 0 comments

NativeExceptionHandler:errorString java.lang.IllegalStateException: Tried to access a JS module before the React instance was fully set up. Calls to ReactContext#getJSModule should only happen once initialize() has been called on your native module. at com.facebook.react.bridge.ReactContext.getJSModule(ReactContext.java:180) at cn.nodemedia.react_native_nodemediaclient.RCTNodePublisherView.lambda$new$0(RCTNodePublisherView.java:45) at cn.nodemedia.react_native_nodemediaclient.RCTNodePublisherView.$r8$lambda$ks-HX2wAepgpDGdxfSdUK9waMc0(Unknown Source:0) at cn.nodemedia.react_native_nodemediaclient.RCTNodePublisherView$$ExternalSyntheticLambda0.onEventCallback(Unknown Source:2) at cn.nodemedia.NodePublisher.onEvent(NodePublisher.java:261)

I am getting this error when triggering vb.current.start() to start the livestream using camera on provided RTMP

I am using below versions.

Reactnative : 0.74.5

react-native-nodemediaclient : 0.3.4

is this nodemediaclient supports the new reactnative architecture and how can i fix this issue??

Virajmakwana avatar Aug 27 '24 12:08 Virajmakwana