Get video stream from QGroundControl

I am working on a target tracking program for QGroundControl. I already have the image tracking part ready but I can only use it on saved videos. Would it be possible to find the path of the camera? If so, where can I find it?