[Bug 96208] Audio lag issue in large bandwidth network

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 25 12:56:41 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=96208

Victor Toso <bugzilla at victortoso.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla at victortoso.com
         Resolution|---                         |NOTOURBUG

--- Comment #1 from Victor Toso <bugzilla at victortoso.com> ---
(In reply to Dharmesh from comment #0)
> Hello,
> 
> I am using aSpice client installed on custom Android device with dual core
> processor and 1 GB RAM. I have both Ethernet and WiFi network interface.
> 
> Spice server(0.12.7) and Qemu configured in Ubuntu(14) Linux machine. The VM
> guest OS(Buildroot) plays SWF flash animation file with audio.
> 
> I have faced audio lag issue about around 1 second through Ethernet and for
> different routers with Higher bandwidth.
> 
> In some routers, I have got audio sync and all things work perfect.

I don't really think the problem is the network but the audio decoding.

> I have checked VM logs and found that the low bandwidth messages for routers
> which work for me while others have higher bandwidth values.

How cool is that? With lower bandwith the audio works! In the code I can see on
sound.c:

> delay_val = main_channel_client_is_low_bandwidth(mcc) ? 0 : 1; 
> if (setsockopt(stream->socket, IPPROTO_TCP, TCP_NODELAY, &delay_val, sizeof(delay_val)) == -1) {
...

But I don't really think it would be related to your problem.

> I have checked same behavior in Samsung Galaxy Note-II phone. 
> 
> Can any one help me to solve this issue??

I have played with real-time audio decoding on Android and I got really
frustrated with the outcome. That was 3 years ago so I hope it is much better
now. That being aSpice is not really maintained by us so I'm not sure how we
can help with this client.

If this client is based on spice-gtk, one could play with SPICE_DISABLE_CELT or
SPICE_DISABLE_OPUS but I'm not aware of other ways to change audio
configuration.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-bugs/attachments/20160525/11d21b39/attachment.html>


More information about the spice-bugs mailing list