c3d / spice-streaming-agent

Apache License 2.0
2 stars 2 forks source link

Streaming to a web browser #1

Open dumblob opened 3 years ago

dumblob commented 3 years ago

Did anybody try to plumb spice-streaming-agent e.g. to a web server or anything to be able to view the stream in a web browser?

Something like uStreamer does.

c3d commented 3 years ago

There is an HTML5 client https://www.spice-space.org/spice-html5.html but I believe it is not an active project.

dumblob commented 3 years ago

Thanks @c3d . That HTML5 client looks indeed pretty archaic.

Also I noticed my "comparison" to uStreamer might look like apples & oranges. But what I meant is a pipeline Xephyr -> capture the display with gstreamer and send to V4L2 device -> read by uStreamer & streamed away -> wifi -> web browser on a different machine. I'm mainly interested in ultra low latency (bandwidth doesn't matter much). So far this chain can be tuned to about 100-200 ms latency for fullHD on an average CPU and "average" non-congested wifi.

If I could do better in terms of latency by building a chain around spice-streaming-agent (without spending hundreds of hours of writing an optimized app doing exactly this), I'd be glad if someone pushed me in a right direction.