Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

feat(recording): add StudioQuality enum

Richie McIlroy3431847eb812
diff --git a/crates/recording/src/lib.rs b/crates/recording/src/lib.rs
index a41ea5afb..a9a662ed5 100644
--- a/crates/recording/src/lib.rs
+++ b/crates/recording/src/lib.rs
@@ -42,6 +42,13 @@ pub enum RecordingMode {
Screenshot,
}
+#[derive(Clone, Debug, Copy, Default, PartialEq, Eq)]
+pub enum StudioQuality {
+ #[default]
+ Balanced,
+ Ultra,
+}
+
#[derive(specta::Type, Serialize, Deserialize, Clone, Debug)]
#[serde(rename_all = "camelCase")]
pub struct RecordingOptions {