Skip to content

Commit e5d3ca5

Browse files
authored
Update README.md
1 parent b1e1de2 commit e5d3ca5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Use one of the following preferred package install methods to immediately get go
1818

1919
## Extra Required Steps
2020

21-
Replace the import statement of `react-native-webrtc` to import from `react-native-webrtc-web-shim` instead.
21+
Import directly from our library instead of `react-native-webrtc`.
2222

2323
```javascript
2424
-import { RTCPeerConnection } from 'react-native-webrtc';
@@ -27,7 +27,8 @@ Replace the import statement of `react-native-webrtc` to import from `react-nati
2727

2828
#### RTCView
2929

30-
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.
30+
When displaying the `RTCView` component, pass it the `stream` object as a prop instead of `streamURL`.
31+
On Web, this component renders an HTML5 video tag.
3132

3233
```javascript
3334
<RTCView
@@ -62,4 +63,4 @@ Everyone is welcome and every little helps.
6263
## Related Projects
6364

6465
Looking for extra functionality coverage?
65-
The [react-native-webrtc](https://github.com/react-native-webrtc) organization provides a number of packages which are more than useful when developing Real Time Communication applications.
66+
The [react-native-webrtc](https://github.com/react-native-webrtc) organization provides a number of packages which are more than useful when developing Real Time Communication applications.

0 commit comments

Comments
 (0)