cybereality/Perception — pull request #41 by DreamNik (2014-09-10 12:58:22+00:00)
Title: Streaming

Hi!
I've been working on adding support for using android phone as VR HMD.

I've added and tested (so far so good) streaming feature that reads back buffer just before presenting, encodes it with FFMPEG library and sends to specified IP address via UDP protocol.

While working with current VireIO project files, I've moved all common configuration propertied (include and library directories, dependency libraries) to file "VireioPerception.props" and included it to every build configuration, so all paths are in one place now.
Even more, I've changed output directory directly to "Program Files" directory, and intermediate directory moved to temp, so solution directory now completely free of any build garbage files.
I like pure and clean project structure :)

For now any video player with network support (VLC,FFMPEG,etc...) are capable of receiving video stream but the latency is very high (1-2s).
In future I will add android project for receiving video stream with minimal delay (it's sort of working now).

If structural changes are acceptable, please merge my work with master.
If not, please comment on what are ok and what not.

Thanks!