Autoplay stream in browser

I am developing an app that is meant as an instructors controller for unity runtime scenarios. The app is built in qt and has an embedded browser in one of its screens. I would like that stream to “start” as soon as the app is launched. I understand that I need the web app to launch with my program, but where in the web app source code would I make a change to set the stream to “autoplay”, as opposed to having to click on the play button before it will play the stream?

Thanks in advance!

The play button implementation is below.
https://github.com/Unity-Technologies/UnityRenderStreaming/blob/main/WebApp/client/public/receiver/js/main.js#L67

It’s a button that initiates signaling rather than actually playing the video.

Thanks for pointing me in the right direction. I was able to figure out how to make this work, and then had to adjust chrome to allow for autplay.

1 Like