I have a project that decodes mpegts packets and renders the frames to a webGL canvas using FFMpeg. https://github.com/colek42/streamingDemo. Full disclosure much of the client code is copy/pasta from https://github.com/opensensorhub
Edit: add attribution