Bugs
Done

Embedded media (YouTube, SoundCloud) fails to play on Linux AppImage

Environment:

  • App Version: AnyTwo v0.1.7 (AppImage)
  • Operating System: MX Linux 25.3 / Debian-based (XFCE 64-bit)

Summary:
When embedding media objects (such as YouTube videos or SoundCloud tracks) inside a Page, playback fails completely. YouTube displays the error: "Your browser can't play this video", and SoundCloud tracks cannot be initialized.

Steps to Reproduce:

  1. Launch AnyTwo via the AppImage on Linux.
  2. Open any Page and add a YouTube or SoundCloud embed.
  3. Click "Load" and attempt to play the media.

Expected Behavior:
The embedded media should play directly inside the native WebKitGTK view.

Actual Behavior & Terminal Log:
Playback fails immediately with a browser capability error. Running the AppImage from the terminal outputs the following log:

GStreamer element appsink not found

Suspected Root Cause:
On Linux, Tauri uses WebKitGTK, which relies on the GStreamer pipeline for decoding HTML5 audio and video.

The current AppImage package appears to bundle core WebKitGTK and GStreamer base libraries, but omits essential media plugins (specifically appsink from gst-plugins-base, gst-plugins-good, and gst-libav for H.264/AAC decoding). Attempting to override the runtime path with the host system's GStreamer plugins (GST_PLUGIN_SYSTEM_PATH) causes ABI and symbol mismatches between the bundled libraries and host packages [1.3.3].

Suggested Solutions:

  1. Enable Media Bundling in Tauri: Enable "bundleMediaFramework": true under the Linux bundle configuration in tauri.conf.json so that required GStreamer plugins are packaged within the AppImage [1.3.3].
  2. Provide a Native Package (.deb): Consider releasing a native .deb package alongside the AppImage [2.2.7]. A native package allows proper declaration of runtime dependencies (gstreamer1.0-plugins-good, gstreamer1.0-plugins-bad, gstreamer1.0-libav), delegating codec installation cleanly to the system package manager without library collision [2.2.7].

0 Comments

Sign in to comment

No comments yet. Be the first to share your thoughts.