
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
flk-audio-recorder
Advanced tools
A component to record audio.
flk install flk-audio-recorder
hello-world.component.html
<flk-audio-recorder (start)="this.clearRecord()" (record)="this.captureRecord(e)"></flk-audio-recorder>
hello-world.component.js
class HelloWorld {
init() {
this.recordData = null;
this.recordSrc = null;
}
/**
* Capture the given record object
*
* @param {object} record
*/
captureRecord(record) {
this.recordSrc = record.url;
this.recordData = record.blob;
}
/**
* Clear record info
*/
clearRecord() {
this.recordSrc = null;
this.recordData = null;
}
}
The this.recordData is the data to be sent to the backend as the recorded data.
If you're using Audio player you can pass the this.recordSrc to it to play it.
hello-world.component.html
<flk-audio-recorder (start)="this.clearRecord()" (record)="this.captureRecord(e)" ></flk-audio-recorder>
<flk-audio-player *if="this.recordSrc" [src]="this.recordSrc"></flk-audio-player>
name: start
Triggered when the audio recorder is started.
name: record
Triggered when the audio recorder is done.
FAQs
Audio recorder for Falak framework
The npm package flk-audio-recorder receives a total of 1 weekly downloads. As such, flk-audio-recorder popularity was classified as not popular.
We found that flk-audio-recorder demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.