diff --git a/stream.md b/stream.md index cf7989c..a04a7bc 100644 --- a/stream.md +++ b/stream.md @@ -1,2 +1,24 @@ -pixel streaming +[pixel streaming](https://dev.epicgames.com/documentation/ja-jp/unreal-engine/unreal-engine-pixel-streaming-reference) +```sh +# https://github.com/EpicGamesExt/PixelStreamingInfrastructure +$ cd ~/github/PixelStreamingInfrastructure/Matchmaker/platform_scripts/cmd/ +$ ./setup.bat +$ ./run.bat +# https://dev.epicgames.com/documentation/ja-jp/unreal-engine/unreal-engine-pixel-streaming-reference +# --HttpPort 90 +# --MatchmakerPort 9999 + +# Signaling and Web サーバーに対する次のコンフィギュレーション パラメータを設定します。 +$ cd ~/github/PixelStreamingInfrastructure/SignallingWebServer/platform_scripts/cmd/ +$ ./setup.bat +$ ./Start_SignallingServer_nopublic.ps1 --UseMatchmaker true --MatchmakerAddress 127.0.0.1 --MatchmakerPort 9999 --PublicIp localhost --HttpPort 80 +``` + +基本的にはweb uiで各ユーザーが使用するStreamerIdを選択して別々のstackにアクセスします。 + +urlは`http://127.0.0.1/?StreamerId=DefaultStreamer, http://127.0.0.1/?StreamerId=DefaultStreamer1`という形になります。このidは起動しているアプリの数だけ生成されます。 + +ただ、アプリの起動数が多すぎるとserverの負荷が大きくなります。 + +これを外部につなげる場合は[cloudflare tunnel](https://www.cloudflare.com/ja-jp/products/tunnel/)などを使いましょう。 \ No newline at end of file