- Home /
Live screen share Unity3D
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 !
I did go through that when browsing, I am think how bad the latency will be? Will it lag if I capture every other frame and send it over network?
Hi @Shrikky23, Sorry for posting on an old thread.
Have you found a way to implement as intended by you?? If yes, how. I am also struggling to find the same.
Answer by thelghome · Jun 09, 2020 at 10:11 AM
FMETP STREAM is low latency Game View Sharing solution.
It’s also cross platforms.
Answer by WheresMommy · Nov 29, 2019 at 11:11 AM
Did you think about not using Unity for this? So if you have a server, cant you just use software like OBS to capture your screen and then use your client and a webfeed to get the image back?