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

Issue regarding starting the livestream on rtmp #21

Open
Virajmakwana opened this issue Aug 27, 2024 · 0 comments
Open

Issue regarding starting the livestream on rtmp #21

Virajmakwana opened this issue Aug 27, 2024 · 0 comments

Comments

@Virajmakwana
Copy link

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??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant