Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OggDemuxer

Hierarchy

  • Duplex
    • OggDemuxer

Index

Constructors

constructor

  • new OggDemuxer(options?: DuplexOptions): OggDemuxer

Properties

Private Optional ogg_head

ogg_head?: OggHeader

Private Optional opus_head

opus_head?: Buffer

Private Optional remaining

remaining?: Buffer

Methods

_cleanup

  • _cleanup(): void

_destroy

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

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

          • error: null | Error

          Returns void

    Returns void

_final

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

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

          • Optional error: Error

          Returns void

    Returns void

_read

  • _read(): void

_write

  • _write(chunk: Buffer, _: BufferEncoding, done: (error?: Error) => void): void
  • Parameters

    • chunk: Buffer
    • _: BufferEncoding
    • done: (error?: Error) => void
        • (error?: Error): void
        • Parameters

          • Optional error: Error

          Returns void

    Returns void

Private readOggData

Private readOggHead

Private readOggPage

Generated using TypeDoc