Constructors
Methods
add
- add(
options: { filter: string; value: string }[],
player: AudioPlayer,
): Promise<void> Parameters
- options: { filter: string; value: string }[]
- player: AudioPlayer
Returns Promise<void>
createFFmpeg
- createFFmpeg(...args: string[]): FFmpeg
Returns FFmpeg
createFFmpegWithInputFile
- createFFmpegWithInputFile(input: string, ...args: string[]): FFmpeg
Parameters
- input: string
- ...args: string[]
Returns FFmpeg
remove
- remove(filter: string, player: AudioPlayer): Promise<void>
Returns Promise<void>
removeAll
- removeAll(player: AudioPlayer): Promise<void>
Returns Promise<void>
removeFirst
- removeFirst(filter: string, player: AudioPlayer): Promise<void>
Returns Promise<void>
seek
- seek(time: number, player: AudioPlayer): Promise<boolean>
Returns Promise<boolean>
set
- set(
options: { filter: string; value: string }[],
player: AudioPlayer,
): Promise<void> Parameters
- options: { filter: string; value: string }[]
- player: AudioPlayer
Returns Promise<void>