I want to write an application to scan QR code, based on GNOME stack: GTK+, Gstreamer, Wayland.
I plan to use Gstreamer to stream webcam video and embed in a GTK+ app. I want this app to be pure Wayland. The problem is that there are so few documentation about letting Gstreamer put its display to an area of GTK window. There is one example about GStreamer + Wayland in gstreamer-plugins-bad repo, but it is in C. I want Python + GIR.
So, could you please give a working example for Python 3.8 + Gstreamer 1.16.2?