Releas androidSpice-0.1.3

作者发布了实验性的Android平台Spice客户端源代码,并邀请社区改进。该客户端包含数据层和UI层,使用了静态链接的libspicec.so库,并通过UNIX套接字与Java UI层进行通信。目前存在一些问题,包括音频和图像输出限制及JPEG压缩直接传输等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Hi,all!
   I'm happy to release the experimental androidSpice under LGPL,welcome to improve!
   The source and wiki now dwell in google code site here:
http://code.google.com/p/spice-client-android/
   All introductions of porting can be found or redirected in the wiki page and my previous blogs about libspicec.so porting.

   The structure of androidSpice:
1.Data layer,extracted from spice-gtk-0.5, the main logic and data transportation/proccessing of spice protocol,along with all its dependencies,built statically into libspicec.so
2.Data layer will add two new threads in android-worker.c for the I/O with Java UI layer via UNIX-sockets(see the PROBLEMS below)
3.UI layer,rewritten in Java. Output the Images and capture user-input events and communicate with libspicec.so.
  
PROBLEMS:

"The damned greatest obstacle I've faced in the porting lies in the structure of Android itself:It has no(at least for version<2.3 ) exposed audio/image output and input API for C(only Java!)! So I have to transport all the fixed data got from spice-server to Java layer by adding two new threads to handle the I/O communication with Java UI via two UNIX-sockets,that's the leg-drawing of speed. Besides, quic.c in client is buggy of SIGBUS or SIGSEGV on android(anyone can fix it?thx!),I have no better way but to force use of JPEG compression in server and the client will send jpeg data directly to Java UI for output, it's queer and should be condemned('cause Spice's value is in the image processing ability)"

So now It just WORKS,but works badly, the first untolerable bug is this

Bug 1:If press fast on the device the spice-server as well as the android-spice-client will be choked and no image updates will be sent out from server.
I'm still working on this bug,I need help!
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值