4b8b60ebfd
The remoting plugin currently has a set_gbm_format() hook, which accepts GBM_FORMAT_* tokens from the host to set as a supported format. GBM_FORMAT_* values are strictly aliased with DRM_FORMAT_*. In order to avoid an extra unnecessary dependency from the remoting plugin on GBM, switch to using the formats from libdrm instead. This fixes a compile error seen when the remoting plugin is enabled: ../remoting/remoting-plugin.c:39:10: fatal error: gbm.h: No such file or directory 39 | #include <gbm.h> | ^~~~~~~ compilation terminated. The error was caused by not having any dependency at all on GBM from the remoting backend, which is fixed here by adding a new dependency on the libdrm headers for drm_fourcc.h. Signed-off-by: Daniel Stone <daniels@collabora.com> |
||
---|---|---|
.. | ||
meson.build | ||
README | ||
remoting-plugin.c | ||
remoting-plugin.h |
Remoting plugin for Weston The Remoting plugin creates a streaming image of a virtual output and transmits it to a remote host. It is currently only supported on the drm-backend. Virtual outputs are created and configured by adding a remote-output section to weston.ini. See man weston-drm(7) for configuration details. This plugin is loaded automatically if any remote-output sections are present. This plugin sends motion jpeg images to a client via RTP using gstreamer, and so requires gstreamer-1.0. This plugin starts sending images immediately when weston is run, and keeps sending them until weston shuts down. The image stream can be received by any appropriately configured RTP client, but a sample gstreamer RTP client script can be found at doc/scripts/remoting-client-receive.bash. Script usage: remoting-client-receive.bash <PORT NUMBER> How to compile --------------- Set --enable-remoting=true when configuring weston. The remoting-plugin.so module is created and installed in the libweston path. How to configure weston.ini ---------------------------- See man weston-drm(7).