https://github.com/c3d/spice-streaming-agent
https://github.com/c3d/spice-streaming-agent
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/c3d/spice-streaming-agent
- Owner: c3d
- License: apache-2.0
- Created: 2017-11-22T15:42:05.000Z (over 8 years ago)
- Default Branch: c3d-build
- Last Pushed: 2021-04-02T10:28:53.000Z (about 5 years ago)
- Last Synced: 2025-02-17T11:25:21.692Z (over 1 year ago)
- Language: C++
- Size: 259 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README
- Changelog: ChangeLog
- License: COPYING
- Authors: AUTHORS
Awesome Lists containing this project
README
Introduction
============
The SPICE Streaming Agent is a guest-side daemon which captures the
guest video output, encodes it to a video stream,and forwards the resulting
stream to the host to be sent through SPICE. The capture and encoding are done
through the use of plugins, so a variety of video format and capture/encoding
methods (hardware/software) can be used. For now, spice-streaming-agent only
provides software encoding to MJPEG.
Virtual Machine Configuration
=============================
In order to set up streaming, qemu needs to expose a
`org.spice-space.stream.0` virtio port, associated with a
corresponding Spice port.
Using virt-manager
------------------
In the hardware details, click on "Add Hardware", then select
"Channel". Add a "Spice port" device type with the
"org.spice-space.stream.0" name. You also need to set "Channel" to
"org.spice-space.stream.0"
Using libvirt
-------------
[source,xml]
Using QEMU
----------
[source,sh]
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel1,id=channel1,name=org.spice-space.stream.0 -chardev spiceport,name=org.spice-space.stream.0,id=charchannel1