16

屏幕共享开源工具-screego

 3 years ago
source link: http://osp.io/archives/6949
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.
neoserver,ios ssh client
屏幕共享开源工具-screego – 开源派

Screego/server 是一款开源的屏幕共享工具,基于Go语言编写,遵守GPL开源协议。支持身份验证,集成了TURN服务方便NAT遍历,方便用户自建便捷的共享屏幕服务器,提供低延迟、高质量的屏幕共享体验。

nt_289241.jpg@596w_1l.jpg

编辑配置文件

“screego.config.example”是包含所有的参考案例。新建一个screego.config,。根据情况进行以下配置:

# 服务器公网IP
SCREEGO_EXTERNAL_IP=X.X.X.X
# 设置密钥,任意随机字符就行
SCREEGO_SECRET=8w6EJ183hqFieprl
# 后续使用nginx反向代理,这里关闭内部的TLS,如果要使用内部的TLS,就true
SCREEGO_SERVER_TLS=false
# 监听端口,之后使用反向代理,这里设置监听在本地
SCREEGO_SERVER_ADDRESS=127.0.0.1:5050
# TURN监听端口
SCREEGO_TURN_ADDRESS=0.0.0.0:3478
# 使用反向代理这里必须启用
SCREEGO_TRUST_PROXY_HEADERS=true
# 参数值all表示所有请求都需要身份验证。如果不需要验证,任何人都可以自由建立房间,改为true
SCREEGO_AUTH_MODE=all
# 修改为使用的域名,记得是https
SCREEGO_CORS_ALLOWED_ORIGINS=https://screego.ExampleDomainName.com
# 日志信息
SCREEGO_LOG_LEVEL=info
# 用于身份验证的文件
SCREEGO_USERS_FILE=user

https://github.com/screego/server


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK