[Spice-devel] spice-html5 and raw PCM playback

Jeremy White jwhite at codeweavers.com
Tue May 12 07:44:38 PDT 2015


Hi Lorenzo,

> Maybe I missing something or it's impossible to make PCM audio work on
> MediaSource API.

I'm afraid that is the reality; the Media Source API is pretty limited
in the codecs that it supports, and raw is very definitely not one of them.

> 
> Modify the server would be hard at this moment, but if there's no other
> option, which version(s) should I use
> to force the server to use opus?

You don't say what version of qemu you're using.  You would need to be
using spice server 0.12.5 (or from git) and a qemu of roughly the same
vintage.

You also need to be sure that your client supports Opus (the server
chooses least common denominator).  I don't know the state of the
Ubuntu, but I believe an 0.12.5 spicec vintage should work.  With that
said, spicec is deprecated, and you really should use spicy or
remote-viewer.  For that, you need a libspice-client-gtk that is build
from a spice-gtk source package >= 0.23.

Cheers,

Jeremy


More information about the Spice-devel mailing list