MacOS利用Moonlight + Sunshine实现超低延迟推流

Moonlight 官网:https://moonlight-stream.org/
虚拟显示器:https://github.com/nomi-san/parsec-vdd

备注:
虚拟显示器没有尝试使用,推荐使用显卡欺骗器。
显卡欺骗器功能:插在电脑上后,电脑会误以为连接了一台显示器,自动创建出来一个虚拟显示器。

Sunshine官网:https://app.lizardbyte.dev/Sunshine/?lng=en#Download

通过brew启动命令:brew services start lizardbyte/homebrew/sunshine
通过brew停止命令:brew services stop lizardbyte/homebrew/sunshine
通过brew前台启动命令:/opt/homebrew/opt/sunshine/bin/sunshine /Users/xxx/.config/sunshine/sunshine.conf

问题记录:

  1. 执行:brew services start lizardbyte/homebrew/sunshine,报错:
Error: uninitialized constant Homebrew::Service::System
/opt/homebrew/Library/Taps/homebrew/homebrew-services/cmd/services.rb:61:in `services'
/opt/homebrew/Library/Homebrew/brew.rb:94:in `public_send'
/opt/homebrew/Library/Homebrew/brew.rb:94:in `<main>'
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/homebrew/homebrew-services/issues/new

解决办法:

brew update
brew upgrade
brew untap homebrew/services
brew tap homebrew/services
brew services start lizardbyte/homebrew/sunshine

成功启动日志:

Successfully started `sunshine` (label: homebrew.mxcl.sunshine)

启动sunshine命令:sunshine
访问地址:https://localhost:47990/

注意:设置用户名和密码后,自己记录下来,不要忘记了

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容