This is a cloud mobile(arm64) game's solution. include server and client sdk.
The solution is realization on ROCKCHIP's rk3399 CPU, and run at Androd 9.0 OS.
The solution includes the following features:
- server
- screen video capture
- system play sound capture
- video encode to h264
- audio encode to opus
- remote control: receive client touch events and replay on system
- client
- decode h264 data and draw on screen
- decode opus data and playback
- hook user touch and send to server
- server (need: rk3399, android 9.0)
adb root
adb remount
adb push server/yyq_stream_server /system/xbin/
adb push server/libyscrcapt.so /system/lib64/
adb push server/libyaudiocapt.so /system/lib64/
adb push server/yyq_v_touch.ko /vendor/lib/modules/
adb shell
insmod /vendor/lib/modules/yyq_v_touch.ko
cd /system/xbin/
./yyq_stream_server
- client (any android mobile, need ver > 5.1)
You can any way to push client/app-debug.apk to you android mobile, and install it on your phone.
run the apk, and type your server ip address to input box, and clieck "开始" button.
The apk will connect your server and work.
This is a trial version with run time constraints.
The solution is my own development, I have a full set of source code, if there are manufacturers need, can cooperate.
Other versions of Android system can be transplanted.
If you have any questions, please email me: [email protected]
这是一款云游戏(arm64)的核心解决方案。包括服务器和客户端 sdk。
解决方案是在 ROCKCHIP 的 rk3399 CPU 上实现的,并运行在 Android 9.0 操作系统上。
该解决方案包括以下功能:
- 服务器
- 屏幕视频捕捉
- 系统播放声音捕捉
- 视频编码到 h264
- 音频编码到 opus
- 远程控制:接收客户端触摸事件并在系统上回放
- 客户端
- 解码 h264 数据并绘制到屏幕上
- 解码 opus 数据并回放到扬声器
- 拦截用户触摸事件并将这些事件发送到服务器
- 服务器
adb root
adb remount
adb push server/yyq_stream_server /system/xbin/
adb push server/libyscrcapt.so /system/lib64/
adb push server/libyaudiocapt.so /system/lib64/
adb push server/yyq_v_touch.ko /vendor/lib/modules/
adb shell
insmod /vendor/lib/modules/yyq_v_touch.ko
cd /system/xbin/
./yyq_stream_server
- 客户端
你可以使用任何方法将 client/app-debug.apk 放置到你的手机上,然后安装并运行它。
在程序启动后的输入框中输入你的 server 的 IP 地址,然后点击 "开始" 按钮。
这个客户端程序将会连接你的服务器,然后播放服务器端的音视频,并且传输你的操作到服务器端。
这套方案是我独自开发的,我有全套源码,如果有厂家需要,可以合作。
对于其他版本的安卓系统可以进行移植。
有任何问题可以给我发邮件:[email protected]