Replies: 1 comment
-
I suppose we could make the MediaRecorder object pluggable, perhaps via the options. Then you'd do something like: import { MediaRecorder, register } from 'extendable-media-recorder'
import { connect } from 'extendable-media-recorder-wav-encoder'
await register(await connect())
record = wavesurfer.registerPlugin(
RecordPlugin.create({
mimeType: 'audio/wav',
MediaRecorder,
}),
) Pull requests are welcome! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There I found a package support recording with wav encoding
https://stackoverflow.com/questions/65191193/media-recorder-save-in-wav-format-across-browsers
https://github.com/chrisguttandin/extendable-media-recorder
I simply changed the code in record.ts from
to
and add any to the types of mediaRecorder (I don't know the right type, not familiar with ts, sorry)
It worked with
Please consider to support it, thx.
Beta Was this translation helpful? Give feedback.
All reactions