<div dir="ltr">Hi <span style="font-family:arial,sans-serif;font-size:13px">i iordanov:</span><div><span style="font-family:arial,sans-serif;font-size:13px"> I am also trying to build bVNC. Everything goes well, except the dependencies. For example:</span></div>
<div><font face="arial, sans-serif">"/bVNC/jni/src/channel-record.c:416:57: error: 'celt_int16_t' undeclared (first use in this function)" I've already ported 0.11.1 to android, and things like glib(Port glib: </font><a href="http://qinchuan.me/article.php?id=62">http://qinchuan.me/article.php?id=62</a>)<span style="font-family:arial,sans-serif"> and so on. But,</span></div>
<div><span style="font-family:arial,sans-serif">what the version of celt you used? </span></div><div><span style="font-family:arial,sans-serif"> If you have time, please make a list showing the versions of the </span><span style="font-family:arial,sans-serif;font-size:13px">libraries. That will be a great help!</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Thanks!</span></div><div><font face="arial, sans-serif"><br></font></div><div>
<font face="arial, sans-serif">l</font><span style="font-family:arial,sans-serif">inuxqc</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Aug 5, 2013 at 10:12 PM, <span dir="ltr"><<a href="mailto:spice-devel-request@lists.freedesktop.org" target="_blank">spice-devel-request@lists.freedesktop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Send Spice-devel mailing list submissions to<br>
<a href="mailto:spice-devel@lists.freedesktop.org">spice-devel@lists.freedesktop.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:spice-devel-request@lists.freedesktop.org">spice-devel-request@lists.freedesktop.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:spice-devel-owner@lists.freedesktop.org">spice-devel-owner@lists.freedesktop.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Spice-devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. ??? porting the virt-viewer onto Android (jojo)<br>
2. Re: ??? porting the virt-viewer onto Android (i iordanov)<br>
3. Re: Opus, alternative video codec and hardware acceleration<br>
(Christophe Fergeau)<br>
4. Re: spice-gtk debugging (Marc-Andr? Lureau)<br>
5. Re: create spice proxy use spice console to server in web<br>
browser (Marc-Andr? Lureau)<br>
6. Re: Opus, alternative video codec and hardware acceleration<br>
(Fabio Fantoni)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 5 Aug 2013 10:08:28 +0800<br>
From: jojo <<a href="mailto:rjiejie@gmail.com">rjiejie@gmail.com</a>><br>
To: i iordanov <<a href="mailto:iiordanov@gmail.com">iiordanov@gmail.com</a>><br>
Cc: spice-devel <<a href="mailto:spice-devel@lists.freedesktop.org">spice-devel@lists.freedesktop.org</a>>, Marc-Andr? Lureau<br>
<<a href="mailto:mlureau@redhat.com">mlureau@redhat.com</a>>, letterdove <<a href="mailto:letterdove@yeah.net">letterdove@yeah.net</a>><br>
Subject: [Spice-devel] ??? porting the virt-viewer onto Android<br>
Message-ID: <<a href="mailto:71115070CE264F36957D8201192748F7@gmail.com">71115070CE264F36957D8201192748F7@gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi,<br>
Almost of all what you said is right.<br>
<br>
Ok, i have enabled Audio by now, please give me a little more time.<br>
<br>
And it will be much more simple to build aSPICE client with dependence lib(glib and so on).<br>
<br>
Thanks,<br>
<br>
- Jojo<br>
<br>
<br>
? 2013?7?26???????3:21?i iordanov ???<br>
<br>
> Hello!<br>
><br>
> I've cc'd Jojo with whom we discussed at length building aSPICE and succeeded in the end to set up a build environment on his machine. Jojo, please chime in if I forget something.<br>
><br>
> 1) One needs to build a set of libraries which Jojo and I were able to build, but so far haven't found the time to put together build instructions. Jojo, will you be able to do so? It would be of great help at this time, and it's fresher in your mind.<br>
><br>
> 2) Yes, the build instructions for the native code are simply ndk-build, as Jojo (cc'd) can attest.<br>
><br>
> 3) However there are currently *TWO* places where a boolean "isSpice* must be set manually to true. This will be fixed in a future release to be one place. One is in VncCanvas, and the other in CompactBitmapData. This variable is ordinarily set to true if the package name is aSPICE, however, if memory serves me right setting the package name to aSPICE (without moving a bunch of directories around and also run running sed liberally on the code) may break sqlitegen, a package which sets up all the settings database-related files. Sqlitegen is left over from android-vnc-viewer.<br>
><br>
> 4) Finally, since the JNI calls in the project as it appears in github (as bVNC) will originate from com.iiordanov.bVNC and not com.iiordanov.aSPICE, there is a sed command I sent to Jojo which can be used to automatically fix the native code for use in bVNC. I really should think about how to get rid of this requirement. The command follows:<br>
><br>
> cd bVNC/eclipse_projects/bVNC/jni/src/android<br>
> sed -i 's/\(com.iiordanov.\)aSPICE/\1bVNC/' *<br>
><br>
> Jojo, was there anything else that needed to be done? Can you provide build instructions for the library dependencies?<br>
><br>
> Thanks!<br>
> iordan<br>
><br>
><br>
><br>
> On Wed, Jul 24, 2013 at 10:16 AM, Marc-Andr? Lureau <<a href="mailto:mlureau@redhat.com">mlureau@redhat.com</a> (mailto:<a href="mailto:mlureau@redhat.com">mlureau@redhat.com</a>)> wrote:<br>
> > Hi<br>
> ><br>
> > ----- Mensaje original -----<br>
> > > Dear Miss/Mr,<br>
> > > I am an developer addicted to appliction development on Linux platform. And I<br>
> > > have been enthusiastic over KVM technoly for while and experienced the spice<br>
> > > client software virt-viewer. Now I'd like to port the virt-viewer onto<br>
> > > Android platform. I find it difficult to implement it for me ,however,since<br>
> > > I am in fact lacking experience on across-platformed transplant.<br>
> > > Additionally I 've not grasped of the vir-viewer thoroughly. I would<br>
> > > appreciate you if you can give me some suggestions.<br>
> ><br>
> > Iordan implemented aSpice, it is part of bVNC<br>
> ><br>
> > <a href="https://github.com/iiordanov/bVNC" target="_blank">https://github.com/iiordanov/bVNC</a><br>
> ><br>
> > There is no build instructions, but ndk-build should work. However, you need a bunch of libraries that are difficult to find or cross-compile yourself. It would be nice to automate this somehow with a cross-build system like cerbero.<br>
><br>
><br>
><br>
> --<br>
> The conscious mind has only one thread of execution.<br>
> _______________________________________________<br>
> Spice-devel mailing list<br>
> <a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a> (mailto:<a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a>)<br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
><br>
><br>
><br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.freedesktop.org/archives/spice-devel/attachments/20130805/2dc5c689/attachment-0001.html" target="_blank">http://lists.freedesktop.org/archives/spice-devel/attachments/20130805/2dc5c689/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 5 Aug 2013 04:55:05 -0400<br>
From: i iordanov <<a href="mailto:iiordanov@gmail.com">iiordanov@gmail.com</a>><br>
To: jojo <<a href="mailto:rjiejie@gmail.com">rjiejie@gmail.com</a>><br>
Cc: spice-devel <<a href="mailto:spice-devel@lists.freedesktop.org">spice-devel@lists.freedesktop.org</a>><br>
Subject: Re: [Spice-devel] ??? porting the virt-viewer onto Android<br>
Message-ID:<br>
<CAMS0tn1pr_OsbVNbWtU82XAhDR5_nbG7T=<a href="mailto:sZPZmE%2BeckS3_YVA@mail.gmail.com">sZPZmE+eckS3_YVA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi Jojo,<br>
<br>
On Sun, Aug 4, 2013 at 10:08 PM, jojo <<a href="mailto:rjiejie@gmail.com">rjiejie@gmail.com</a>> wrote:<br>
<br>
> Hi,<br>
> Almost of all what you said is right.<br>
> Ok, i have enabled Audio by now, please give me a little more time.<br>
><br>
<br>
Good news! I can't wait to see your code! :)<br>
<br>
<br>
><br>
> And it will be much more simple to build aSPICE client with dependence<br>
> lib(glib and so on).<br>
><br>
<br>
More good news! Many thanks Jojo, we await your improvements.<br>
<br>
Cheers,<br>
iordan<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.freedesktop.org/archives/spice-devel/attachments/20130805/150a133e/attachment-0001.html" target="_blank">http://lists.freedesktop.org/archives/spice-devel/attachments/20130805/150a133e/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Mon, 5 Aug 2013 12:25:16 +0200<br>
From: Christophe Fergeau <<a href="mailto:cfergeau@redhat.com">cfergeau@redhat.com</a>><br>
To: Gerd Hoffmann <<a href="mailto:kraxel@redhat.com">kraxel@redhat.com</a>><br>
Cc: <a href="mailto:spice-devel@lists.freedesktop.org">spice-devel@lists.freedesktop.org</a><br>
Subject: Re: [Spice-devel] Opus, alternative video codec and hardware<br>
acceleration<br>
Message-ID: <<a href="mailto:20130805102516.GB32710@teriyaki.wifi.vutbr.cz">20130805102516.GB32710@teriyaki.wifi.vutbr.cz</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hey,<br>
<br>
On Fri, Aug 02, 2013 at 09:11:07AM +0200, Gerd Hoffmann wrote:<br>
> Hi,<br>
><br>
> > And, finally, you actually need someone to do the work. I don't really<br>
> > have a sense how much work the qemu side would be.<br>
><br>
> Nothing ;)<br>
><br>
> You just have to get the interface changes in server/spice.h right.<br>
> Basically you'll go bump the interface minor version<br>
> (SPICE_INTERFACE_PLAYBACK_MINOR) from 2 to 3 and change the sample rate<br>
> (SPICE_INTERFACE_PLAYBACK_FREQ) from 44100 to 48000. Same for<br>
> recording. Done.<br>
><br>
> Then spice-server has to check the minor version field when qemu<br>
> registers a sound interface. When the minor is 2 or smaller qemu was<br>
> compiled against older libspice-server and expects/sends 44.1k samples.<br>
> When it is 3 or greater 48k is used.<br>
<br>
<br>
I've started looking at that. Using either 48k or 44.1 depending on<br>
spice-server is easy. The annoying issue is when the server/qemu<br>
agreed to use 48k internally, but a client only supporting celt tries to<br>
connect, then you need to do some resampling, and this means we need a bit<br>
of refactoring of the existing code to get this to work.<br>
<br>
Christophe<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: not available<br>
Type: application/pgp-signature<br>
Size: 198 bytes<br>
Desc: not available<br>
URL: <<a href="http://lists.freedesktop.org/archives/spice-devel/attachments/20130805/c61c1a60/attachment-0001.pgp" target="_blank">http://lists.freedesktop.org/archives/spice-devel/attachments/20130805/c61c1a60/attachment-0001.pgp</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Mon, 5 Aug 2013 09:01:20 -0400 (EDT)<br>
From: Marc-Andr? Lureau <<a href="mailto:mlureau@redhat.com">mlureau@redhat.com</a>><br>
To: songtianyi <<a href="mailto:songtianyi630@163.com">songtianyi630@163.com</a>><br>
Cc: spice-devel <<a href="mailto:spice-devel@lists.freedesktop.org">spice-devel@lists.freedesktop.org</a>><br>
Subject: Re: [Spice-devel] spice-gtk debugging<br>
Message-ID:<br>
<<a href="mailto:1634265109.12547556.1375707680898.JavaMail.root@redhat.com">1634265109.12547556.1375707680898.JavaMail.root@redhat.com</a>><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
Hi<br>
<br>
----- Mensaje original -----<br>
> Hi,<br>
> i am new to spice, it seems no detail documentation in <a href="http://spice-space.org" target="_blank">http://spice-space.org</a><br>
> ? The only way to deeply undertand spice (data flow) is reading the code?<br>
> -gtk-debug option of spicy offers some useful information, but it seems not<br>
> very helpful. How should i start?<br>
<br>
You can start with some of the reference doc: <a href="http://www.spice-space.org/documentation.html" target="_blank">http://www.spice-space.org/documentation.html</a><br>
<br>
Reading the client code might help to understand the protocol. The server code is notoriously more difficult.<br>
<br>
There are different kind of channels. The playback channel is probably one of the easiest. The display or main channels are certainly more complicated.<br>
<br>
What are you interested in?<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Mon, 5 Aug 2013 09:04:15 -0400 (EDT)<br>
From: Marc-Andr? Lureau <<a href="mailto:mlureau@redhat.com">mlureau@redhat.com</a>><br>
To: Vasiliy Tolstov <<a href="mailto:v.tolstov@selfip.ru">v.tolstov@selfip.ru</a>><br>
Cc: <a href="mailto:spice-devel@lists.freedesktop.org">spice-devel@lists.freedesktop.org</a><br>
Subject: Re: [Spice-devel] create spice proxy use spice console to<br>
server in web browser<br>
Message-ID:<br>
<<a href="mailto:667744446.12549229.1375707855655.JavaMail.root@redhat.com">667744446.12549229.1375707855655.JavaMail.root@redhat.com</a>><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
<br>
<br>
----- Mensaje original -----<br>
> Hello. I want to provide for users console to server like vnc, does it<br>
> possible now via websocket and html5 compatible browser?<br>
<br>
Yes. For a more complete answer, see also <a href="http://www.spice-space.org/page/Html5" target="_blank">http://www.spice-space.org/page/Html5</a><br>
<br>
> Another question - if i want to hide my real virtual servers and<br>
> providefor users single point to enter to their consoles.<br>
> For example users authorized and after that i known to that server i<br>
> need to proxy clients. Where i can find needed docs to create this<br>
> app? Proxy is that tcp proxy or http?<br>
<br>
You can use spice-gtk based client, and set a HTTP CONNECT proxy. Then set SPICE_PROXY env variable to point to your proxy.<br>
<br>
Or you could use, for example, SSH tunnels (virt-viewer/virt-manager create them for you).<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Mon, 05 Aug 2013 16:12:11 +0200<br>
From: Fabio Fantoni <<a href="mailto:fantonifabio@tiscali.it">fantonifabio@tiscali.it</a>><br>
To: Jeremy White <<a href="mailto:jwhite@codeweavers.com">jwhite@codeweavers.com</a>><br>
Cc: <a href="mailto:spice-devel@lists.freedesktop.org">spice-devel@lists.freedesktop.org</a><br>
Subject: Re: [Spice-devel] Opus, alternative video codec and hardware<br>
acceleration<br>
Message-ID: <<a href="mailto:51FFB2BB.8090006@tiscali.it">51FFB2BB.8090006@tiscali.it</a>><br>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"<br>
<br>
Il 01/08/2013 21:31, Jeremy White ha scritto:<br>
> On 08/01/2013 07:54 AM, Fabio Fantoni wrote:<br>
>> Are there news about these things?<br>
>> - Opus (now stable) implementation and the option to have celt as<br>
>> optional on compile.<br>
>> about celt optional there is already a patch from one debian maintainer.<br>
> I, too, am interested in this. My survey of the archives suggests three<br>
> issues. One, we have to be over our anger at the celt bait and switch<br>
> and we have to trust that opus will be stable.<br>
><br>
> Two, we have a sample rate issue, which I think Gerd summarized best here:<br>
> <a href="http://lists.freedesktop.org/archives/spice-devel/2012-June/009645.html" target="_blank">http://lists.freedesktop.org/archives/spice-devel/2012-June/009645.html</a><br>
><br>
> And, finally, you actually need someone to do the work. I don't really<br>
> have a sense how much work the qemu side would be. The server code<br>
> seems nicely isolated into snd_worker.c. The client side is likely to<br>
> be fairly straight forward as well.<br>
><br>
> I'm willing to give it the old college try, but I'm going to be out of<br>
> my depth and will likely only work in small bursts here and there. So<br>
> if someone else is planning on working on it, I'll cheerfully stop or<br>
> shift into a supportive role.<br>
><br>
> Also, just so I make all of my evil intentions plain, I want codecs that<br>
> will work in all browsers. So far as I know, Opus is not yet supported<br>
> in IE. So I may try to generalize the structure so I could add Vorbis<br>
> or mp3 down the road.<br>
<br>
Thanks for your reply.<br>
I think that mp3 is a questionably choice since it is not opensource and<br>
has some license fees.<br>
Actually Opus is the only opensource, royalty-free project and that<br>
seems to be very adactive, optimal for both lan and wan.<br>
For what concerning IE, unfortunately IMHO is a bad browser, in<br>
particular in the implementation of the standards.<br>
In the past when I was doing web programming it gave me a lot of<br>
problems, so best bet for a good choice of a decent codec is to leave IE<br>
concernings at all.<br>
Lets focus instead on better implemented web browsers like firefox<br>
and/or chrome instead.<br>
<br>
><br>
> Cheers,<br>
><br>
> Jeremy<br>
> _______________________________________________<br>
> Spice-devel mailing list<br>
> <a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
><br>
><br>
> -----<br>
> Nessun virus nel messaggio.<br>
> Controllato da AVG - <a href="http://www.avg.com" target="_blank">www.avg.com</a><br>
> Versione: 2013.0.3392 / Database dei virus: 3209/6543 - Data di rilascio: 01/08/2013<br>
><br>
><br>
<br>
<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: smime.p7s<br>
Type: application/pkcs7-signature<br>
Size: 4510 bytes<br>
Desc: Firma crittografica S/MIME<br>
URL: <<a href="http://lists.freedesktop.org/archives/spice-devel/attachments/20130805/f1d5b665/attachment.bin" target="_blank">http://lists.freedesktop.org/archives/spice-devel/attachments/20130805/f1d5b665/attachment.bin</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Spice-devel mailing list<br>
<a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
<br>
<br>
End of Spice-devel Digest, Vol 43, Issue 4<br>
******************************************<br>
</blockquote></div><br></div>