[Spice-devel] [RFC v3] Allow guest-video codec hot-swap

Kevin Pouget kpouget at redhat.com
Tue Aug 6 15:34:44 UTC 2019


This is a new version of the patch series on guest video codec hot
swapping.

A few TODO remain open/to be discussed, in particular:

- in the client, what is the proper way to fix the visible area issue
- allowing the host admin to control which codec can be used for guest
  streaming
- in the server, on codec change, reset only the streams of the client
  that requested the change

---

# spice-server

Kevin Pouget (3):
  stream-channel: Add preferred video codec capability
  stream-channel: Use the preferred codec list instead of supported
  streaming: Restart guest video streams on video-codec changes

 server/dcc.c               |  30 +--------
 server/main-dispatcher.c   |  31 ++++++++-
 server/main-dispatcher.h   |   1 +
 server/red-stream-device.c |   6 +-
 server/red-stream-device.h |   2 +-
 server/reds.c              |  11 ++++
 server/reds.h              |   2 +-
 server/stream-channel.c    | 130 ++++++++++++++++++++++++++++++++-----
 server/video-stream.c      |  36 ++++++++++
 server/video-stream.h      |   1 +
 10 files changed, 200 insertions(+), 50 deletions(-)

# spice-streaming-agent

Kevin Pouget (4):
  gst-plugin: allow the instantiation of multiple GST encoder plugins
  spice-streaming-agent: fully reset the capture loop on start/stop
    requests
  gst-plugin: Allow per-codec parameters
  concrete-agent: prioritize requested codec for plugin selection

 src/concrete-agent.cpp        | 38 ++++++++++-----------
 src/concrete-agent.hpp        |  2 +-
 src/gst-plugin.cpp            | 62 ++++++++++++++++++++++-------------
 src/spice-streaming-agent.cpp | 21 ++++++++----
 src/stream-port.cpp           |  2 +-
 src/stream-port.hpp           |  4 +--
 6 files changed, 76 insertions(+), 53 deletions(-)

# spice-gtk

Kevin Pouget (2):
  spice-widget: make draw-area visible on update_image
  channel-display: fix bug when sending preferred video codecs

 src/channel-display.c | 8 +++++++-
 src/spice-widget.c    | 2 ++
 2 files changed, 9 insertions(+), 1 deletion(-)

--
2.21.0


More information about the Spice-devel mailing list