From 2649e69904a96859843d6820fdf39d0026f96c27 Mon Sep 17 00:00:00 2001 From: SpikeHD <25207995+SpikeHD@users.noreply.github.com> Date: Sat, 17 Aug 2024 11:36:50 -0700 Subject: [PATCH] fix: media stream --- src-tauri/src/functionality/window.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src-tauri/src/functionality/window.rs b/src-tauri/src/functionality/window.rs index 120cbf56..9dc0f456 100644 --- a/src-tauri/src/functionality/window.rs +++ b/src-tauri/src/functionality/window.rs @@ -117,6 +117,7 @@ pub fn enable_webrtc(window: &tauri::WebviewWindow) { let settings = WebViewExt::settings(&wv).unwrap_or_default(); settings.set_enable_webrtc(true); + settings.set_enable_media_stream(true); // We also need to handle permission requests wv.connect_permission_request(|_, req| {