Unity/PC画面投影/Electron
提供: 初心者エンジニアの簡易メモ
(未完成)起動はできてない。
目次
[非表示]quest-rdpのelectron
https://qiita.com/ShinYoshiaki/items/897bc3e3f09a2fee335b
github(https://github.com/shinyoshiaki/quest-rdp)
配信側実行準備
package.json
"engines": { "node": "10.16.0" },
以下を実行しnodeバージョンをv10.16.0へ
$ nvm install v10.16.0 $ nvm use v10.16.0 $ node --version v10.16.0
以下を実行しPythonバージョンをv2.7.18へ
$ pyenv install 2.7.18 Installed Python-2.7.18 $ pyenv local 2.7.18 $ python -V Python 2.7.18
配信側実行
cd electron npm install npm install robotjs npm update npm start
cross-envが見つからないエラー
エラー詳細
sh: cross-env: command not found
対応方法
npm install
quest-rdpのelectronのバイナリ
https://github.com/shinyoshiaki/quest-rdp/releases streamer.zipをDL
macだと、xamarinが動いてしまうが、windowsだと、動作する。
quest-viewのunityサンプル
https://github.com/shinyoshiaki/quest-view
https://github.com/neuecc/UniRx/releases unirx をインストール
WebSocket がオープンしないエラー
エラー詳細
InvalidOperationException: The current state of the connection is not Open.WebSocketSharp.WebSocket.Send
SampleScene.unityのLogicのInspectorのExampleのIpAddressを変更してみると良さそうだったが・・・
繋がらず・・・