EncoderProperty
Electron APIs / Recorder / EncoderProperty
Configurable property of an encoder.
Used to describe encoder settings such as bitrates, presets, or modes. Provides metadata to help display options in a UI or validate configuration.
Example
const bitrateProperty: EncoderProperty = {
default: 4500,
description: "Target video bitrate in kbps.",
values: {
3000: "Low quality",
4500: "Medium quality (default)",
6000: "High quality",
},
};