Skip to content

cloud mobile(arm64) game's solution. include server and client sdk

Notifications You must be signed in to change notification settings

jerryyyq/cloud_game_core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloud_game_core

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:

  1. 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
  1. client
  • decode h264 data and draw on screen
  • decode opus data and playback
  • hook user touch and send to server

install description

  1. 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
  1. 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.

Cooperation description

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: yangyuqi@sina.com

云游戏核心解决方案

这是一款云游戏(arm64)的核心解决方案。包括服务器和客户端 sdk。
解决方案是在 ROCKCHIP 的 rk3399 CPU 上实现的,并运行在 Android 9.0 操作系统上。

该解决方案包括以下功能:

  1. 服务器
  • 屏幕视频捕捉
  • 系统播放声音捕捉
  • 视频编码到 h264
  • 音频编码到 opus
  • 远程控制:接收客户端触摸事件并在系统上回放
  1. 客户端
  • 解码 h264 数据并绘制到屏幕上
  • 解码 opus 数据并回放到扬声器
  • 拦截用户触摸事件并将这些事件发送到服务器

安装说明

  1. 服务器
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
  1. 客户端
    你可以使用任何方法将 client/app-debug.apk 放置到你的手机上,然后安装并运行它。
    在程序启动后的输入框中输入你的 server 的 IP 地址,然后点击 "开始" 按钮。
    这个客户端程序将会连接你的服务器,然后播放服务器端的音视频,并且传输你的操作到服务器端。

合作说明

这套方案是我独自开发的,我有全套源码,如果有厂家需要,可以合作。
对于其他版本的安卓系统可以进行移植。
有任何问题可以给我发邮件:yangyuqi@sina.com

About

cloud mobile(arm64) game's solution. include server and client sdk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published