Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Protected encoder

Protected pcm_length

pcm_length: number

Methods

_destroy

  • _destroy(error: null | Error, callback: (error: null | Error) => void): void
  • Parameters

    • error: null | Error
    • callback: (error: null | Error) => void
        • (error: null | Error): void
        • Parameters

          • error: null | Error

          Returns void

    Returns void

_final

  • _final(callback: (error?: null | Error) => void): void
  • Parameters

    • callback: (error?: null | Error) => void
        • (error?: null | Error): void
        • Parameters

          • Optional error: null | Error

          Returns void

    Returns void

_read

  • _read(): void

Abstract _write

  • _write(chunk: Buffer, enc: BufferEncoding, next: (error?: null | Error) => void): void
  • Parameters

    • chunk: Buffer
    • enc: BufferEncoding
    • next: (error?: null | Error) => void
        • (error?: null | Error): void
        • Parameters

          • Optional error: null | Error

          Returns void

    Returns void

Abstract applyCTL

  • applyCTL(ctl: number, value: number): void

bitrate

  • bitrate(bitrate: number): void

Private cleanup

  • cleanup(): void

Protected decode

  • decode(buffer: Buffer): Buffer

Protected encode

  • encode(buf: Buffer): Buffer

setFEC

  • setFEC(enabled: boolean): void

setPLP

  • setPLP(percentage: number): void

Generated using TypeDoc