Im trying to test navigation event using the sample in:
gst-launch-1.0 wpesrc location=https://gstreamer.freedesktop.org/documentation/ ! queue ! webrtcsink enable-data-channel-navigation=true meta="meta,name=web-stream"
gst-launch-1.0 webrtcsrc signaller::producer-peer-id=<webrtcsink-peer-id> enable-data-channel-navigation=true ! videoconvert ! autovideosink
but I can not get the element wpesrc to work or to install it.
WARNING: erroneous pipeline: no element “wpesrc”
Im running ubuntu and I have already install packages
sudo apt install libwpewebkit-1.0-3
libwpewebkit-1.0-dev
libwpewebkit-1.0-doc
wpewebkit-driver
as well as compile gstreamer with
-Dgst-plugins-bad:wpe=enabled
Trying with navigation-enabled I always get this errors on each mouse/keyboard event (Could not send event)
0:00:41.100892227 99261 0x746f00075640 INFO dtlsconnection gstdtlsconnection.c:1071:openssl_poll: handshake is completed
0:00:41.100929907 99261 0x746f00075640 INFO GST_ELEMENT_PADS gstelement.c:1016:gst_element_get_static_pad: found pad sctpdec0:src_1
0:00:41.101115856 99261 0x746f1c032060 INFO webrtcsink net/webrtc/src/webrtcsink/imp.rs:469:gstrswebrtc::webrtcsink::create_navigation_event::{{closure}}: Could not send event: Event { ptr: 0x746f00088470, type: “navigation”, seqnum: Seqnum(2750), structure: Some(application/x-gst-navigation { event: (gchararray) “mouse-move”, pointer_x: (gdouble) 566.000000, pointer_y: (gdouble) 510.000000, state: (GstNavigationModifierType) ((GstNavigationModifierType) GST_NAVIGATION_MODIFIER_NONE) }) }
please help to get wpesrc install or any other recommend way to test navigation events?
Thanks