pub fn default_recording_output_path(
app: AppHandle,
format_slug: Option<String>,
) -> StringExpand description
Resolve the default output path for a recording starting now
with the given format slug. Returns the absolute path as a
string (the JS side feeds it back into start_recording’s
output_path if the user doesn’t override).
format_slug is one of "mp4-h264", "mp4-h265", "webm-vp9",
"webm-av1". Unknown slugs fall back to the default
(mp4-h264).
As of M-SAVE.0 the directory comes from
recorder_settings::resolved_output_dir
— the user’s persisted choice if set, else the per-OS default —
so the chosen folder is honored everywhere this path is computed.