real-time camera in viewport

I think this link may be of use to you: