The Web Application | Unity Render Streaming | 2.1.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    The Web Application

    The Web application

    • handles signaling between Unity and the Web browser
    • is the location of the Web page

    The Web Client

    The Render Streaming web application uses WebRTC technologies, which means that your browser must also support WebRTC. See this page for details on which browsers support WebRTC.

    The following browsers are compatible:

    Browser Windows Mac iOS Android
    Google Chrome ✅ ✅ ✅
    Safari ✅ ✅
    Firefox ✅
    Microsoft edge (Chromium based) ✅
    Note

    In Safari and iOS Safari, WebRTC features cannot be used with http. Instead, https must be used.

    The Web Server

    Click on Edit/Render Streaming/Download web app menu item to download our web server. After downloading, run it from the command line.

    Launch webserver explorer

    Command Options

    Option Details Default
    -h --help Show the help menu
    -p —port <number> Set the port number 80
    -s --secure Use https
    -k —keyfile <path> Designate the private key file to use with https server.key
    -c —certfile <path> Designate the certification file to use with https server.cert
    -w --websocket Use Websocket as signaling protocol

    Command Examples

    Use the following command to start the server as http. Port 80 will be used.

    .\webserver
    

    This command will run the server as https. Port 443 will be used. A certificate (server.cert) and a key (server.key) must also be set up (details).

    .\webserver -s -p 443
    

    The command will run in the mode that uses WebSocket as the signaling protocol.

    .\webserver -w
    

    When running a https server, keep in mind to set the URL signaling property of the Renderstreaming component in Unity to https as well. Use this command to display the help guide.

    .\webserver -h
    
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023