Skip to content

Commit

Permalink
docs(readme): add missing import statement
Browse files Browse the repository at this point in the history
This commit adds a missing import statement to a code snippet.

fix #637
  • Loading branch information
chrisguttandin committed Feb 21, 2021
1 parent 07d4c03 commit 33fbfe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const mediaRecoder = new MediaRecorder(stream);
`extendable-media-recorder` also exports a `register()` function which can be used to define custom encoders. One predefined encoder is available as the [`extendable-media-recorder-wav-encoder` package](https://github.com/chrisguttandin/extendable-media-recorder-wav-encoder). It can be used as shown here.

```js
import { register } from 'extendable-media-recorder';
import { MediaRecorder, register } from 'extendable-media-recorder';
import { connect } from 'extendable-media-recorder-wav-encoder';

await register(await connect());
Expand Down

0 comments on commit 33fbfe1

Please sign in to comment.