How to obtain a camera stream from Unity without rendering it to the player's screen?

Posted by aiguy on Game Development See other posts from Game Development or by aiguy
Published on 2013-02-21T06:57:12Z Indexed on 2014/05/27 3:44 UTC
Read the original article Hit count: 132

Filed under:

I'd like to stream the output of two cameras to a separate process. Right now, it looks like the best way to do that is to grab the rendered camera views from the screen via platform specific screen capture hooks then compress them real time with h.264. Is there a way to grab the input of the cameras within unity and avoid rendering them to the screen?

One solution I'm considering involves using Unity's multiplayer capability to run the game on a separate machine and grab it from that screen buffer, unbeknownst to the player.

© Game Development or respective owner