Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

how to change signal server url on the fly?

Discussion in 'Unity Render Streaming' started by chopin1998, Feb 25, 2022.

  1. chopin1998

    chopin1998

    Joined:
    Jan 29, 2019
    Posts:
    20
    Hi, i need use a dynamic signal server, ip and/or port.

    so i need change the url on unity player running (via command line parameters).


    but RenderStreaming class "urlSignaling" is a private type...
     
  2. chopin1998

    chopin1998

    Joined:
    Jan 29, 2019
    Posts:
    20
    ok

    i change the code, public url and awake()

    then in my own code, renderstreaming.stop(); renderstreaming.urlSignaling = xxxx:yyy; renderstreaming.Awake()