can I use <react-native-webrtc> original with live...
# ask-ai
b
can I use react-native-webrtc original with livekit react native client
t
Thanks for reaching out, Sumeet. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
You cannot use the original
react-native-webrtc
package with the LiveKit React Native client. Instead, you need to use a specific fork called
@livekit/react-native-webrtc
, which is designed to work with the LiveKit React Native SDK. To set up the LiveKit React Native client, you should install the following packages together:
Copy code
npm install @livekit/react-native @livekit/react-native-webrtc livekit-client
This fork was created to provide compatibility with LiveKit's requirements and includes necessary WebRTC APIs for React Native environments. Sources: README.md | example/yarn.lock | LiveKit coming to React Native!