Spaces:
Sleeping
Sleeping
Sync export fidelity fixes + more AI providers
Browse files- src/lib/screencast.ts +1 -0
src/lib/screencast.ts
CHANGED
|
@@ -53,6 +53,7 @@ export interface ScreencastData {
|
|
| 53 |
fps?: number; // capture frame rate (informational)
|
| 54 |
source?: "tab" | "window" | "screen"; // what getDisplayMedia captured (informational)
|
| 55 |
drawCursor?: boolean; // render the animated cursor sprite (true when the OS cursor was suppressed at capture; false = keep the real recorded cursor). default true
|
|
|
|
| 56 |
}
|
| 57 |
|
| 58 |
// Resolved camera state at an instant: zoom + a translate (fractions of frame) so a
|
|
|
|
| 53 |
fps?: number; // capture frame rate (informational)
|
| 54 |
source?: "tab" | "window" | "screen"; // what getDisplayMedia captured (informational)
|
| 55 |
drawCursor?: boolean; // render the animated cursor sprite (true when the OS cursor was suppressed at capture; false = keep the real recorded cursor). default true
|
| 56 |
+
camScale?: number; // AUTO-ZOOM INTENSITY 0..1 applied over the baked `cam` at render time (1 = full baked zoom, 0.5 = half, 0 = OFF/no zoom → shows the whole recording). Lets the user dial back an over-zoomed camera without re-capturing. default 1
|
| 57 |
}
|
| 58 |
|
| 59 |
// Resolved camera state at an instant: zoom + a translate (fractions of frame) so a
|