From 33fbfe1599b2e543150447d93716198c575789e2 Mon Sep 17 00:00:00 2001 From: Christoph Guttandin Date: Sun, 21 Feb 2021 15:27:01 +0100 Subject: [PATCH] docs(readme): add missing import statement This commit adds a missing import statement to a code snippet. fix #637 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 61f0b33a..e9a693de 100644 --- a/README.md +++ b/README.md @@ -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());