Skip to content

Commit

Permalink
fix: media stream
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzernik84 committed Aug 17, 2024
1 parent 8095650 commit 389a6e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src-tauri/src/functionality/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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| {
Expand Down

0 comments on commit 389a6e4

Please sign in to comment.