Skip to content
  1. Jan 15, 2019
    • Lukáš Hrázký's avatar
      Send the GraphicsDeviceInfo to the server · db1ba71b
      Lukáš Hrázký authored
      
      
      Adds serialization of the GraphicsDeviceInfo message and sends it to the
      server when it starts to stream.
      
      Signed-off-by: default avatarLukáš Hrázký <lhrazky@redhat.com>
      db1ba71b
    • Lukáš Hrázký's avatar
      Interface + implementation of getting device display info · 709b43b8
      Lukáš Hrázký authored
      
      
      Adds an interface method to the FrameCapture class to get the device
      display info (device address and device display id) for each display of
      the graphics device that is captured.
      
      Also adds functions to the API implementing this functionality for X11
      in variants with and without DRM (the non-DRM version is rather limited
      and may not work for more complex setups) as well as some helper
      functions to make it easier for plugins to implement this and avoid code
      duplication.
      
      Implements the new interface method for the two built-in plugins
      (mjpeg-fallback and gst-plugin).
      
      Signed-off-by: default avatarLukáš Hrázký <lhrazky@redhat.com>
      709b43b8
  2. Dec 05, 2018
  3. Oct 16, 2018
    • Lukáš Hrázký's avatar
      Introduce OutboundMessages for the StreamPort class · 4f569420
      Lukáš Hrázký authored and Frediano Ziglio's avatar Frediano Ziglio committed
      
      
      Heavily based on code by Christophe de Dinechin.
      
      Wraps the serialization code in the OutboundMessage class and its
      descendants for each specific message. Uses Cruiously Recurring Template
      Pattern (CRTP) to avoid runtime overhead of polymorphism.
      
      The messages are placed along with the code that sends them, this helps
      to avoid header proliferation, e.g. the CursorMessage requires X11
      headers for it's interface.
      
      Signed-off-by: default avatarLukáš Hrázký <lhrazky@redhat.com>
      Acked-by: default avatarFrediano Ziglio <fziglio@redhat.com>
      4f569420
    • Lukáš Hrázký's avatar
      Introduce InboundMessages for the StreamPort class · 3fdb8311
      Lukáš Hrázký authored and Frediano Ziglio's avatar Frediano Ziglio committed
      
      
      Wraps the deserialization of the received messages in an InboundMessages
      class. The class is created with the deserialized header and the raw
      data of the message. A template function get_payload() returns the
      struct of the concrete message. The function is specialized for each
      incoming message.
      
      While this leaves the responsibility to call the get_payload() function
      with the message according to the type in the header to the caller, the
      solution preserves the efficiency of the original implementation without
      introducing too much complexity around the separation of the code.
      
      Signed-off-by: default avatarLukáš Hrázký <lhrazky@redhat.com>
      Acked-by: default avatarFrediano Ziglio <fziglio@redhat.com>
      3fdb8311
  4. Oct 12, 2018
  5. Oct 02, 2018
  6. Sep 18, 2018
    • Snir Sheriber's avatar
      Adding gstreamer based plugin · f65cb5a8
      Snir Sheriber authored and Frediano Ziglio's avatar Frediano Ziglio committed
      
      
      Gstreamer based plugin utilizing gstreamer elements to capture
      screen from X, convert and encode into h264/h265/vp8/vp9/mjpeg stream
      Configure with --enable-gst-plugin, will be built as a separate plugin.
      
      The plugin was made for testing purposes, it was mainly tested with
      the x264enc (h264 is the defualt codec) encoder.
      To choose codec type use: '-c gst.codec=<h264/h265/vp8/vp9/mjpeg>'
      To specify a certain plugin use: '-c gst.encoder=<plugin name>' in
      addition to its matching codec type (gst.codec).
      
      Signed-off-by: default avatarSnir Sheriber <ssheribe@redhat.com>
      Signed-off-by: default avatarFrediano Ziglio <fziglio@redhat.com>
      Acked-by: default avatarFrediano Ziglio <fziglio@redhat.com>
      f65cb5a8
  7. Aug 09, 2018
  8. Jul 20, 2018
  9. Jul 18, 2018
  10. Jul 10, 2018
  11. Jul 02, 2018
  12. Jun 28, 2018
  13. Jun 25, 2018
  14. Jun 06, 2018
  15. Jun 04, 2018
  16. Jun 01, 2018
  17. May 31, 2018
Loading