OggDemuxer
Demuxes an Ogg stream (containing Opus audio) to output an Opus stream.
OggDemuxer extends Transform
Demuxes an Ogg stream (containing Opus audio) to output an Opus stream.
| Parameter | Type | Optional | Description |
|---|---|---|---|
| options | {} | ✅ | options that you would pass to a regular Transform stream. |
Methods
public _destroy(err, cb): void
public _final(cb): void
| Parameter | Type | Optional |
|---|---|---|
| cb | TransformCallback | ❌ |
public _transform(chunk, encoding, done): void
| Parameter | Type | Optional |
|---|---|---|
| chunk | Buffer | ❌ |
| encoding | BufferEncoding | ❌ |
| done | TransformCallback | ❌ |