facebook twitter hatena line email

「Unity/PC画面投影/Electron」の版間の差分

提供: 初心者エンジニアの簡易メモ
移動: 案内検索
行45: 行45:
 
対応方法
 
対応方法
 
  npm install
 
  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のipを変更。
 +
 +
繋がらず・・・

2023年12月27日 (水) 15:55時点における版

(未完成)起動はできてない。

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のipを変更。

繋がらず・・・