UnityRenderStreaming/WebApp/README_EN.md at develop · polymath-is/UnityRenderStreaming · GitHub
Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.23 KB

File metadata and controls

42 lines (26 loc) · 1.23 KB

Render Streaming WebApp

Implementing the Web Application

The web application source code can be found in the WebApp folder. Node.js must also be installed to use the source code.

Use the following commands to start the web app through Node.js:

npm run build
npm run start

Use this command to display the help guide:

npm run start -- -h

See the documentation for details on the options.

This command will start the server using ts-node:

npm run dev

Distributing the web app

When distributing the web app, the app can be converted into executable binary in order to cut the effort required to set up the environment. Use the following command:

npm run pack

Checking the web API

Render Streaming uses a simple web API for signaling. Postman can be used to check the API.

View a summary of the API by importing WebApp/test/renderstreaming.postman_collection.json in Postman. Operation tests can also be run on the API while the web server is active.