Search code examples
unity-game-enginegoogle-vr

Is it possible to stream in Unity?


I am working in a vr game for Android in unity and it has a quiet large map and many objects to render and my phone doesn't has enough power to run my game so i was thinking that is it possible to stream my game made for desktop pc to my android device inside unity without using any other external software. And also i need to use my phone's gyroscope to control the game.


Solution

  • What you are talking about is called remote rendering. As you said you don't want to use any other external software you will have to decide and implement everything by yourself. The trickiest part in this will be the streaming of the game view to the phone: there are implementations that send every single frame over a TCP connection. If you want to use something external you could investigate into WebRTC implementations like this.

    By the way, what you are trying to achieve is already available as a product, e.g. here