Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@yoonit/javascript-recorder

Package Overview
Dependencies
Maintainers
11
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yoonit/javascript-recorder

A JavaScript Recording Library, powered by Cyberlabs.

  • 0.0.1-alpha.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
11
Created
Source

yoonit-recorder

How to run the project

npm install @yoonit/javascript-recorder

How to use it

import YooRecorder from '@yoonit/javascript-recorder'

const recorder = await YooRecorder()

It's important to allow microphone, to audio capture be possible.

Methods

start

  • It starts recording audio.
recorder.start()


pause

  • Pauses current audio record.
recorder.pause()

stop

  • It stops recording and clear it.
recorder.stop()

clear

  • It clears recorded data.
recorder.clear()

getMedia

  • Returns captured media.
const media = await recorder.getMedia()

sendAudio(media.audioBlob)


Returns:
PropertyDescriptionType
audioAudio file typewmv
audioBlobAudio blobbinary
audioUrlAudio URLstring
fileAudio file objectFile
playFunction to play recorded audioFunction

FAQs

Package last updated on 14 Sep 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc