Skip to content

Commit

Permalink
Forgot to update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaCircuit committed Nov 22, 2019
1 parent 5e98328 commit 7cb0dea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 7cb0dea

Please sign in to comment.