/discord-media-player

@discordjs/voice wrapper to manage audio resource easier

Primary LanguageTypeScriptMIT LicenseMIT

discord-media-player

NPM Version NPM Downloads

Table Of Contents

About

@discordjs/voice wrapper to manage audio resource easier

With some additional features such as:

  • Caching
  • Looping
  • Filtering
  • Seeking

Dependencies

Opus Libraries

Required, install one of the following:

  • @discordjs/opus (Recommended)
  • node-opus
  • opusscript

Encryption Libraries

Required, install one of the following:

  • sodium
  • libsodium-wrappers
  • tweetnacl

FFmpeg

Optional, choose one of the following:

  • FFmpeg (Install manually on the machine)
  • npm install ffmpeg-static

FFmpeg is used for audio filters, arbitrary source, and fallback when no opus format found.

Examples

Links

Contributing

Suggestion will most likely won't be accepted.

Before creating an issue, ensure it hasn't already been reported, and double-check the Documentation.

See CONTRIBUTING.md before submitting Pull Request.