From 78579052ef82bc2bb24345a520a91f2d8a366459 Mon Sep 17 00:00:00 2001 From: Giridharan GM Date: Tue, 26 Nov 2019 20:08:38 +0530 Subject: [PATCH] Fix screen recorder and introduce previewStream --- README.md | 40 ++++++++++++++++++++++++++++++++++++++-- src/index.ts | 18 +++++++++++------- 2 files changed, 49 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 53a4271..bb17f67 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,16 @@ # react-media-recorder :o2: :video_camera: :microphone: :computer: -`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. +`react-media-recorder` is a fully typed react component with render prop that can be used to: + +- Record audio/video +- Record screen + +using [MediaRecorder API](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder). ## Installation ``` -npm i -S react-media-recorder +npm i react-media-recorder ``` or @@ -168,6 +173,37 @@ A `blob` url that can be wired to an `