This looks awesome, and saves someone the headache of trying to setup the VPN, but is not using the nvidia GPU's ability to use hardware encoding which is much faster than going the CPU route in most cases. If someone could adapt that, and open source it, that'd be the game changer that people are looking for to build this sort of stuff.
phoboslab|10 years ago
I wish the industry would just get their act together and support a common video codec in browsers along with a JavaScript API that can deal with decoding single frames. Currently native streaming support for the <video> element in browsers is extremely poor and proposed solutions like MPEG-DASH or HLS add around 10 seconds(!) of latency.
TD-Linux|10 years ago
You will need to include a WebRTC stack in your server though, which is a lot more complicated. But I think you will get better overall performance with it versus TCP - it's what WebRTC was designed for.
Also, you might want to look at ogv.js - if you want to keep going the JS way, it includes a very fast Theora decoder which should still be a lot better than MPEG-1.
barake|10 years ago
[1] https://en.wikipedia.org/wiki/Media_Source_Extensions [2] http://html5-demos.appspot.com/static/media-source.html