From 7cb0dea90c041e963b67d6ba29e9a54092f9d4ae Mon Sep 17 00:00:00 2001 From: Giridharan GM Date: Fri, 22 Nov 2019 10:21:26 +0530 Subject: [PATCH] Forgot to update readme --- README.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a3e1253..53a4271 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,13 @@ if there's only `audio` is enabled, } ``` +#### mediaRecorderOptions + +An optional options object that will be passed to `MediaRecorder`. Please note that if you specify the MIME type via either `audio` or `video` prop _and_ through this `mediaRecorderOptions`, the `mediaRecorderOptions` have higher precedence. + +type: `object` +default: `{}` + #### onStop A `function` that would get invoked when the MediaRecorder stops. It'll provide the blob url as its param. diff --git a/package.json b/package.json index 6804f82..e65a8b3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-media-recorder", - "version": "1.1.0", + "version": "1.1.1", "description": "A React component based on MediaRecorder() API to record audio/video streams", "main": "index.js", "scripts": {