Discord Player

WebmDemuxer

Demuxes a Webm stream (containing Opus audio) to output an Opus stream.

WebmDemuxer extends WebmBaseDemuxer

Demuxes a Webm stream (containing Opus audio) to output an Opus stream.

new WebmDemuxer(options);
ParameterTypeOptionalDescription
options{}options that you would pass to a regular Transform stream.

Properties

public static TAGS: any

public static TOO_SHORT: any

Methods

public _checkHead(data): void

ParameterTypeOptional
dataBuffer

public _destroy(err, cb): void

ParameterTypeOptional
errError
cb( error: null,Error ) => void

public _final(cb): void

ParameterTypeOptional
cbTransformCallback

public _transform(chunk, encoding, done): void

ParameterTypeOptional
chunkBuffer
encodingBufferEncoding
doneTransformCallback

On this page