qmlglsink ordering problem (with webrtc stream)
I using: Ubuntu 20.4, Gstreamer 1.16.2 and QT 5.14.2 (https://download.qt.io/archive/qt/5.14/5.14.2/)
I installed all plugins and needed libraries with command: sudo apt-get install -y gstreamer1.0-tools gstreamer1.0-nice gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-plugins-good libgstreamer1.0-dev git libglib2.0-dev libgstreamer-plugins-bad1.0-dev libsoup2.4-dev libjson-glib-dev gstreamer1.0-libav
libgstqmlgl.so I build by my self (in attachment), steps: git clone git://anongit.freedesktop.org/git/gstreamer/gst-plugins-good cd ext/qt/ I changed qtplugin.pro set defines like: DEFINES += HAVE_QT_X11 and build
In attachment you can find also application, steps to run: /opt/Qt5.14.2/5.14.2/gcc_64/bin/qmake make in browser open https://webrtc.nirbheek.in/ on page you will find ID run app ./sample_app ID
function where incoming video stream is handled is handle_media_stream. If you use qmlsink as last element blackscreen appears if last element in pipeline is glsinkbin than greenscreen appears (and sometimes incoming stream for split second)
aslo I used main_test.cpp to verify that qmlsink is working with some local mp4 file.
If you need something else @ystreet please let me know.
Br, Dejan