YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix(meetings): faster live-stream reconnect + passive stall notification
Louis Beaumontdab4332e211d
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/meeting_stall_notifications.rs b/apps/screenpipe-app-tauri/src-tauri/src/meeting_stall_notifications.rsindex 672fcc682..0a3fedacf 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/meeting_stall_notifications.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/meeting_stall_notifications.rs@@ -19,7 +19,6 @@use futures::StreamExt;use serde::Deserialize;-use serde_json::json;use tauri::AppHandle;use tauri_plugin_notification::NotificationExt;use tracing::{debug, error, warn};@@ -102,26 +101,12 @@ fn handle_transcript_stall(app: &AppHandle, event: StallEvent) {event.meeting_id, event.provider, elapsed);- let mut actions = Vec::new();- if let Some(meeting_id) = event.meeting_id {- actions.push(json!({- "id": "open-live-notes",- "action": "open-live-notes",- "label": "open note",- "type": "deeplink",- "url": format!("screenpipe://meeting/{meeting_id}?live=1"),- "primary": true,- }));- }-client::send_typed_with_actions("live transcript not flowing",- format!(- "audio is being captured but no transcript has arrived in {elapsed}s — the streaming provider may need a restart"- ),+ format!("audio is being captured but no transcript has arrived in {elapsed}s — retrying in the background"),"meeting",Some(30_000),- actions,+ Vec::new(),);}diff --git a/crates/screenpipe-audio/src/meeting_streaming/controller.rs b/crates/screenpipe-audio/src/meeting_streaming/controller.rsindex 61d6bd3ce..7163c7403 100644--- a/crates/screenpipe-audio/src/meeting_streaming/controller.rs+++ b/crates/screenpipe-audio/src/meeting_streaming/controller.rs@@ -28,7 +28,7 @@ use super::{const LIVE_FINAL_PERSIST_ATTEMPTS: usize = 18;const LIVE_FINAL_PERSIST_RETRY_DELAY: Duration = Duration::from_secs(5);-const PROVIDER_STREAM_RESTART_BACKOFF: Duration = Duration::from_secs(30);+const PROVIDER_STREAM_RESTART_BACKOFF: Duration = Duration::from_secs(5);const LIVE_INACTIVITY_CHECK_INTERVAL: Duration = Duration::from_secs(30);const LIVE_NO_AUDIO_ACTIVITY_TIMEOUT: Duration = Duration::from_secs(15 * 60);const LIVE_MAX_SESSION_DURATION: Duration = Duration::from_secs(2 * 60 * 60);