From e5d3ca57707dd8800f92a6021046f3451d5682f9 Mon Sep 17 00:00:00 2001 From: Johnathon Weaver Date: Wed, 1 Nov 2023 12:35:50 +0800 Subject: [PATCH] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cea3c09..d3ed9d1 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Use one of the following preferred package install methods to immediately get go ## Extra Required Steps -Replace the import statement of `react-native-webrtc` to import from `react-native-webrtc-web-shim` instead. +Import directly from our library instead of `react-native-webrtc`. ```javascript -import { RTCPeerConnection } from 'react-native-webrtc'; @@ -27,7 +27,8 @@ Replace the import statement of `react-native-webrtc` to import from `react-nati #### RTCView -When displaying the `RTCView` component, pass it the `stream` object as a prop instead of `streamURL`. On Web, this component renders an HTML5 video tag. +When displaying the `RTCView` component, pass it the `stream` object as a prop instead of `streamURL`. +On Web, this component renders an HTML5 video tag. ```javascript