[Spice-devel] Shared Playback with simultaneous clients connection
Frediano Ziglio
fziglio at redhat.com
Sat Sep 5 18:32:26 UTC 2020
> Hello,
> I am a college student working on my senior project for Vermont Technical
> College. My little team hoped to use, the kimchi/wok environment to create a
> collaborative web browsing service. I have used the proper settings to allow
> for multiple users to use the same VM. But I have noticed both in practice
> and in the documentation; that you cannot have audio for any subsequent
> connections after the first one. I was curious if that feature has been
> added to later versions, or if it was still being worked out along the
> pipeline.
> Would you be able to give me any more information?
> Thank you for your time,
> Kevin Thayer
> B.S. CIT
Hi,
short answer:
Not possible and there's no plan to support it.
Long answer:
Multi client support was started many years ago but then abandoned although still
in the code. Nobody remove it but also nobody improved and tested since long time.
On the other hand however nobody wanted to break the existing multi client support
and the channel added was even tested a bit to see if multi client worked.
I don't think that currently, maybe with some limitations, it would be crazily
hard to support multi client for playback channel. At the time multi client was
written (time before I knew SPICE even existed) sound channels had an entirely
different implementation which was written not supporting multi client. More
recently sound channels inherit from RedChannel which allows to support multiple
channels. I think that removing the support for time sync if you have more
than a client and not sending audio frames if client does not support the encoding
of the first client (which is very probable) it shouldn't be hard to implement it.
Not saying that I personally have time to try.
Frediano
More information about the Spice-devel
mailing list