-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Galicaster does not run on Wayland #606
Comments
Hi @ppettit, are there any differences between setting XDG_BACKEND=x11 and GDK_BACKEND=x11? In any case, maybe there is a more generic way to embed a GStreamer video on GTK (without using set_window_handle())? |
@Alfro haha, yes A quick google around doesn't come up with an obvious solution. My understanding is that Wayland is designed to stop you from doing things like this (one process drawing into another processes window) but maybe I am missing something. |
I did a quick proof of concept using It works in a fundamentally different way though
Supporting both methods might be very messy - what do you think about moving to the gtksink/gtkglsink way of doing things completely? It is already pretty messy with all the dancing around between the UI thread and the recorder service. Do you think it is worth me implementing that to see how it works? |
+1 |
Galicaster tries to get the
xid
of theGtk.DrawingArea
to embed video which obviously does not exist in Wayland. The error is'GdkWaylandWindow' object has no attribute 'get_xid'
.If started with the
GDK_BACKEND=x11
I getGstVideoTestSrc:gc-videotest-src: streaming stopped, reason not-negotiated (-4)
This seems like it might be complicated to fix...
The text was updated successfully, but these errors were encountered: