/recordOpus

option for recording videos server side using opus packets

Primary LanguageJavaScriptMIT LicenseMIT

Opus Audio Recorder

If support for MediaRecorder API is detected( in case of Firefox), my recorder is just a wrapper for it, for other case, I am using Rillke's opus library for compressing wav audio into ogg file on client side.

You can just host the files in client folder in any server, if you just want to record audio from microphone in one shot and save as ogg file, but if you do not want to run out of browser memory( while recording long podcasts and such,) you can keep sending the data as chunks to the server, at desired time intervals and server would join all of them into single file( ffmpeg needed for browsers other than firefox) and provide you the final link.

Things needed:

  • node (for server)
  • ffmpeg (for media manipulation, OPTIONAL)

set-up:

  • npm install
  • ffmpeg must be pre-installed and must be part of path

to start the application, just type npm start in the project root folder.

Sources:

License

See file LICENSE for further information.

Author

Ban Mido