Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
suddenlytl's avatar
suddenlytl
Honored Guest
7 years ago

Capture Oculus Go screen to Unity

I would like to capture the video footage of a running app in Oculus GO to a server PC in Unity. How do I capture the video from the Oculus Go and send it back to Unity for playback in real time?

2 Replies

Replies have been turned off for this discussion
  • I know you can have the player cameras on both go and the pc server and use a render texture to display the panel on the pc. However this causes to performance to drop drastically due to having to run extra render passes. That's why I am trying to use the oculus go to stream the screen players see as RTSP stream and use the PC to read it.

    I have no luck so far to find a rtsp streaming host method for android screen nor using rtsp stream on server side in Unity.
  • Clip2016's avatar
    Clip2016
    Honored Guest
    It's difficult to find any rtsp streaming example in Unity. However, I found TCP socket streaming solution from Unity forum. It's not a perfect solution but it's good for preview / monitoring and easy to develop. 

    As @@suddenlytl mentioned, the performance will drop a bit if capturing screen using render texture. the only way I tried is reducing resolution & compression quality.