Correct me if I’m wrong at any point here. AFAIK, gtk can only be used on the main thread. Since I’m using async Commands (functions that you can call from the webview frontend) on tauri, the functions run on a separate thread. So ig gtk based sinks can’t be used?
I tried using glimagesink with VideoOverlay and I’m getting this error multiple times: Gstreamer-GL-Critical: Failed to flush Wayland connection.
I tried using waylandsink and I’m getting:
Application did not provide a wayland display handle cannot use an externally-supplied-surface without an externally-supplied display handle. Consider providing a display handle from your application with GstContext
And also since tauri used GTK3, embedding should be fine ig?
What do you recommend I do?