Skip to content

Commit

Permalink
Merge pull request #46 from Brendonovich/issue_24
Browse files Browse the repository at this point in the history
Combine video and audio into one ffmpeg process
  • Loading branch information
richiemcilroy authored Jul 16, 2024
2 parents 9155b83 + 84ba2ed commit dc4c38e
Show file tree
Hide file tree
Showing 5 changed files with 644 additions and 549 deletions.
28 changes: 15 additions & 13 deletions apps/desktop/src-tauri/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]

use std::collections::LinkedList;
use std::sync::{Arc};
use std::path::PathBuf;
use cpal::Devices;
use regex::Regex;
use std::collections::LinkedList;
use std::path::PathBuf;
use std::sync::atomic::AtomicBool;
use std::sync::Arc;
use std::vec;
use tauri::{
CustomMenuItem, Manager, SystemTray, SystemTrayEvent, SystemTrayMenu, SystemTraySubmenu, Window,
};
use tauri_plugin_oauth::start;
use tauri_plugin_positioner::{Position, WindowExt};
use tokio::sync::Mutex;
use std::sync::atomic::{AtomicBool};
use std::{vec};
use tauri::{CustomMenuItem, Manager, SystemTray, SystemTrayEvent, SystemTrayMenu, SystemTraySubmenu, Window};
use window_vibrancy::{apply_blur, apply_vibrancy, NSVisualEffectMaterial};
use window_shadows::set_shadow;
use tauri_plugin_positioner::{WindowExt, Position};
use tauri_plugin_oauth::start;
use window_vibrancy::{apply_blur, apply_vibrancy, NSVisualEffectMaterial};

mod media;
mod recording;
mod upload;
mod utils;
mod media;

use recording::{RecordingState, start_dual_recording, stop_all_recordings};
use media::{enumerate_audio_devices};
use utils::{has_screen_capture_access};
use media::enumerate_audio_devices;
use recording::{start_dual_recording, stop_all_recordings, RecordingState};
use utils::has_screen_capture_access;

use ffmpeg_sidecar::{
command::ffmpeg_is_installed,
Expand Down
Loading

1 comment on commit dc4c38e

@vercel
Copy link

@vercel vercel bot commented on dc4c38e Jul 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.