how to access mediarecorder / stream #41
-
how to access the stream to e.g. display volume? Would you consider exporting that? |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 1 reply
-
@cipherhell - With the current implementation of the package, the media recorder cannot be accessed. That said, it can be made available fairly easily with a not-so-extensive change. But I had originally left it out because I didn't feel like the end user would have a need for it. Could you maybe explain in more detail why you need it? When you say "display volume" do you mean to say that you want to visualise the volume of whatever is currently being fed to the recorder as a waveform? |
Beta Was this translation helpful? Give feedback.
-
hey, yeah, no I wanted to integrate it with hark and visualize a volumebar. I'm unsure how to patch it or pull request because noob |
Beta Was this translation helpful? Give feedback.
-
Are you referring to this package? https://www.npmjs.com/package/hark And no worries, I'll make the relevant changes today and drop an example here of how you can use it. |
Beta Was this translation helpful? Give feedback.
-
no way, that's insane, thanks, yes I was referring to that package. It's gotten more popular I think, and it's quite convenient to use to get speech onset events. Can I ask, is there any way to set the contraints of the mediarecorder in your library? |
Beta Was this translation helpful? Give feedback.
-
Are you referring to the |
Beta Was this translation helpful? Give feedback.
-
yes that's what I was basically referring to, but if you read closely, the 2.5Mbps applies to video, the audio is 128kbps |
Beta Was this translation helpful? Give feedback.
-
@cipherhell - I've published changes that expose media recorder now. |
Beta Was this translation helpful? Give feedback.
-
@cipherhell - If your problem was resolved, please do mark the above comment as the answer and close the discussion. Thanks. |
Beta Was this translation helpful? Give feedback.
@cipherhell - I've published changes that expose media recorder now.
You can find an example of the changes here. Please mark this comment as the answer and close the discussion if this solves your problems.