I used JSMPEG to process a live 360 camera feed and then a canvas to convert the output to the format to work with a google cardboard.
I was pleasantly surprised with the quality of the output and speed of which the devices could decode and render the new output.