7

游戏串流折腾——Moonlight/Limelight

 3 years ago
source link: https://xiaix.me/you-xi-chuan-liu-zhe-teng-yi-moonlight-limelight/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

游戏串流折腾——Moonlight/Limelight

发表于 2019-02-26   |   标签   |  

前言:闲得无聊折腾了,把平板刷成了linux,装工具啥的是方便了,但是玩游戏又麻烦了,研究了下游戏串流,这块教程也不少。

准备工作:

硬件:一块Nvidia的显卡(中高端,一般推荐gtx1060以上的)
软件
geforce experience beta:https://www.nvidia.com/en-us/geforce/geforce-experience/beta/
注意一定要beta版本,最好手动去官网下载后安装,nvidia自动升级会升级成正式版,没有了串流功能(大坑)

moonlight:https://moonlight-stream.org/#
for windows:https://github.com/moonlight-stream/moonlight-qt/releases
for linux:https://snapcraft.io/moonlight
for android:google商店,国内可以使用apkmirror上搜索moonlight直接下载apk

接下来,安装moonlight,界面如下

能看到除Add PC以外的机器就表示串流服务器(有Nvidia显卡的主机)已经在线可以连接进行串流了
在客户端比如android设备上也有类似界面

同时在串流服务器上输入对应的pin码即可进行串流,这样手机就能玩pc游戏!

这是在同一局域网子网内进行的操作,那么有没有更高端的远程玩法?
以下两个方案推荐:
1.申请公网ip(不太安全,nvidia的gamestream就是一个开放的udp服务器)
2.搭建vpn(我使用的方法),在国内云上建立一个Openvpn的服务器,然后需要时,将服务器主机和客户端设备连入vpn中的子网内,就可以进行串流!(移动网不推荐,延迟太高且不稳定)
vpn我参考的是以下文档
https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-debian-9
先告一段落,后续使用效果和遇到问题再补充。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK