I recently got a pixel and daydream and I had a good idea for a VR app / game that I wanted to create for the The last Over the Air Hackathon. However I am pretty terrible at naming things. Hence ‘third person viewer’. The concept is quite simple: take two phones and use one of them to transmit video to the other. Wearing the receiving phone in a VR headset this gives the user an out of body experience that is both fun and disorientating.
The app is split into two parts, one running the “video” server and the other running the VR.
The code for this app is available on github here. Please note the code is terrible and needs tidying up, so use at your own peril. There were a lot of limitations with regards video transfer, due to the fact low latency was essential to prevent you from throwing up. In the end a jpeg stream is sent over a socket as video encoding produces an unacceptable delay. If you know of any better way of doing this, I’d love to hear from you!