Removed the remove child call therefore the last video stream was not getting removed.