Hi! First of all, thanks for the work on this Gstreamer plugin.
Background
I want to use gstcefsrc to render webpages in a Gtk4 app. To integrate GStreamer into Gtk4, currently, there are 2 possible solutions:
- By using gtk4paintablesink developed by GStreamer developers.
- By using
clappersink that is distributed with Clapper.
Issue
gstcefsrc works fine with xvimagesink. However, this isn't the case for gtk4paintablesink and clappersink.
When using gstcefsrc with gtk4paintablesink, the pipeline will go to the PLAYING state. (Tested with gst-launch-1.0. Nothing will be shown but audio will be played.) However, when integrated into Gtk4, it shows nothing.
When using gstcefsrc with clappersink, the pipeline will stuck at the PAUSED state forever. When integrated into Gtk4, it shows nothing as well.
Reproduce
To demonstrate the issue, I wrote a minimal Gtk4 video player app in Gjs. You can check it here:
https://github.com/jeffshee/web-renderer-test
Thanks.
Hi! First of all, thanks for the work on this Gstreamer plugin.
Background
I want to use
gstcefsrcto render webpages in a Gtk4 app. To integrate GStreamer into Gtk4, currently, there are 2 possible solutions:clappersinkthat is distributed with Clapper.Issue
gstcefsrcworks fine withxvimagesink. However, this isn't the case forgtk4paintablesinkandclappersink.When using
gstcefsrcwithgtk4paintablesink, the pipeline will go to the PLAYING state. (Tested withgst-launch-1.0. Nothing will be shown but audio will be played.) However, when integrated into Gtk4, it shows nothing.When using
gstcefsrcwithclappersink, the pipeline will stuck at the PAUSED state forever. When integrated into Gtk4, it shows nothing as well.Reproduce
To demonstrate the issue, I wrote a minimal Gtk4 video player app in Gjs. You can check it here:
https://github.com/jeffshee/web-renderer-test
Thanks.