Recording · interface
ClipEncoderOptions
Everything an encode needs: the frame, the rate, the bitrate, and the score's sample rate.
Explained in Recording and clips.
interface ClipEncoderOptions extends ClipEncodeRequestimport type { ClipEncoderOptions } from '@driftengine/media';In depth
The first four are ClipEncodeRequest, which is what clipEncodingSupported asks about, so a
caller can hand the same object to the gate and to open and know they asked one question.
Properties
| Name | Type | Description |
|---|---|---|
sampleRatereadonlyoptional | number | Audio sample rate, so the score and the encoder agree. |