Skip to content

🎥 Make videos programmatically with React

add JSDoc comments for config file

Jonny Burgerdc9311abf547
diff --git a/packages/core/src/config.ts b/packages/core/src/config.ts
index a83c4e5708..85de781ef5 100644
--- a/packages/core/src/config.ts
+++ b/packages/core/src/config.ts
@@ -254,8 +254,15 @@ export type ConfigType = {
}) => string[]
) => void;
+ /**
+ * Set a target audio bitrate to be passed to FFMPEG.
+ */
readonly setAudioBitrate: (bitrate: string | null) => void;
+ /**
+ * Set a target video bitrate to be passed to FFMPEG.
+ * Mutually exclusive with setCrf().
+ */
readonly setVideoBitrate: (bitrate: string | null) => void;
};
};