You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`react-media-recorder` is a fully typed react component with render prop that can be used to record audio/video streams or the screens using [MediaRecorder](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder) API.
3
+
`react-media-recorder` is a fully typed react component with render prop that can be used to:
4
+
5
+
- Record audio/video
6
+
- Record screen
7
+
8
+
using [MediaRecorder API](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder).
4
9
5
10
## Installation
6
11
7
12
```
8
-
npm i -S react-media-recorder
13
+
npm i react-media-recorder
9
14
```
10
15
11
16
or
@@ -168,6 +173,37 @@ A `blob` url that can be wired to an `<audio />`, `<video />` or an `<a />` elem
168
173
169
174
A boolean prop that tells whether the audio is muted or not.
170
175
176
+
#### previewStream
177
+
178
+
If you want to create a live-preview of the video to the user, you can use this _stream_ and attach it to a `<video />` element. Please note that this is a **muted stream**. This is by design to get rid of internal microphone feedbacks on machines like laptop.
0 commit comments