Skip to content

Commit 3ee2848

Browse files
authored
Update README.md
Update usage with options
1 parent ae96943 commit 3ee2848

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,22 @@ SoundRecorder.stop()
9191
console.log('stopped recording, audio file saved at: ' + result.path);
9292
});
9393

94+
//usage with Options:
95+
96+
```
97+
SoundRecorder.start(
98+
SoundRecorder.PATH_CACHE + '/' + fileName + '.mp4',
99+
{
100+
quality: SoundRecorder.QUALITY_MAX,
101+
format : SoundRecorder.FORMAT_AAC_ADTS,
102+
103+
}
104+
).then(function () {
105+
106+
107+
});
108+
```
109+
94110
```
95111

96112

0 commit comments

Comments
 (0)