I have recently started a new project, which includes multiplayer features. So far it was working great, but after a longer discussion with people involved in the project, we came to conclusion that we need a better way of “streaming” the game to people. So thus the question:
How to stream a built game, i.e. running on a VPS, to html, an iframe or other web players? Afterwards, I am planning on just getting the iframe from that ip address and making another client on Unity play it realtime, both securing the game and also limiting the bandwidth required to sync the game with thousands of players.
Any ideas?
I am already trying Unity Render Streaming, but it does not want to work.
FM STREAM package does sound like a good start, but it is a paid thing, whereas I am making a nonprofit, fun project to start with.
I meant more like a “game” that is just streamed to another client, and only the feed. The feed is the only thing being sent to the client, whereas all of the actions that clients do would be sent directly to the server, and worked on there (put into database, etc.) What I am trying to achieve is a simple streaming of the game on a VPS, so that many people could watch it at the same time, synced up - not play it. Something like livestreams on YouTube, but received on another Unity client and just displayed there.
You would basically be making what the Rovio Hatch platform does:
I have no further advice but to get started and start small and get a single piece of data streamed and mirrored over your networking infrastructure first, such as just the integer score value, and work your way up from there.