I am trying to build an application which can consume a video source(could be from webcam or an offline video) and stream it in real-time to a web-page. I have been successf