From bc8c224ace234bececec16f7c84d26abc4d0ce49 Mon Sep 17 00:00:00 2001 From: m335 <110462702+m335671@users.noreply.github.com> Date: Fri, 28 Aug 2026 15:59:38 +0200 Subject: [PATCH] fix(linux): bundle GStreamer into the AppImage to fix WebKit media crash The AppImage shipped without GStreamer plugins, so WebKitGTK's media backend (used by LiveKit/PeerJS calls) fails to create appsink/ autoaudiosink elements at runtime. This crashes the WebKit process with a GLib-GObject-CRITICAL assertion on any Linux system that doesn't already have the full GStreamer stack installed (e.g. a fresh Fedora install), as reported in #25. Enable bundleMediaFramework so the AppImage embeds GStreamer itself, and install the required plugin packages on the CI runner so it has something to bundle. Fixes #25 --- .github/workflows/release_main.yml | 4 +++- src-tauri/tauri.conf.json | 7 ++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_main.yml b/.github/workflows/release_main.yml index cd8f96cc..1d14de9f 100644 --- a/.github/workflows/release_main.yml +++ b/.github/workflows/release_main.yml @@ -114,7 +114,9 @@ jobs: sudo apt-get update sudo apt-get install -y libwebkit2gtk-4.1-dev libjavascriptcoregtk-4.1-dev \ build-essential curl wget file libxdo-dev libssl-dev \ - libayatana-appindicator3-dev librsvg2-dev desktop-file-utils + libayatana-appindicator3-dev librsvg2-dev desktop-file-utils \ + gstreamer1.0-plugins-base gstreamer1.0-plugins-good \ + gstreamer1.0-plugins-bad gstreamer1.0-libav - name: Génération des fichiers .env run: | diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 6c5f073f..77f9bbd1 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -44,6 +44,11 @@ "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico" - ] + ], + "linux": { + "appimage": { + "bundleMediaFramework": true + } + } } } \ No newline at end of file