Hello,
I have a networked game, My server is a VR player who has all the gameplay scenes. He does basic things like moving around, picking up stuff etc.
My client is an UI player with a handheld device that has Radar and other information to help the player in the server.
Server : - I need to screen capture and stream it to my Client.
Client - Has UI and also has a video feed box of size 640x480 where I want to feed in what my Player is seeing in his camera, a pure gameplay feed live streamed.
Please tell me a good way to do it and any reference link.
My thought process :
1. I tried using Render texture, but I can't sync it or send it using command/RPC
2. I believe I need to somehow capture all the bytes from the render texture and compress it to 640x480 before I can send the byte array over network.
Thank you in advance for your help !
↧