Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Question Web App's onmessage Receives Message from Which Unity Example Scene?

Discussion in 'Unity Render Streaming' started by liquify, Jan 12, 2022.

  1. liquify

    liquify

    Joined:
    Dec 9, 2014
    Posts:
    187
    I added an alert inside the onmessage function in the web app's video-player.js, but it is never triggered:

    upload_2022-1-12_15-23-55.png

    I swap the camera in the WebBrowserInput example scene, but it doesn't send any message to the web app nor does it change the video on the web browser. The camera swap will execute the WebBrowserInputSample's OnChangeCamera method below, but it doesn't trigger anything on the web browser:

    upload_2022-1-12_15-32-6.png

    Which Unity example scene or script sends messages into the onmessage function in the web app's video-player.js?