https://stackoverflow.com/questions/23011302/best-approach-to-get-rtsp-streaming-into-web-browser-from-ip-camera
https://github.com/phoboslab/jsmpeg
git clone https://github.com/phoboslab/jsmpeg.git
#'node websocket-relay.js <secret> [<stream-port> <websocket-port>]'
node websocket-relay.js secret 9999 9998
ffmpeg \
-i rtsp://<user>:<password>@<ip>//<channel> \
-f mpegts -c:v mpeg1video -s 800x600 -r 30 -b:v 1000k -bf 0 \
http://localhost:9999/secret
View on view-stream.html
Caveats
Uncaught RuntimeError: memory access out of bounds https://github.com/phoboslab/jsmpeg/issues/303 new JSMpeg.Player(url, {canvas: canvas,videoBufferSize: 102410248});