Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ResourceOptions

Options for making audio resource

Hierarchy

  • ResourceOptions

Index

Properties

Optional cache

cache: Cache

The cache instance of audio source

cacheWriter

cacheWriter: CacheWriter

The audio cache writer

decoder

decoder: Transform | Duplex

The audio decoder

Optional demuxer

demuxer: Transform

The audio demuxer

identifier

identifier: string

The audio identifier

Optional isLive

isLive: boolean

true if the audio source is livestream, otherwise false

player

player: AudioPlayer

The audio player that create the audio resource

source

source: Readable

The audio source

Generated using TypeDoc