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. Let us know your feedback about the Global Illumination changes in the 2023.2 beta.
    Dismiss Notice
  3. Dismiss Notice

How to toggle streaming from a button at web page?

Discussion in 'Unity Render Streaming' started by vrSim_NRT, Jul 20, 2023.

  1. vrSim_NRT

    vrSim_NRT

    Joined:
    Feb 8, 2022
    Posts:
    2
    Hi,
    I am new to this package. Looking out for some help regarding the same.
    What are the correct methods of signaling to turn on and off render streaming in unity by pressing a button at web client end. I have tried using signallingManager.Run() and signallingManager.Stop() but that doesn't work once stop then video goes away and play button appears. And clicking on play button does not start the streaming once again. I could see the streaming on/off buttons but blank screen at video panel.

    Please help me with the issue. Thanks in advance!
    Pooja Garg
     
  2. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    762
    SignalingManager doesn't have APIs to stop video streaming. How about VideoStreamSender.enabled?