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

lgcortinas lgcortinas at gradiant.org
Mon May 18 05:33:21 PDT 2015


Hi Christophe,

> On Mon, May 18, 2015 at 11:02:34AM +0200, lgcortinas wrote:
>> Hi Jeremy, thanks for your help.
>>> 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.
>> Now I have upgraded to these versions:
>>      qemu-kvm                          2.1+dfsg-4ubuntu6.6
>>      libspice-server1:amd64            0.12.5-1
>>      spice-client                      0.12.5-1
>>      libopus0                          1.1-0ubuntu1
>>> 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.
>> After the upgrade the problem remains the same, the spice-html5
>> client receives the audio in raw PCM format.I've made the update
>> manually from the ubuntu 14.04(trusty) repositories to the ubuntu
>> 14.10(utopic) ones, so, maybe I need to upgrade more packages,
>> but I couldn't find any differences in the dependencies between
>> old and new versions.
> I'd check what remote-viewer and spice-server links with using ldd. The
> output should contain libopus.so.0:
> ldd /usr/lib64/libspice-server.so.1 |grep opus
>          libopus.so.0 => /lib64/libopus.so.0 (0x00007fb4b0eba000)
>
> Christophe

My path is different, but the opus lib appears in the output:

ldd /usr/lib/x86_64-linux-gnu/libspice-server.so.1 |grep opus
     libopus.so.0 => /usr/lib/x86_64-linux-gnu/libopus.so.0 
(0x00007f54890db000)

It may be another thing.

Thanks.

Lorenzo
-- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150518/133f6859/attachment.html>


More information about the Spice-devel mailing list