Hi Devs, I am trying to display a video stream from WebRTCBin to a GTK Window using VideoOverlay rather than have gstreamer create it's own window. The code works fine (gstwebrtc-demos - sendrecv.c). I managed to tweak it to suit my intended purpose but I keep getting the following error:
The error is coming from this line of the code:
Please how can I handle this situation? Thanks. _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
GstVideoOverlay is an interface that is
implemented by most video sinks. You need to call
gst_video_overlay_set_window_handle() on your video sink, not
webrtcbin.
On 3/7/20 6:40 am, Busayo Famutimi wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (499 bytes) Download Attachment |
Hi Matthew, Thanks for your response. However, I am still getting the same error message when I called the overlay function on my sink element.
I then looked up the documentation and I noticed that autovideosink does not implement the GstVideoOverlay interface. How can I fix this problem? Thanks. On Fri, Jul 3, 2020 at 3:01 AM Matthew Waters <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Use a different video sink, or respond
the the 'prepare-window-handle' message from the actual video sink
created by autovideosink (no guarantees that all possible video
sinks chosen by autovideosink support the GstVideoOverlay
interface, but most do). See the documentation or any of the
overlay examples in gst-plugins-base.
On 3/7/20 9:40 pm, Busayo Famutimi wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (499 bytes) Download Attachment |
Hi Matthew, This works great. Thanks. The only problem left is just this issue to be fixed. I hope it's resolved in the next stable release. Thanks. On Fri, Jul 3, 2020 at 1:01 PM Matthew Waters <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |