React Native SDK - Errors with sample code - undefined is not a function at addStream #5951
-
I implemented everything as described in the React Native SDK sample inside publish folder and I am still getting this error that says: startPublishing error undefined is not a function TypeError: undefined is not a function at addStream EnvironmentOperating system and version: Macbook M1 Pro. Server running on Ubuntu 18 Steps to reproduceInstall @antmedia/react-native-ant-media Expected behaviourWhen you click the Start Publishing button, the webRTC app on the Ant Media Server should become online. Actual behaviourWhen the screen loads, I get the following logs: LOG localStream.current null LogsstartPublishing error undefined is not a function TypeError: undefined is not a function |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Please check out the updated React Native SDK document. |
Beta Was this translation helpful? Give feedback.
Please check out the updated React Native SDK document.
https://antmedia.io/docs/guides/developer-sdk-and-api/sdk-integration/react-native-sdk/