How to dewarp fisheye WebRTC streaming in javascript?

I have an AntMedia server with a stream source from a RTSP fisheye camera (Cisco MV32).
I need to consume this broadcast (through WebRTC) from an Angular application, but I need an interactive dewarped view, not the distorted fisheye view.
What are the best practices to accomplish this? What would be the best js plugins?
Thanks in advance.